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

Unified Diff: media/media_lib.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 | « chrome/tools/test/image_diff/image_diff.scons ('k') | media/media_unittests.scons » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/media_lib.scons
===================================================================
--- media/media_lib.scons (revision 7247)
+++ media/media_lib.scons (working copy)
@@ -29,19 +29,19 @@
'base/media_format.cc',
]
-if env['PLATFORM'] == 'win32':
+if env.Bit('windows'):
input_files.extend([
])
-if env['PLATFORM'] == 'darwin':
+if env.Bit('mac'):
input_files.extend([
])
-if env['PLATFORM'] == 'posix':
+if env.Bit('linux'):
input_files.extend([
])
-if env['PLATFORM'] in ('darwin', 'posix'):
+if env.Bit('posix'):
input_files.extend([
])
« no previous file with comments | « chrome/tools/test/image_diff/image_diff.scons ('k') | media/media_unittests.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698