summaryrefslogtreecommitdiffstats
path: root/third_party/class-dump
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2016-01-01 13:54:36 -0500
committerNico Weber <thakis@chromium.org>2016-01-01 18:56:37 +0000
commitde5c041e67fa5abee83359b9346ca4896f1723ca (patch)
tree5ff2a60d7b344358bb6b8627a349f16dae1d3dc9 /third_party/class-dump
parenta327e33b6aea0a6971bc4d737b197f1b5194ce85 (diff)
downloadchromium_src-de5c041e67fa5abee83359b9346ca4896f1723ca.zip
chromium_src-de5c041e67fa5abee83359b9346ca4896f1723ca.tar.gz
chromium_src-de5c041e67fa5abee83359b9346ca4896f1723ca.tar.bz2
mac and ios: Build third-party code with -Wall.
This lands the mac and ios build/common.gypi bits of https://codereview.chromium.org/1551753002/ (reviewed there) BUG=573250 R=thestig@chromium.org TBR=thestig@chromium.org Committed: https://crrev.com/9830789346abd3d8211deff1ebe7a7f5753ba3fc Cr-Commit-Position: refs/heads/master@{#367255} Review URL: https://codereview.chromium.org/1555843002 . Cr-Commit-Position: refs/heads/master@{#367263}
Diffstat (limited to 'third_party/class-dump')
-rw-r--r--third_party/class-dump/class-dump.gyp6
1 files changed, 6 insertions, 0 deletions
diff --git a/third_party/class-dump/class-dump.gyp b/third_party/class-dump/class-dump.gyp
index 876f3a5..be24b30 100644
--- a/third_party/class-dump/class-dump.gyp
+++ b/third_party/class-dump/class-dump.gyp
@@ -168,6 +168,12 @@
'src/Source/ULEB128.m',
'src/Source/cd_objc2.h',
],
+ 'variables': {
+ 'clang_warning_flags': [
+ # e.g. CDRebaseTypeDescription in CDLCDyldInfo.m
+ '-Wno-unused-function',
+ ],
+ },
'link_settings': {
'libraries': [
'$(SDKROOT)/System/Library/Frameworks/Foundation.framework',