| 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.ApplySConscript([ | 13 env.ApplySConscript([ |
| 14 '$ICU38_DIR/using_icu38.scons', | 14 '$ICU38_DIR/using_icu38.scons', |
| 15 '$LIBJPEG_DIR/using_libjpeg.scons', |
| 15 '$LIBPNG_DIR/using_libpng.scons', | 16 '$LIBPNG_DIR/using_libpng.scons', |
| 16 '$SKIA_DIR/using_skia.scons', | 17 '$SKIA_DIR/using_skia.scons', |
| 17 '$ZLIB_DIR/using_zlib.scons', | 18 '$ZLIB_DIR/using_zlib.scons', |
| 18 ]) | 19 ]) |
| 19 | 20 |
| 20 if env.Bit('windows'): | 21 if env.Bit('windows'): |
| 21 env.Prepend( | 22 env.Prepend( |
| 22 CCFLAGS = [ | 23 CCFLAGS = [ |
| 23 '/WX', | 24 '/WX', |
| 24 ], | 25 ], |
| 25 ) | 26 ) |
| 26 | 27 |
| 27 input_files = ChromeFileList([ | 28 input_files = ChromeFileList([ |
| 29 'jpeg_codec.cc', |
| 30 'jpeg_codec.h', |
| 28 'gdi_util.cc', | 31 'gdi_util.cc', |
| 29 'gdi_util.h', | 32 'gdi_util.h', |
| 30 'native_theme.cc', | 33 'native_theme.cc', |
| 31 'native_theme.h', | 34 'native_theme.h', |
| 32 'png_decoder.cc', | 35 'png_decoder.cc', |
| 33 'png_decoder.h', | 36 'png_decoder.h', |
| 34 'png_encoder.cc', | 37 'png_encoder.cc', |
| 35 'png_encoder.h', | 38 'png_encoder.h', |
| 36 'point.cc', | 39 'point.cc', |
| 37 'point.h', | 40 'point.h', |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 '../../skia/using_skia.vsprops', | 92 '../../skia/using_skia.vsprops', |
| 90 ]) | 93 ]) |
| 91 | 94 |
| 92 p.AddConfig('Release|Win32', | 95 p.AddConfig('Release|Win32', |
| 93 ConfigurationType = '4', | 96 ConfigurationType = '4', |
| 94 InheritedPropertySheets = [ | 97 InheritedPropertySheets = [ |
| 95 '$(SolutionDir)../build/release.vsprops', | 98 '$(SolutionDir)../build/release.vsprops', |
| 96 './base_gfx.vsprops', | 99 './base_gfx.vsprops', |
| 97 '../../skia/using_skia.vsprops', | 100 '../../skia/using_skia.vsprops', |
| 98 ]) | 101 ]) |
| OLD | NEW |