| OLD | NEW |
| 1 # Copyright (c) 2008 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 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 Import('env') | 5 Import('env') |
| 6 | 6 |
| 7 env = env.Clone() | 7 env = env.Clone() |
| 8 | 8 |
| 9 # Do *NOT* define USE_LOCALE here. We want these functions to be | 9 # Do *NOT* define USE_LOCALE here. We want these functions to be |
| 10 # locale-independent, for example to use in parsers or serializers. | 10 # locale-independent, for example to use in parsers or serializers. |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 '/wd4800', | 24 '/wd4800', |
| 25 '/wd4819', | 25 '/wd4819', |
| 26 ], | 26 ], |
| 27 ) | 27 ) |
| 28 | 28 |
| 29 if env['PLATFORM'] in ('darwin', 'posix'): | 29 if env['PLATFORM'] in ('darwin', 'posix'): |
| 30 # As usual with third party code, it generates lots of warnings. | 30 # As usual with third party code, it generates lots of warnings. |
| 31 # Disable only what's necessary. | 31 # Disable only what's necessary. |
| 32 env.Append( | 32 env.Append( |
| 33 CCFLAGS = [ | 33 CCFLAGS = [ |
| 34 '-Wno-uninitialized', |
| 34 '-Wno-parentheses', | 35 '-Wno-parentheses', |
| 35 '-Wno-sign-compare', | 36 '-Wno-sign-compare', |
| 36 '-Wno-unused-label', | 37 '-Wno-unused-label', |
| 37 '-Wno-write-strings', | 38 '-Wno-write-strings', |
| 38 ] | 39 ] |
| 39 ) | 40 ) |
| 40 | 41 |
| 41 input_files = [ | 42 input_files = [ |
| 42 'dtoa.cc', | 43 'dtoa.cc', |
| 43 'g_fmt.cc', | 44 'g_fmt.cc', |
| 44 ] | 45 ] |
| 45 | 46 |
| 46 env.ChromeStaticLibrary('dmg_fp', input_files) | 47 env.ChromeStaticLibrary('dmg_fp', input_files) |
| OLD | NEW |