summaryrefslogtreecommitdiffstats
path: root/media
diff options
context:
space:
mode:
Diffstat (limited to 'media')
-rw-r--r--media/media_lib.scons8
-rw-r--r--media/media_unittests.scons2
2 files changed, 5 insertions, 5 deletions
diff --git a/media/media_lib.scons b/media/media_lib.scons
index cfb108c..a5d26dd 100644
--- a/media/media_lib.scons
+++ b/media/media_lib.scons
@@ -29,19 +29,19 @@ input_files = [
'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([
])
diff --git a/media/media_unittests.scons b/media/media_unittests.scons
index f7c1ba4..22b1ecf 100644
--- a/media/media_unittests.scons
+++ b/media/media_unittests.scons
@@ -23,7 +23,7 @@ env.Prepend(
],
)
-if env['PLATFORM'] == 'win32':
+if env.Bit('windows'):
env.Prepend(
CCFLAGS = [
'/TP',