diff options
author | mtklein@google.com <mtklein@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-11-20 15:13:49 +0000 |
---|---|---|
committer | mtklein@google.com <mtklein@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-11-20 15:13:49 +0000 |
commit | f1077f916427c99bdec655da4c3b9eea70423685 (patch) | |
tree | 536610a55d61054d4b3478454779747b7d8a436c /platform_tools | |
parent | f7159bba8efc13f6b3a9a86e92b48451b6aa8073 (diff) |
Add extra warnings to match what Android uses.
R=mtklein@google.com
Committed: https://code.google.com/p/skia/source/detail?r=12310
Review URL: https://codereview.chromium.org/74193005
git-svn-id: http://skia.googlecode.com/svn/trunk@12314 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'platform_tools')
-rw-r--r-- | platform_tools/android/gyp/dependencies.gypi | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/platform_tools/android/gyp/dependencies.gypi b/platform_tools/android/gyp/dependencies.gypi index 82763bea11..bb0db7184b 100644 --- a/platform_tools/android/gyp/dependencies.gypi +++ b/platform_tools/android/gyp/dependencies.gypi @@ -42,9 +42,7 @@ '../third_party/externals/expat/lib', ], 'cflags': [ - '-Wall', - '-Wmissing-prototypes', - '-Wstrict-prototypes', + '-w', '-fexceptions', '-DHAVE_EXPAT_CONFIG_H', ], @@ -66,12 +64,9 @@ '../third_party/externals/gif', ], 'cflags': [ - '-Wno-format', + '-w', '-DHAVE_CONFIG_H', ], - 'cflags!': [ - '-Wall', - ], 'direct_dependent_settings': { 'include_dirs': [ '../third_party/externals/gif', @@ -104,11 +99,9 @@ '../third_party/externals/png', ], 'cflags': [ + '-w', '-fvisibility=hidden', ], - 'cflags!': [ - '-Wall', - ], 'link_settings': { 'libraries': [ '-lz', |