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 'builtin_in_cc_file': '../bin/builtin_in.cc', | 7 'builtin_in_cc_file': '../bin/builtin_in.cc', |
8 'corelib_cc_file': '<(SHARED_INTERMEDIATE_DIR)/corelib_gen.cc', | 8 'corelib_cc_file': '<(SHARED_INTERMEDIATE_DIR)/corelib_gen.cc', |
9 'corelib_impl_cc_file': '<(SHARED_INTERMEDIATE_DIR)/corelib_impl_gen.cc', | 9 'corelib_impl_cc_file': '<(SHARED_INTERMEDIATE_DIR)/corelib_impl_gen.cc', |
10 'mirrors_cc_file': '<(SHARED_INTERMEDIATE_DIR)/mirrors_gen.cc', | 10 'mirrors_cc_file': '<(SHARED_INTERMEDIATE_DIR)/mirrors_gen.cc', |
11 'isolate_cc_file': '<(SHARED_INTERMEDIATE_DIR)/isolate_gen.cc', | 11 'isolate_cc_file': '<(SHARED_INTERMEDIATE_DIR)/isolate_gen.cc', |
12 'snapshot_test_dat_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_test.dat', | 12 'snapshot_test_dat_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_test.dat', |
13 'snapshot_test_in_dat_file': 'snapshot_test_in.dat', | 13 'snapshot_test_in_dat_file': 'snapshot_test_in.dat', |
14 'snapshot_test_dart_file': 'snapshot_test.dart', | 14 'snapshot_test_dart_file': 'snapshot_test.dart', |
15 'cygwin_dir': '../../third_party/cygwin', | |
16 }, | 15 }, |
17 'targets': [ | 16 'targets': [ |
18 { | 17 { |
19 'target_name': 'libdart_vm', | 18 'target_name': 'libdart_vm', |
20 'type': 'static_library', | 19 'type': 'static_library', |
21 'includes': [ | 20 'includes': [ |
22 'vm_sources.gypi', | 21 'vm_sources.gypi', |
23 '../platform/platform_headers.gypi', | 22 '../platform/platform_headers.gypi', |
24 '../platform/platform_sources.gypi', | 23 '../platform/platform_sources.gypi', |
25 ], | 24 ], |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 'sources': [ | 83 'sources': [ |
85 'bootstrap_nocorelib.cc', | 84 'bootstrap_nocorelib.cc', |
86 ], | 85 ], |
87 'include_dirs': [ | 86 'include_dirs': [ |
88 '..', | 87 '..', |
89 ], | 88 ], |
90 }, | 89 }, |
91 { | 90 { |
92 'target_name': 'generate_corelib_cc_file', | 91 'target_name': 'generate_corelib_cc_file', |
93 'type': 'none', | 92 'type': 'none', |
94 'conditions': [ | |
95 ['OS=="win"', { | |
96 'msvs_cygwin_dirs': ['<(cygwin_dir)'], | |
97 }], | |
98 ], | |
99 'includes': [ | 93 'includes': [ |
100 # Load the runtime implementation sources. | 94 # Load the runtime implementation sources. |
101 '../lib/lib_sources.gypi', | 95 '../lib/lib_sources.gypi', |
102 # Load the shared core library sources. | 96 # Load the shared core library sources. |
103 '../../corelib/src/corelib_sources.gypi', | 97 '../../corelib/src/corelib_sources.gypi', |
104 ], | 98 ], |
105 'sources/': [ | 99 'sources/': [ |
106 # Exclude all .[cc|h] files. | 100 # Exclude all .[cc|h] files. |
107 # This is only here for reference. Excludes happen after | 101 # This is only here for reference. Excludes happen after |
108 # variable expansion, so the script has to do its own | 102 # variable expansion, so the script has to do its own |
(...skipping 20 matching lines...) Expand all Loading... |
129 '--var_name', 'dart::Bootstrap::corelib_source_', | 123 '--var_name', 'dart::Bootstrap::corelib_source_', |
130 '<@(_sources)', | 124 '<@(_sources)', |
131 ], | 125 ], |
132 'message': 'Generating ''<(corelib_cc_file)'' file.' | 126 'message': 'Generating ''<(corelib_cc_file)'' file.' |
133 }, | 127 }, |
134 ] | 128 ] |
135 }, | 129 }, |
136 { | 130 { |
137 'target_name': 'generate_corelib_impl_cc_file', | 131 'target_name': 'generate_corelib_impl_cc_file', |
138 'type': 'none', | 132 'type': 'none', |
139 'conditions': [ | |
140 ['OS=="win"', { | |
141 'msvs_cygwin_dirs': ['<(cygwin_dir)'], | |
142 }], | |
143 ], | |
144 'includes': [ | 133 'includes': [ |
145 # Load the runtime implementation sources. | 134 # Load the runtime implementation sources. |
146 '../lib/lib_impl_sources.gypi', | 135 '../lib/lib_impl_sources.gypi', |
147 # Load the shared core library sources. | 136 # Load the shared core library sources. |
148 '../../corelib/src/implementation/corelib_impl_sources.gypi', | 137 '../../corelib/src/implementation/corelib_impl_sources.gypi', |
149 ], | 138 ], |
150 'sources/': [ | 139 'sources/': [ |
151 # Exclude all .[cc|h] files. | 140 # Exclude all .[cc|h] files. |
152 # This is only here for reference. Excludes happen after | 141 # This is only here for reference. Excludes happen after |
153 # variable expansion, so the script has to do its own | 142 # variable expansion, so the script has to do its own |
(...skipping 20 matching lines...) Expand all Loading... |
174 '--var_name', 'dart::Bootstrap::corelib_impl_source_', | 163 '--var_name', 'dart::Bootstrap::corelib_impl_source_', |
175 '<@(_sources)', | 164 '<@(_sources)', |
176 ], | 165 ], |
177 'message': 'Generating ''<(corelib_impl_cc_file)'' file.' | 166 'message': 'Generating ''<(corelib_impl_cc_file)'' file.' |
178 }, | 167 }, |
179 ] | 168 ] |
180 }, | 169 }, |
181 { | 170 { |
182 'target_name': 'generate_mirrors_cc_file', | 171 'target_name': 'generate_mirrors_cc_file', |
183 'type': 'none', | 172 'type': 'none', |
184 'conditions': [ | |
185 ['OS=="win"', { | |
186 'msvs_cygwin_dirs': ['<(cygwin_dir)'], | |
187 }], | |
188 ], | |
189 'includes': [ | 173 'includes': [ |
190 # Load the shared core library sources. | 174 # Load the shared core library sources. |
191 '../lib/mirrors_sources.gypi', | 175 '../lib/mirrors_sources.gypi', |
192 ], | 176 ], |
193 'sources/': [ | 177 'sources/': [ |
194 # Exclude all .[cc|h] files. | 178 # Exclude all .[cc|h] files. |
195 # This is only here for reference. Excludes happen after | 179 # This is only here for reference. Excludes happen after |
196 # variable expansion, so the script has to do its own | 180 # variable expansion, so the script has to do its own |
197 # exclude processing of the sources being passed. | 181 # exclude processing of the sources being passed. |
198 ['exclude', '\\.cc|h$'], | 182 ['exclude', '\\.cc|h$'], |
(...skipping 18 matching lines...) Expand all Loading... |
217 '--var_name', 'dart::Bootstrap::mirrors_source_', | 201 '--var_name', 'dart::Bootstrap::mirrors_source_', |
218 '<@(_sources)', | 202 '<@(_sources)', |
219 ], | 203 ], |
220 'message': 'Generating ''<(mirrors_cc_file)'' file.' | 204 'message': 'Generating ''<(mirrors_cc_file)'' file.' |
221 }, | 205 }, |
222 ] | 206 ] |
223 }, | 207 }, |
224 { | 208 { |
225 'target_name': 'generate_isolate_cc_file', | 209 'target_name': 'generate_isolate_cc_file', |
226 'type': 'none', | 210 'type': 'none', |
227 'conditions': [ | |
228 ['OS=="win"', { | |
229 'msvs_cygwin_dirs': ['<(cygwin_dir)'], | |
230 }], | |
231 ], | |
232 'includes': [ | 211 'includes': [ |
233 # Load the runtime implementation sources. | 212 # Load the runtime implementation sources. |
234 '../lib/isolate_sources.gypi', | 213 '../lib/isolate_sources.gypi', |
235 ], | 214 ], |
236 'sources/': [ | 215 'sources/': [ |
237 # Exclude all .[cc|h] files. | 216 # Exclude all .[cc|h] files. |
238 # This is only here for reference. Excludes happen after | 217 # This is only here for reference. Excludes happen after |
239 # variable expansion, so the script has to do its own | 218 # variable expansion, so the script has to do its own |
240 # exclude processing of the sources being passed. | 219 # exclude processing of the sources being passed. |
241 ['exclude', '\\.cc|h$'], | 220 ['exclude', '\\.cc|h$'], |
(...skipping 18 matching lines...) Expand all Loading... |
260 '--var_name', 'dart::Bootstrap::isolate_source_', | 239 '--var_name', 'dart::Bootstrap::isolate_source_', |
261 '<@(_sources)', | 240 '<@(_sources)', |
262 ], | 241 ], |
263 'message': 'Generating ''<(isolate_cc_file)'' file.' | 242 'message': 'Generating ''<(isolate_cc_file)'' file.' |
264 }, | 243 }, |
265 ] | 244 ] |
266 }, | 245 }, |
267 { | 246 { |
268 'target_name': 'generate_snapshot_test_dat_file', | 247 'target_name': 'generate_snapshot_test_dat_file', |
269 'type': 'none', | 248 'type': 'none', |
270 'conditions': [ | |
271 ['OS=="win"', { | |
272 'msvs_cygwin_dirs': ['<(cygwin_dir)'], | |
273 }], | |
274 ], | |
275 'actions': [ | 249 'actions': [ |
276 { | 250 { |
277 'action_name': 'generate_snapshot_test_dat', | 251 'action_name': 'generate_snapshot_test_dat', |
278 'inputs': [ | 252 'inputs': [ |
279 '../tools/create_string_literal.py', | 253 '../tools/create_string_literal.py', |
280 '<(snapshot_test_in_dat_file)', | 254 '<(snapshot_test_in_dat_file)', |
281 '<(snapshot_test_dart_file)', | 255 '<(snapshot_test_dart_file)', |
282 ], | 256 ], |
283 'outputs': [ | 257 'outputs': [ |
284 '<(snapshot_test_dat_file)', | 258 '<(snapshot_test_dat_file)', |
285 ], | 259 ], |
286 'action': [ | 260 'action': [ |
287 'python', | 261 'python', |
288 'tools/create_string_literal.py', | 262 'tools/create_string_literal.py', |
289 '--output', '<(snapshot_test_dat_file)', | 263 '--output', '<(snapshot_test_dat_file)', |
290 '--input_cc', '<(snapshot_test_in_dat_file)', | 264 '--input_cc', '<(snapshot_test_in_dat_file)', |
291 '--include', 'INTENTIONALLY_LEFT_BLANK', | 265 '--include', 'INTENTIONALLY_LEFT_BLANK', |
292 '--var_name', 'INTENTIONALLY_LEFT_BLANK_TOO', | 266 '--var_name', 'INTENTIONALLY_LEFT_BLANK_TOO', |
293 '<(snapshot_test_dart_file)', | 267 '<(snapshot_test_dart_file)', |
294 ], | 268 ], |
295 'message': 'Generating ''<(snapshot_test_dat_file)'' file.' | 269 'message': 'Generating ''<(snapshot_test_dat_file)'' file.' |
296 }, | 270 }, |
297 ] | 271 ] |
298 }, | 272 }, |
299 ] | 273 ] |
300 } | 274 } |
OLD | NEW |