OLD | NEW |
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 Loading... |
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) |
OLD | NEW |