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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/tools/test/image_diff/image_diff.scons ('k') | media/media_unittests.scons » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 __doc__ = """ 5 __doc__ = """
6 Configuration for building media.lib / libmedia.a. 6 Configuration for building media.lib / libmedia.a.
7 """ 7 """
8 8
9 Import('env') 9 Import('env')
10 10
(...skipping 11 matching lines...) Expand all
22 ], 22 ],
23 ) 23 )
24 24
25 # These net files work on *all* platforms; files that don't work 25 # These net files work on *all* platforms; files that don't work
26 # cross-platform live below. 26 # cross-platform live below.
27 input_files = [ 27 input_files = [
28 'base/data_buffer.cc', 28 'base/data_buffer.cc',
29 'base/media_format.cc', 29 'base/media_format.cc',
30 ] 30 ]
31 31
32 if env['PLATFORM'] == 'win32': 32 if env.Bit('windows'):
33 input_files.extend([ 33 input_files.extend([
34 ]) 34 ])
35 35
36 if env['PLATFORM'] == 'darwin': 36 if env.Bit('mac'):
37 input_files.extend([ 37 input_files.extend([
38 ]) 38 ])
39 39
40 if env['PLATFORM'] == 'posix': 40 if env.Bit('linux'):
41 input_files.extend([ 41 input_files.extend([
42 ]) 42 ])
43 43
44 if env['PLATFORM'] in ('darwin', 'posix'): 44 if env.Bit('posix'):
45 input_files.extend([ 45 input_files.extend([
46 ]) 46 ])
47 47
48 env.ChromeStaticLibrary('media', input_files) 48 env.ChromeStaticLibrary('media', input_files)
OLDNEW
« 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