OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 'toolsets': ['host', 'target'], | 10 'toolsets': ['host', 'target'], |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 '-pthread', | 95 '-pthread', |
96 '-std=c++11', | 96 '-std=c++11', |
97 ], | 97 ], |
98 'cflags_cc!': [ | 98 'cflags_cc!': [ |
99 '-fno-exceptions', | 99 '-fno-exceptions', |
100 '-fno-rtti', | 100 '-fno-rtti', |
101 ], | 101 ], |
102 'cflags!': [ | 102 'cflags!': [ |
103 '-fvisibility=hidden', | 103 '-fvisibility=hidden', |
104 ], | 104 ], |
| 105 'defines': [ |
| 106 'LIBCXX_BUILDING_LIBCXXABI', |
| 107 ], |
105 'ldflags': [ | 108 'ldflags': [ |
106 '-nodefaultlibs', | 109 '-nodefaultlibs', |
107 ], | 110 ], |
108 'ldflags!': [ | 111 'ldflags!': [ |
109 # -nodefaultlibs turns -pthread into a no-op, causing an unused argument | 112 # -nodefaultlibs turns -pthread into a no-op, causing an unused argument |
110 # warning. Explicitly link with -lpthread instead. | 113 # warning. Explicitly link with -lpthread instead. |
111 '-pthread', | 114 '-pthread', |
112 ], | 115 ], |
113 'libraries': [ | 116 'libraries': [ |
114 '-lc', | 117 '-lc', |
115 '-lgcc_s', | 118 '-lgcc_s', |
116 '-lm', | 119 '-lm', |
117 '-lpthread', | 120 '-lpthread', |
118 '-lrt', | 121 '-lrt', |
119 ], | 122 ], |
120 }, | 123 }, |
121 ] | 124 ] |
122 } | 125 } |
OLD | NEW |