diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-08 22:19:00 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-08 22:19:00 +0000 |
commit | ec1d155be1635c784b91e340b6ef71339ba6d852 (patch) | |
tree | e6fd54d09fc75e20f038d193163f72eea5143b10 /build | |
parent | 3ae825526a144d0b4cd03ed3d945fcf2e59c51d9 (diff) | |
download | chromium_src-ec1d155be1635c784b91e340b6ef71339ba6d852.zip chromium_src-ec1d155be1635c784b91e340b6ef71339ba6d852.tar.gz chromium_src-ec1d155be1635c784b91e340b6ef71339ba6d852.tar.bz2 |
linux: don't show deprecation warnings in third-party code
When building e.g. the protocol compiler, don't show warnings
about using hash_map. ffmpeg also has similar deprecated
API warnings.
Review URL: http://codereview.chromium.org/6462008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74187 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r-- | build/common.gypi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi index bd35a89..e385570 100644 --- a/build/common.gypi +++ b/build/common.gypi @@ -669,6 +669,10 @@ '-Wextra', '-Werror', ], + 'cflags': [ + # Don't warn about hash_map in third-party code. + '-Wno-deprecated', + ], }], [ 'OS=="win"', { 'defines': [ |