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++abi', | 8 'target_name': 'libc++abi', |
9 'type': 'shared_library', | 9 'type': 'static_library', |
10 'variables': { | |
11 'prune_self_dependency': 1, | |
12 # Don't add this target to the dependencies of targets with type=none. | |
13 'link_dependency': 1, | |
14 }, | |
15 'dependencies=': [], | 10 'dependencies=': [], |
16 'sources': [ | 11 'sources': [ |
17 'trunk/src/abort_message.cpp', | 12 'trunk/src/abort_message.cpp', |
18 'trunk/src/cxa_aux_runtime.cpp', | 13 'trunk/src/cxa_aux_runtime.cpp', |
19 'trunk/src/cxa_default_handlers.cpp', | 14 'trunk/src/cxa_default_handlers.cpp', |
20 'trunk/src/cxa_demangle.cpp', | 15 'trunk/src/cxa_demangle.cpp', |
21 'trunk/src/cxa_exception.cpp', | 16 'trunk/src/cxa_exception.cpp', |
22 'trunk/src/cxa_exception_storage.cpp', | 17 'trunk/src/cxa_exception_storage.cpp', |
23 'trunk/src/cxa_guard.cpp', | 18 'trunk/src/cxa_guard.cpp', |
24 'trunk/src/cxa_handlers.cpp', | 19 'trunk/src/cxa_handlers.cpp', |
(...skipping 24 matching lines...) Expand all Loading... |
49 '-Wmismatched-tags', | 44 '-Wmismatched-tags', |
50 '-Wmissing-braces', | 45 '-Wmissing-braces', |
51 '-Wshorten-64-to-32', | 46 '-Wshorten-64-to-32', |
52 '-Wsign-compare', | 47 '-Wsign-compare', |
53 '-Wstrict-aliasing=2', | 48 '-Wstrict-aliasing=2', |
54 '-Wstrict-overflow=4', | 49 '-Wstrict-overflow=4', |
55 '-Wunused-parameter', | 50 '-Wunused-parameter', |
56 '-Wnewline-eof', | 51 '-Wnewline-eof', |
57 '-nostdinc++', | 52 '-nostdinc++', |
58 ], | 53 ], |
59 'direct_dependent_settings': { | |
60 'target_conditions': [ | |
61 ['_type!="none"', { | |
62 'include_dirs': [ | |
63 'trunk/include', | |
64 ], | |
65 'cflags_cc': [ | |
66 '-nostdinc++', | |
67 ], | |
68 'ldflags': [ | |
69 '-L<(PRODUCT_DIR)/lib/', | |
70 ], | |
71 }], | |
72 ], | |
73 }, | |
74 'cflags_cc!': [ | 54 'cflags_cc!': [ |
75 '-fno-rtti', | 55 '-fno-rtti', |
76 ], | 56 ], |
77 'cflags!': [ | 57 'cflags!': [ |
78 '-fno-exceptions', | 58 '-fno-exceptions', |
79 '-fvisibility=hidden', | 59 '-fvisibility=hidden', |
80 ], | 60 ], |
81 'ldflags': [ | 61 'ldflags': [ |
82 '-nodefaultlibs', | 62 '-nodefaultlibs', |
83 ], | 63 ], |
84 'ldflags!': [ | 64 'ldflags!': [ |
85 '-pthread', | 65 '-pthread', |
86 ], | 66 ], |
87 'libraries': [ | 67 'libraries': [ |
88 '-lrt', | 68 '-lrt', |
89 '-lgcc_s', | 69 '-lgcc_s', |
90 '-lpthread', | 70 '-lpthread', |
91 '-lc', | 71 '-lc', |
92 ] | 72 ] |
93 }, | 73 }, |
94 ] | 74 ] |
95 } | 75 } |
OLD | NEW |