Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(69)

Side by Side Diff: third_party/dmg_fp/dmg_fp.scons

Issue 10769: Move dmg_fp in scons build to compile from (Closed)
Patch Set: linux too Created 12 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 Import('env')
6
7 env = env.Clone()
8
9 # Do *NOT* define USE_LOCALE here. We want these functions to be
10 # locale-independent, for example to use in parsers or serializers.
11 env.Append(
12 # TODO(sgk): Review this when we want to support more architectures.
13 CPPDEFINES = [
14 'IEEE_8087',
15 ],
16 )
17
18 if env['PLATFORM'] == 'win32':
19 env.Append(
20 CCFLAGS = [
21 '/TP',
22
23 '/wd4018',
24 '/wd4102',
25 '/wd4244',
26 '/wd4503',
27 '/wd4554',
28 '/wd4800',
29 '/wd4819',
30 ],
31 )
32
33 if env['PLATFORM'] in ('darwin', 'posix'):
34 # As usual with third party code, it generates lots of warnings.
35 # Disable only what's necessary.
36 env.Append(
37 CCFLAGS = [
38 '-Wno-uninitialized',
39 '-Wno-parentheses',
40 '-Wno-sign-compare',
41 '-Wno-unused-label',
42 '-Wno-write-strings',
43 ]
44 )
45
46 input_files = [
47 'dtoa.cc',
48 'g_fmt.cc',
49 ]
50
51 env.ChromeStaticLibrary('dmg_fp', input_files)
OLDNEW
« no previous file with comments | « sandbox/tests/validation_tests/sbox_validation_tests.scons ('k') | third_party/dmg_fp/dmg_fp.vsprops » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698