| 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 | 5 |
| 6 __doc__ = """ | 6 __doc__ = """ |
| 7 Configuration for building libpng.lib / libpng.a. | 7 Configuration for building libpng.lib / libpng.a. |
| 8 """ | 8 """ |
| 9 | 9 |
| 10 Import('env') | 10 Import('env') |
| 11 | 11 |
| 12 env = env.Clone() | 12 env = env.Clone() |
| 13 | 13 |
| 14 env.SConscript([ | 14 env.SConscript([ |
| 15 '$ZLIB_DIR/using_zlib.scons', | 15 '$ZLIB_DIR/using_zlib.scons', |
| 16 ], {'env':env}) | 16 ], {'env':env}) |
| 17 | 17 |
| 18 env.Prepend( | 18 env.Prepend( |
| 19 CPPPATH = [ | 19 CPPPATH = [ |
| 20 '$ROOT_DIR', | 20 '$CHROME_SRC_DIR', |
| 21 ], | 21 ], |
| 22 ) | 22 ) |
| 23 | 23 |
| 24 if env['PLATFORM'] == 'win32': | 24 if env['PLATFORM'] == 'win32': |
| 25 env.Append( | 25 env.Append( |
| 26 CCFLAGS = [ | 26 CCFLAGS = [ |
| 27 '/TP', | 27 '/TP', |
| 28 '/wd4800', | 28 '/wd4800', |
| 29 ], | 29 ], |
| 30 ) | 30 ) |
| (...skipping 19 matching lines...) Expand all Loading... |
| 50 'pngrio.c', | 50 'pngrio.c', |
| 51 'pngread.c', | 51 'pngread.c', |
| 52 'pngpread.c', | 52 'pngpread.c', |
| 53 'pngmem.c', | 53 'pngmem.c', |
| 54 'pngget.c', | 54 'pngget.c', |
| 55 'pnggccrd.c', | 55 'pnggccrd.c', |
| 56 'pngerror.c', | 56 'pngerror.c', |
| 57 ] | 57 ] |
| 58 | 58 |
| 59 env.ChromeStaticLibrary('libpng', input_files) | 59 env.ChromeStaticLibrary('libpng', input_files) |
| OLD | NEW |