diff options
author | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-16 19:13:36 +0000 |
---|---|---|
committer | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-16 19:13:36 +0000 |
commit | 076cf937e749accf72df8b280d15e5121accc8af (patch) | |
tree | fbb4995b99bd0224dd038625d5bc668b3302d229 /base/base.gypi | |
parent | 94cc4f8e4029c2506fcf1e8d0f225e547e2f6553 (diff) | |
download | chromium_src-076cf937e749accf72df8b280d15e5121accc8af.zip chromium_src-076cf937e749accf72df8b280d15e5121accc8af.tar.gz chromium_src-076cf937e749accf72df8b280d15e5121accc8af.tar.bz2 |
Set chromium_code = 0 on base.gyp:symbolize and base.gyp:xdg_mime.
BUG=35588
TEST=Linux build; these targets should compile without warnings
Review URL: http://codereview.chromium.org/601061
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39111 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/base.gypi')
-rw-r--r-- | base/base.gypi | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/base/base.gypi b/base/base.gypi index 7e1fbf6..9cd768b 100644 --- a/base/base.gypi +++ b/base/base.gypi @@ -576,12 +576,13 @@ ], }], [ 'OS == "linux" or OS == "freebsd"', { - # TODO: these third-party targets should be in a separate .gyp file - # so it can set chromium_code=0 to turn off our aggressive warnings. 'targets': [ { 'target_name': 'symbolize', 'type': '<(library)', + 'variables': { + 'chromium_code': 0, + }, 'cflags': [ '-Wno-sign-compare', ], @@ -596,6 +597,9 @@ { 'target_name': 'xdg_mime', 'type': '<(library)', + 'variables': { + 'chromium_code': 0, + }, 'cflags!': [ '-Wextra', ], |