aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/public_headers_warnings_check.cpp
diff options
context:
space:
mode:
authorGravatar Mike Klein <mtklein@chromium.org>2016-11-16 12:13:44 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2016-11-16 19:27:29 +0000
commit50500ad470af3d82c68144fec7e55c9cdffb5d98 (patch)
treeed2003a12bed7f13a55466a88ce6d59d87f26947 /tools/public_headers_warnings_check.cpp
parenta8f0002f0c2f23167f1e6b3ae3f77d3c7768cac3 (diff)
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 <djsollen@google.com> Commit-Queue: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'tools/public_headers_warnings_check.cpp')
-rw-r--r--tools/public_headers_warnings_check.cpp8
1 files changed, 8 insertions, 0 deletions
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"