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 24 matching lines...) Expand all Loading... |
35 'convolver.cc', | 35 'convolver.cc', |
36 'gdi_util.cc', | 36 'gdi_util.cc', |
37 'image_operations.cc', | 37 'image_operations.cc', |
38 'native_theme.cc', | 38 'native_theme.cc', |
39 'png_decoder.cc', | 39 'png_decoder.cc', |
40 'png_encoder.cc', | 40 'png_encoder.cc', |
41 'point.cc', | 41 'point.cc', |
42 'rect.cc', | 42 'rect.cc', |
43 'size.cc', | 43 'size.cc', |
44 'skia_utils.cc', | 44 'skia_utils.cc', |
45 'vector_canvas.cc', | |
46 'vector_device.cc', | |
47 ] | 45 ] |
48 | 46 |
49 if env['PLATFORM'] in ('posix', 'darwin'): | 47 if env['PLATFORM'] in ('posix', 'darwin'): |
50 # Remove files that still need to be ported from the input_files list. | 48 # Remove files that still need to be ported from the input_files list. |
51 # TODO(port): delete files from this list as they get ported. | 49 # TODO(port): delete files from this list as they get ported. |
52 to_be_ported_files = [ | 50 to_be_ported_files = [ |
53 'gdi_util.cc', | 51 'gdi_util.cc', |
54 'native_theme.cc', | 52 'native_theme.cc', |
55 'skia_utils.cc', | 53 'skia_utils.cc', |
56 'vector_canvas.cc', | |
57 'vector_device.cc', | |
58 ] | 54 ] |
59 for remove in to_be_ported_files: | 55 for remove in to_be_ported_files: |
60 input_files.remove(remove) | 56 input_files.remove(remove) |
61 | 57 |
62 if env['PLATFORM'] == 'win32': | 58 if env['PLATFORM'] == 'win32': |
63 input_files.extend([ | 59 input_files.extend([ |
64 'bitmap_platform_device_win.cc', | |
65 'platform_canvas_win.cc', | |
66 'platform_device_win.cc', | |
67 ]) | 60 ]) |
68 elif env['PLATFORM'] == 'posix': | 61 elif env['PLATFORM'] == 'posix': |
69 input_files.extend([ | 62 input_files.extend([ |
70 'bitmap_platform_device_linux.cc', | |
71 'platform_canvas_linux.cc', | |
72 'platform_device_linux.cc', | |
73 ]) | 63 ]) |
74 | 64 |
75 env.ChromeStaticLibrary('base_gfx', input_files) | 65 env.ChromeStaticLibrary('base_gfx', input_files) |
OLD | NEW |