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': 'libcxx_proxy', | 8 'target_name': 'libcxx_proxy', |
9 'type': 'none', | 9 'type': 'none', |
10 'dependencies=': [ | 10 'dependencies=': [ |
11 'libc++', | 11 'libc++', |
12 ], | 12 ], |
13 # Do not add dependency on libc++.so to dependents of this target. We | 13 # Do not add dependency on libc++.so to dependents of this target. We |
14 # don't want to pass libc++.so on the command line to the linker, as that | 14 # don't want to pass libc++.so on the command line to the linker, as that |
15 # would cause it to be linked into C executables which don't need it. | 15 # would cause it to be linked into C executables which don't need it. |
16 # Instead, we supply -stdlib=libc++ and let the clang driver decide. | 16 # Instead, we supply -stdlib=libc++ and let the clang driver decide. |
17 'dependencies_traverse': 0, | 17 'dependencies_traverse': 0, |
18 'variables': { | 18 'variables': { |
19 # Don't add this target to the dependencies of targets with type=none. | 19 # Don't add this target to the dependencies of targets with type=none. |
20 'link_dependency': 1, | 20 'link_dependency': 1, |
21 }, | 21 }, |
22 'direct_dependent_settings': { | 22 'all_dependent_settings': { |
23 'target_conditions': [ | 23 'target_conditions': [ |
24 ['_type!="none"', { | 24 ['_type!="none"', { |
25 'include_dirs': [ | 25 'include_dirs': [ |
26 'trunk/include', | 26 'trunk/include', |
27 '../libc++abi/trunk/include', | 27 '../libc++abi/trunk/include', |
28 ], | 28 ], |
29 'cflags_cc': [ | 29 'cflags_cc': [ |
30 '-nostdinc++', | 30 '-nostdinc++', |
31 ], | 31 ], |
32 'ldflags': [ | 32 'ldflags': [ |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 ], | 118 ], |
119 'libraries': [ | 119 'libraries': [ |
120 '-lc', | 120 '-lc', |
121 '-lgcc_s', | 121 '-lgcc_s', |
122 '-lpthread', | 122 '-lpthread', |
123 '-lrt', | 123 '-lrt', |
124 ], | 124 ], |
125 }, | 125 }, |
126 ] | 126 ] |
127 } | 127 } |
OLD | NEW |