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 base_gfx.lib / libbase_gfx.a. | 6 Configuration for building base_gfx.lib / libbase_gfx.a. |
7 """ | 7 """ |
8 | 8 |
9 Import('env') | 9 Import('env') |
10 | 10 |
(...skipping 14 matching lines...) Expand all Loading... |
25 ) | 25 ) |
26 | 26 |
27 input_files = [ | 27 input_files = [ |
28 'gdi_util.cc', | 28 'gdi_util.cc', |
29 'native_theme.cc', | 29 'native_theme.cc', |
30 'png_decoder.cc', | 30 'png_decoder.cc', |
31 'png_encoder.cc', | 31 'png_encoder.cc', |
32 'point.cc', | 32 'point.cc', |
33 'rect.cc', | 33 'rect.cc', |
34 'size.cc', | 34 'size.cc', |
35 'skia_utils.cc', | |
36 ] | 35 ] |
37 | 36 |
38 if env['PLATFORM'] in ('posix', 'darwin'): | 37 if env['PLATFORM'] in ('posix', 'darwin'): |
39 # Remove files that still need to be ported from the input_files list. | 38 # Remove files that still need to be ported from the input_files list. |
40 # TODO(port): delete files from this list as they get ported. | 39 # TODO(port): delete files from this list as they get ported. |
41 to_be_ported_files = [ | 40 to_be_ported_files = [ |
42 'gdi_util.cc', | 41 'gdi_util.cc', |
43 'native_theme.cc', | 42 'native_theme.cc', |
44 'skia_utils.cc', | |
45 ] | 43 ] |
46 for remove in to_be_ported_files: | 44 for remove in to_be_ported_files: |
47 input_files.remove(remove) | 45 input_files.remove(remove) |
48 | 46 |
49 if env['PLATFORM'] == 'win32': | 47 if env['PLATFORM'] == 'win32': |
50 input_files.extend([ | 48 input_files.extend([ |
51 ]) | 49 ]) |
52 elif env['PLATFORM'] == 'posix': | 50 elif env['PLATFORM'] == 'posix': |
53 input_files.extend([ | 51 input_files.extend([ |
54 ]) | 52 ]) |
55 | 53 |
56 env.ChromeStaticLibrary('base_gfx', input_files) | 54 env.ChromeStaticLibrary('base_gfx', input_files) |
OLD | NEW |