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

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

Issue 9509: Make unit_tests pass with pt_BR.UTF-8 locale. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' 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 | Annotate | Revision Log
« no previous file with comments | « third_party/dmg_fp/dmg_fp.h ('k') | third_party/dmg_fp/dtoa.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 '/TC',
22
23 '/wd4800',
24 '/wd4244',
25 ],
26 )
27
28 if env['PLATFORM'] in ('darwin', 'posix'):
29 # As usual with third party code, it generates lots of warnings.
30 # Disable only what's necessary.
31 env.Append(
32 CCFLAGS = [
33 '-Wno-parentheses',
34 '-Wno-sign-compare',
35 '-Wno-unused-label',
36 '-Wno-write-strings',
37 ]
38 )
39
40 input_files = [
41 'dtoa.cc',
42 'g_fmt.cc',
43 ]
44
45 env.ChromeStaticLibrary('dmg_fp', input_files)
OLDNEW
« no previous file with comments | « third_party/dmg_fp/dmg_fp.h ('k') | third_party/dmg_fp/dtoa.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698