summaryrefslogtreecommitdiffstats
path: root/skia
diff options
context:
space:
mode:
authorevanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-16 19:28:06 +0000
committerevanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-16 19:28:06 +0000
commitb91902d2d0822efddcc04d7feecbe26704e4f0d2 (patch)
tree5ea178b825f69ef64272d29507a14b7d8f2cf54e /skia
parent8f113df07aaca851457ba19602f01087e520f4df (diff)
downloadchromium_src-b91902d2d0822efddcc04d7feecbe26704e4f0d2.zip
chromium_src-b91902d2d0822efddcc04d7feecbe26704e4f0d2.tar.gz
chromium_src-b91902d2d0822efddcc04d7feecbe26704e4f0d2.tar.bz2
Unignore most warnings on POSIX in build/SConscript.main.
BUG=2053 Patch from Paweł Hajdan jr <phajdan.jr@gmail.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2272 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia')
-rw-r--r--skia/SConscript5
1 files changed, 2 insertions, 3 deletions
diff --git a/skia/SConscript b/skia/SConscript
index a646836..74723d4 100644
--- a/skia/SConscript
+++ b/skia/SConscript
@@ -37,9 +37,8 @@ if env['PLATFORM'] == 'win32':
],
)
elif env['PLATFORM'] in ('posix', 'darwin'):
- if '-Wall' in env['CCFLAGS']:
- # We're not responsible for bad warning hygiene in this third party code.
- env['CCFLAGS'].remove('-Wall')
+ # Because images/SkStream.cpp has len asserts.
+ env['CXXFLAGS'].append('-Wno-unused-variable')
input_files = [
'animator/SkTime.cpp',