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

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

Issue 10857: Add OPT=1 flag to build optimized on Linux. (Closed)
Patch Set: alles ist gut 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
« no previous file with comments | « net/net_perftests.scons ('k') | webkit/tools/test_shell/SConscript » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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)
OLDNEW
« no previous file with comments | « net/net_perftests.scons ('k') | webkit/tools/test_shell/SConscript » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698