From 50500ad470af3d82c68144fec7e55c9cdffb5d98 Mon Sep 17 00:00:00 2001 From: Mike Klein Date: Wed, 16 Nov 2016 12:13:44 -0500 Subject: GN: add public headers warnings check. We already generate skia.h to include all public headers for Fiddle. This just includes it with -Wunused-parameter turned on as an error. GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4901 Change-Id: Ia55a901c09a3c9c9d6d35a43259431dba3532ed9 Reviewed-on: https://skia-review.googlesource.com/4901 Reviewed-by: Derek Sollenberger Commit-Queue: Mike Klein --- tools/public_headers_warnings_check.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 tools/public_headers_warnings_check.cpp (limited to 'tools/public_headers_warnings_check.cpp') diff --git a/tools/public_headers_warnings_check.cpp b/tools/public_headers_warnings_check.cpp new file mode 100644 index 0000000000..20573f6052 --- /dev/null +++ b/tools/public_headers_warnings_check.cpp @@ -0,0 +1,8 @@ +/* + * Copyright 2016 Google Inc. + * + * Use of this source code is governed by a BSD-style license that can be + * found in the LICENSE file. + */ + +#include "skia.h" -- cgit v1.2.3