diff options
Diffstat (limited to 'third_party/dmg_fp/dmg_fp.scons')
-rw-r--r-- | third_party/dmg_fp/dmg_fp.scons | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/third_party/dmg_fp/dmg_fp.scons b/third_party/dmg_fp/dmg_fp.scons deleted file mode 100644 index 8ac9cba..0000000 --- a/third_party/dmg_fp/dmg_fp.scons +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright (c) 2008 The Chromium Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -Import('env') - -env = env.Clone() - -# Do *NOT* define USE_LOCALE here. We want these functions to be -# locale-independent, for example to use in parsers or serializers. -env.Append( - # TODO(sgk): Review this when we want to support more architectures. - CPPDEFINES = [ - 'IEEE_8087', - ], -) - -if env['PLATFORM'] == 'win32': - env.Append( - CCFLAGS = [ - '/TP', - - '/wd4018', - '/wd4102', - '/wd4244', - '/wd4503', - '/wd4554', - '/wd4800', - '/wd4819', - ], - ) - -if env['PLATFORM'] in ('darwin', 'posix'): - # As usual with third party code, it generates lots of warnings. - # Disable only what's necessary. - env.Append( - CCFLAGS = [ - '-Wno-uninitialized', - '-Wno-parentheses', - '-Wno-sign-compare', - '-Wno-unused-label', - '-Wno-write-strings', - ] - ) - -input_files = [ - 'dtoa.cc', - 'g_fmt.cc', -] - -env.ChromeStaticLibrary('dmg_fp', input_files) |