| 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 |
| 11 env = env.Clone() | 11 env = env.Clone() |
| 12 | 12 |
| 13 env.SConscript([ | 13 env.SConscript([ |
| 14 '$ICU38_DIR/using_icu38.scons', | 14 '$ICU38_DIR/using_icu38.scons', |
| 15 '$LIBPNG_DIR/using_libpng.scons', | 15 '$LIBPNG_DIR/using_libpng.scons', |
| 16 '$SKIA_DIR/using_skia.scons', | 16 '$SKIA_DIR/using_skia.scons', |
| 17 '$ZLIB_DIR/using_zlib.scons', | 17 '$ZLIB_DIR/using_zlib.scons', |
| 18 ], {'env':env}) | 18 ], {'env':env}) |
| 19 | 19 |
| 20 env.Prepend( | 20 env.Prepend( |
| 21 CPPPATH = [ | 21 CPPPATH = [ |
| 22 '$ROOT_DIR', | 22 '$CHROME_SRC_DIR', |
| 23 ], | 23 ], |
| 24 ) | 24 ) |
| 25 | 25 |
| 26 if env['PLATFORM'] == 'win32': | 26 if env['PLATFORM'] == 'win32': |
| 27 env.Prepend( | 27 env.Prepend( |
| 28 CCFLAGS = [ | 28 CCFLAGS = [ |
| 29 '/TP', | 29 '/TP', |
| 30 '/WX', | 30 '/WX', |
| 31 ], | 31 ], |
| 32 ) | 32 ) |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 'platform_device_win.cc', | 70 'platform_device_win.cc', |
| 71 ]) | 71 ]) |
| 72 elif env['PLATFORM'] == 'posix': | 72 elif env['PLATFORM'] == 'posix': |
| 73 input_files.extend([ | 73 input_files.extend([ |
| 74 'bitmap_platform_device_linux.cc', | 74 'bitmap_platform_device_linux.cc', |
| 75 'platform_canvas_linux.cc', | 75 'platform_canvas_linux.cc', |
| 76 'platform_device_linux.cc', | 76 'platform_device_linux.cc', |
| 77 ]) | 77 ]) |
| 78 | 78 |
| 79 env.ChromeStaticLibrary('base_gfx', input_files) | 79 env.ChromeStaticLibrary('base_gfx', input_files) |
| OLD | NEW |