Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(192)

Unified Diff: third_party/bspatch/bspatch.scons

Issue 15051: Convert from using env['PLATFORM'] directly to using the more flexible... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « testing/SConscript.gtest ('k') | third_party/bzip2/bzip2.scons » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/bspatch/bspatch.scons
===================================================================
--- third_party/bspatch/bspatch.scons (revision 7247)
+++ third_party/bspatch/bspatch.scons (working copy)
@@ -10,14 +10,14 @@
'$LZMA_SDK_DIR/using_lzma_sdk.scons',
])
-if env['PLATFORM'] == 'win32':
+if env.Bit('windows'):
env.Append(
CCFLAGS = [
'/TP',
'/wd4800',
],
)
-elif env['PLATFORM'] == 'posix':
+elif env.Bit('linux'):
# We're not responsible for bad warning hygiene in this third party code.
env.FilterOut(
CXXFLAGS = ['-Wall'],
« no previous file with comments | « testing/SConscript.gtest ('k') | third_party/bzip2/bzip2.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698