OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'libc++', | 8 'target_name': 'libc++', |
9 'type': 'shared_library', | 9 'type': 'shared_library', |
10 'variables': { | 10 'variables': { |
(...skipping 24 matching lines...) Expand all Loading... |
35 'trunk/src/strstream.cpp', | 35 'trunk/src/strstream.cpp', |
36 'trunk/src/system_error.cpp', | 36 'trunk/src/system_error.cpp', |
37 'trunk/src/thread.cpp', | 37 'trunk/src/thread.cpp', |
38 'trunk/src/typeinfo.cpp', | 38 'trunk/src/typeinfo.cpp', |
39 'trunk/src/utility.cpp', | 39 'trunk/src/utility.cpp', |
40 'trunk/src/valarray.cpp', | 40 'trunk/src/valarray.cpp', |
41 ], | 41 ], |
42 'include_dirs': [ | 42 'include_dirs': [ |
43 'trunk/include', | 43 'trunk/include', |
44 '../libc++abi/trunk/include', | 44 '../libc++abi/trunk/include', |
| 45 # TODO(earthdok): remove when http://crbug.com/337426 is fixed |
| 46 '../llvm-build/Release+Asserts/lib/clang/3.5/include/' |
45 ], | 47 ], |
46 'cflags': [ | 48 'cflags': [ |
47 '-g', '-Os', '-fPIC', | 49 '-g', '-Os', '-fPIC', |
48 '-std=c++11', | 50 '-std=c++11', |
49 '-fstrict-aliasing', | 51 '-fstrict-aliasing', |
50 '-Wall', | 52 '-Wall', |
51 '-Wextra', | 53 '-Wextra', |
52 '-Wshadow', | 54 '-Wshadow', |
53 '-Wconversion', | 55 '-Wconversion', |
54 '-Wnewline-eof', | 56 '-Wnewline-eof', |
55 '-Wpadded', | 57 '-Wpadded', |
56 '-Wmissing-prototypes', | 58 '-Wmissing-prototypes', |
57 '-Wstrict-aliasing=2', | 59 '-Wstrict-aliasing=2', |
58 '-Wstrict-overflow=4', | 60 '-Wstrict-overflow=4', |
59 '-nostdinc++', | 61 '-nostdinc++', |
60 ], | 62 ], |
61 'direct_dependent_settings': { | 63 'direct_dependent_settings': { |
62 'target_conditions': [ | 64 'target_conditions': [ |
63 ['_type!="none"', { | 65 ['_type!="none"', { |
64 'include_dirs': [ | 66 'include_dirs': [ |
65 'trunk/include', | 67 'trunk/include', |
66 ], | 68 ], |
67 'cflags_cc': [ | 69 'cflags_cc': [ |
68 '-nostdinc++', | 70 '-nostdinc++', |
69 ], | 71 ], |
70 'ldflags': [ | 72 'ldflags': [ |
71 '-stdlib=libc++', | 73 '-stdlib=libc++', |
72 '-L<(PRODUCT_DIR)/lib/', | 74 '-L<(PRODUCT_DIR)/lib/', |
73 ], | 75 ], |
| 76 'include_dirs': [ |
| 77 # TODO(earthdok): remove when http://crbug.com/337426 is fixed |
| 78 '../llvm-build/Release+Asserts/lib/clang/3.5/include/' |
| 79 ], |
74 }], | 80 }], |
75 ], | 81 ], |
76 }, | 82 }, |
77 'cflags_cc!': [ | 83 'cflags_cc!': [ |
78 '-fno-rtti', | 84 '-fno-rtti', |
79 ], | 85 ], |
80 'cflags!': [ | 86 'cflags!': [ |
81 '-fno-exceptions', | 87 '-fno-exceptions', |
82 '-fvisibility=hidden', | 88 '-fvisibility=hidden', |
83 ], | 89 ], |
84 'ldflags': [ | 90 'ldflags': [ |
85 '-nodefaultlibs', | 91 '-nodefaultlibs', |
86 ], | 92 ], |
87 'ldflags!': [ | 93 'ldflags!': [ |
88 '-pthread', | 94 '-pthread', |
89 ], | 95 ], |
90 'libraries': [ | 96 'libraries': [ |
91 '-lrt', | 97 '-lrt', |
92 '-lc', | 98 '-lc', |
93 ], | 99 ], |
94 }, | 100 }, |
95 ] | 101 ] |
96 } | 102 } |
OLD | NEW |