OLD | NEW |
1 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
2 # for details. All rights reserved. Use of this source code is governed by a | 2 # for details. All rights reserved. Use of this source code is governed by a |
3 # BSD-style license that can be found in the LICENSE file. | 3 # BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'gen_source_dir': '<(SHARED_INTERMEDIATE_DIR)', | 7 'gen_source_dir': '<(SHARED_INTERMEDIATE_DIR)', |
8 'libgen_in_cc_file': '../lib/libgen_in.cc', | 8 'libgen_in_cc_file': '../lib/libgen_in.cc', |
9 'builtin_in_cc_file': '../bin/builtin_in.cc', | 9 'builtin_in_cc_file': '../bin/builtin_in.cc', |
10 'async_cc_file': '<(gen_source_dir)/async_gen.cc', | 10 'async_cc_file': '<(gen_source_dir)/async_gen.cc', |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 }], | 63 }], |
64 ['OS=="android" and _toolset=="host"', { | 64 ['OS=="android" and _toolset=="host"', { |
65 'link_settings': { | 65 'link_settings': { |
66 'libraries': [ | 66 'libraries': [ |
67 '-lpthread', | 67 '-lpthread', |
68 '-lrt', | 68 '-lrt', |
69 '-ldl', | 69 '-ldl', |
70 ], | 70 ], |
71 }, | 71 }, |
72 }], | 72 }], |
| 73 ['OS=="openbsd"', { |
| 74 'link_settings': { |
| 75 'libraries': [ |
| 76 '-lpthread', |
| 77 ], |
| 78 }, |
| 79 }], |
73 ['OS=="win"', { | 80 ['OS=="win"', { |
74 'sources/' : [ | 81 'sources/' : [ |
75 ['exclude', 'gdbjit.cc'], | 82 ['exclude', 'gdbjit.cc'], |
76 ], | 83 ], |
77 }], | 84 }], |
78 ['dart_vtune_support==0', { | 85 ['dart_vtune_support==0', { |
79 'sources/' : [ | 86 'sources/' : [ |
80 ['exclude', 'vtune\\.(cc|h)$'], | 87 ['exclude', 'vtune\\.(cc|h)$'], |
81 ], | 88 ], |
82 }], | 89 }], |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 'conditions': [ | 124 'conditions': [ |
118 ['OS=="linux"', { | 125 ['OS=="linux"', { |
119 'link_settings': { | 126 'link_settings': { |
120 'libraries': [ | 127 'libraries': [ |
121 '-lpthread', | 128 '-lpthread', |
122 '-lrt', | 129 '-lrt', |
123 '-ldl', | 130 '-ldl', |
124 ], | 131 ], |
125 }, | 132 }, |
126 }], | 133 }], |
| 134 ['OS=="openbsd"', { |
| 135 'link_settings': { |
| 136 'libraries': [ |
| 137 '-lpthread', |
| 138 ], |
| 139 }, |
| 140 }], |
127 ['OS=="android" and _toolset=="host"', { | 141 ['OS=="android" and _toolset=="host"', { |
128 'link_settings': { | 142 'link_settings': { |
129 'libraries': [ | 143 'libraries': [ |
130 '-lpthread', | 144 '-lpthread', |
131 '-lrt', | 145 '-lrt', |
132 '-ldl', | 146 '-ldl', |
133 ], | 147 ], |
134 }, | 148 }, |
135 }], | 149 }], |
136 ['OS=="win"', { | 150 ['OS=="win"', { |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 'conditions': [ | 194 'conditions': [ |
181 ['OS=="linux"', { | 195 ['OS=="linux"', { |
182 'link_settings': { | 196 'link_settings': { |
183 'libraries': [ | 197 'libraries': [ |
184 '-lpthread', | 198 '-lpthread', |
185 '-lrt', | 199 '-lrt', |
186 '-ldl', | 200 '-ldl', |
187 ], | 201 ], |
188 }, | 202 }, |
189 }], | 203 }], |
| 204 ['OS=="openbsd"', { |
| 205 'link_settings': { |
| 206 'libraries': [ |
| 207 '-lpthread', |
| 208 ], |
| 209 }, |
| 210 }], |
190 ['OS=="android" and _toolset=="host"', { | 211 ['OS=="android" and _toolset=="host"', { |
191 'link_settings': { | 212 'link_settings': { |
192 'libraries': [ | 213 'libraries': [ |
193 '-lpthread', | 214 '-lpthread', |
194 '-lrt', | 215 '-lrt', |
195 '-ldl', | 216 '-ldl', |
196 ], | 217 ], |
197 }, | 218 }, |
198 }], | 219 }], |
199 ['OS=="win"', { | 220 ['OS=="win"', { |
(...skipping 1058 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1258 '--var_name', 'dart::Bootstrap::_vmservice_patch_paths_', | 1279 '--var_name', 'dart::Bootstrap::_vmservice_patch_paths_', |
1259 '--library_name', 'dart:_vmservice', | 1280 '--library_name', 'dart:_vmservice', |
1260 '<@(_sources)', | 1281 '<@(_sources)', |
1261 ], | 1282 ], |
1262 'message': 'Generating ''<(vmservice_patch_cc_file)'' file.' | 1283 'message': 'Generating ''<(vmservice_patch_cc_file)'' file.' |
1263 }, | 1284 }, |
1264 ] | 1285 ] |
1265 }, | 1286 }, |
1266 ] | 1287 ] |
1267 } | 1288 } |
OLD | NEW |