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': '<(LIB_DIR)', |
7 'builtin_in_cc_file': '../bin/builtin_in.cc', | 8 'builtin_in_cc_file': '../bin/builtin_in.cc', |
8 'async_cc_file': '<(SHARED_INTERMEDIATE_DIR)/async_gen.cc', | 9 'async_cc_file': '<(gen_source_dir)/async_gen.cc', |
9 'async_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/async_patch_gen.cc', | 10 'async_patch_cc_file': '<(gen_source_dir)/async_patch_gen.cc', |
10 'corelib_cc_file': '<(SHARED_INTERMEDIATE_DIR)/corelib_gen.cc', | 11 'corelib_cc_file': '<(gen_source_dir)/corelib_gen.cc', |
11 'corelib_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/corelib_patch_gen.cc', | 12 'corelib_patch_cc_file': '<(gen_source_dir)/corelib_patch_gen.cc', |
12 'collection_cc_file': '<(SHARED_INTERMEDIATE_DIR)/collection_gen.cc', | 13 'collection_cc_file': '<(gen_source_dir)/collection_gen.cc', |
13 'collection_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/collection_patch_gen
.cc', | 14 'collection_patch_cc_file': '<(gen_source_dir)/collection_patch_gen.cc', |
14 'collection_dev_cc_file': '<(SHARED_INTERMEDIATE_DIR)/collection_dev_gen.cc'
, | 15 'collection_dev_cc_file': '<(gen_source_dir)/collection_dev_gen.cc', |
15 'collection_dev_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/collection_dev_p
atch_gen.cc', | 16 'collection_dev_patch_cc_file': '<(gen_source_dir)/collection_dev_patch_gen.
cc', |
16 'crypto_cc_file': '<(SHARED_INTERMEDIATE_DIR)/crypto_gen.cc', | 17 'crypto_cc_file': '<(gen_source_dir)/crypto_gen.cc', |
17 'math_cc_file': '<(SHARED_INTERMEDIATE_DIR)/math_gen.cc', | 18 'math_cc_file': '<(gen_source_dir)/math_gen.cc', |
18 'math_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/math_patch_gen.cc', | 19 'math_patch_cc_file': '<(gen_source_dir)/math_patch_gen.cc', |
19 'mirrors_cc_file': '<(SHARED_INTERMEDIATE_DIR)/mirrors_gen.cc', | 20 'mirrors_cc_file': '<(gen_source_dir)/mirrors_gen.cc', |
20 'mirrors_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/mirrors_patch_gen.cc', | 21 'mirrors_patch_cc_file': '<(gen_source_dir)/mirrors_patch_gen.cc', |
21 'isolate_cc_file': '<(SHARED_INTERMEDIATE_DIR)/isolate_gen.cc', | 22 'isolate_cc_file': '<(gen_source_dir)/isolate_gen.cc', |
22 'isolate_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/isolate_patch_gen.cc', | 23 'isolate_patch_cc_file': '<(gen_source_dir)/isolate_patch_gen.cc', |
23 'json_cc_file': '<(SHARED_INTERMEDIATE_DIR)/json_gen.cc', | 24 'json_cc_file': '<(gen_source_dir)/json_gen.cc', |
24 'json_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/json_patch_gen.cc', | 25 'json_patch_cc_file': '<(gen_source_dir)/json_patch_gen.cc', |
25 'typeddata_cc_file': '<(SHARED_INTERMEDIATE_DIR)/typeddata_gen.cc', | 26 'typeddata_cc_file': '<(gen_source_dir)/typeddata_gen.cc', |
26 'typeddata_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/typeddata_patch_gen.c
c', | 27 'typeddata_patch_cc_file': '<(gen_source_dir)/typeddata_patch_gen.cc', |
27 'uri_cc_file': '<(SHARED_INTERMEDIATE_DIR)/uri_gen.cc', | 28 'uri_cc_file': '<(gen_source_dir)/uri_gen.cc', |
28 'utf_cc_file': '<(SHARED_INTERMEDIATE_DIR)/utf_gen.cc', | 29 'utf_cc_file': '<(gen_source_dir)/utf_gen.cc', |
29 'snapshot_test_dat_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_test.dat', | 30 'snapshot_test_dat_file': '<(gen_source_dir)/snapshot_test.dat', |
30 'snapshot_test_in_dat_file': 'snapshot_test_in.dat', | 31 'snapshot_test_in_dat_file': 'snapshot_test_in.dat', |
31 'snapshot_test_dart_file': 'snapshot_test.dart', | 32 'snapshot_test_dart_file': 'snapshot_test.dart', |
32 }, | 33 }, |
33 'targets': [ | 34 'targets': [ |
34 { | 35 { |
35 'target_name': 'libdart_vm', | 36 'target_name': 'libdart_vm', |
36 'type': 'static_library', | 37 'type': 'static_library', |
| 38 'toolsets':['host', 'target'], |
37 'includes': [ | 39 'includes': [ |
38 'vm_sources.gypi', | 40 'vm_sources.gypi', |
39 '../platform/platform_headers.gypi', | 41 '../platform/platform_headers.gypi', |
40 '../platform/platform_sources.gypi', | 42 '../platform/platform_sources.gypi', |
41 ], | 43 ], |
42 'sources/': [ | 44 'sources/': [ |
43 # Exclude all _test.[cc|h] files. | 45 # Exclude all _test.[cc|h] files. |
44 ['exclude', '_test\\.(cc|h)$'], | 46 ['exclude', '_test\\.(cc|h)$'], |
45 ], | 47 ], |
46 'include_dirs': [ | 48 'include_dirs': [ |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 ['OS=="win"', { | 86 ['OS=="win"', { |
85 'libraries': ['-ljitprofiling.lib'], | 87 'libraries': ['-ljitprofiling.lib'], |
86 }], | 88 }], |
87 ], | 89 ], |
88 }, | 90 }, |
89 }]], | 91 }]], |
90 }, | 92 }, |
91 { | 93 { |
92 'target_name': 'libdart_lib_withcore', | 94 'target_name': 'libdart_lib_withcore', |
93 'type': 'static_library', | 95 'type': 'static_library', |
| 96 'toolsets':['host', 'target'], |
94 'dependencies': [ | 97 'dependencies': [ |
95 'generate_async_cc_file', | 98 'generate_async_cc_file', |
96 'generate_async_patch_cc_file', | 99 'generate_async_patch_cc_file', |
97 'generate_corelib_cc_file', | 100 'generate_corelib_cc_file', |
98 'generate_corelib_patch_cc_file', | 101 'generate_corelib_patch_cc_file', |
99 'generate_collection_cc_file', | 102 'generate_collection_cc_file', |
100 'generate_collection_patch_cc_file', | 103 'generate_collection_patch_cc_file', |
101 'generate_collection_dev_cc_file', | 104 'generate_collection_dev_cc_file', |
102 'generate_collection_dev_patch_cc_file', | 105 'generate_collection_dev_patch_cc_file', |
103 'generate_crypto_cc_file', | 106 'generate_crypto_cc_file', |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 '<(uri_cc_file)', | 151 '<(uri_cc_file)', |
149 '<(utf_cc_file)', | 152 '<(utf_cc_file)', |
150 ], | 153 ], |
151 'include_dirs': [ | 154 'include_dirs': [ |
152 '..', | 155 '..', |
153 ], | 156 ], |
154 }, | 157 }, |
155 { | 158 { |
156 'target_name': 'libdart_lib', | 159 'target_name': 'libdart_lib', |
157 'type': 'static_library', | 160 'type': 'static_library', |
| 161 'toolsets':['host', 'target'], |
158 'includes': [ | 162 'includes': [ |
159 '../lib/async_sources.gypi', | 163 '../lib/async_sources.gypi', |
160 '../lib/collection_sources.gypi', | 164 '../lib/collection_sources.gypi', |
161 '../lib/lib_sources.gypi', | 165 '../lib/lib_sources.gypi', |
162 '../lib/isolate_sources.gypi', | 166 '../lib/isolate_sources.gypi', |
163 '../lib/math_sources.gypi', | 167 '../lib/math_sources.gypi', |
164 '../lib/mirrors_sources.gypi', | 168 '../lib/mirrors_sources.gypi', |
165 '../lib/typeddata_sources.gypi', | 169 '../lib/typeddata_sources.gypi', |
166 ], | 170 ], |
167 'sources': [ | 171 'sources': [ |
168 'bootstrap_nocorelib.cc', | 172 'bootstrap_nocorelib.cc', |
169 ], | 173 ], |
170 'include_dirs': [ | 174 'include_dirs': [ |
171 '..', | 175 '..', |
172 ], | 176 ], |
173 }, | 177 }, |
174 { | 178 { |
175 'target_name': 'generate_async_cc_file', | 179 'target_name': 'generate_async_cc_file', |
176 'type': 'none', | 180 'type': 'none', |
| 181 'toolsets':['host', 'target'], |
177 'variables': { | 182 'variables': { |
178 'async_dart': '<(SHARED_INTERMEDIATE_DIR)/async_gen.dart', | 183 'async_dart': '<(gen_source_dir)/async_gen.dart', |
179 }, | 184 }, |
180 'includes': [ | 185 'includes': [ |
181 '../../sdk/lib/async/async_sources.gypi', | 186 '../../sdk/lib/async/async_sources.gypi', |
182 ], | 187 ], |
183 'sources/': [ | 188 'sources/': [ |
184 # Exclude all .[cc|h] files. | 189 # Exclude all .[cc|h] files. |
185 # This is only here for reference. Excludes happen after | 190 # This is only here for reference. Excludes happen after |
186 # variable expansion, so the script has to do its own | 191 # variable expansion, so the script has to do its own |
187 # exclude processing of the sources being passed. | 192 # exclude processing of the sources being passed. |
188 ['exclude', '\\.cc|h$'], | 193 ['exclude', '\\.cc|h$'], |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
223 '--var_name', 'dart::Bootstrap::async_source_', | 228 '--var_name', 'dart::Bootstrap::async_source_', |
224 '<@(async_dart)', | 229 '<@(async_dart)', |
225 ], | 230 ], |
226 'message': 'Generating ''<(async_cc_file)'' file.' | 231 'message': 'Generating ''<(async_cc_file)'' file.' |
227 }, | 232 }, |
228 ] | 233 ] |
229 }, | 234 }, |
230 { | 235 { |
231 'target_name': 'generate_corelib_cc_file', | 236 'target_name': 'generate_corelib_cc_file', |
232 'type': 'none', | 237 'type': 'none', |
| 238 'toolsets':['host', 'target'], |
233 'variables': { | 239 'variables': { |
234 'core_dart': '<(SHARED_INTERMEDIATE_DIR)/core_gen.dart', | 240 'core_dart': '<(gen_source_dir)/core_gen.dart', |
235 },'includes': [ | 241 },'includes': [ |
236 # Load the shared core library sources. | 242 # Load the shared core library sources. |
237 '../../sdk/lib/core/corelib_sources.gypi', | 243 '../../sdk/lib/core/corelib_sources.gypi', |
238 ], | 244 ], |
239 'sources/': [ | 245 'sources/': [ |
240 # Exclude all .[cc|h] files. | 246 # Exclude all .[cc|h] files. |
241 # This is only here for reference. Excludes happen after | 247 # This is only here for reference. Excludes happen after |
242 # variable expansion, so the script has to do its own | 248 # variable expansion, so the script has to do its own |
243 # exclude processing of the sources being passed. | 249 # exclude processing of the sources being passed. |
244 ['exclude', '\\.cc|h$'], | 250 ['exclude', '\\.cc|h$'], |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
279 '--var_name', 'dart::Bootstrap::corelib_source_', | 285 '--var_name', 'dart::Bootstrap::corelib_source_', |
280 '<(core_dart)', | 286 '<(core_dart)', |
281 ], | 287 ], |
282 'message': 'Generating ''<(corelib_cc_file)'' file.' | 288 'message': 'Generating ''<(corelib_cc_file)'' file.' |
283 }, | 289 }, |
284 ] | 290 ] |
285 }, | 291 }, |
286 { | 292 { |
287 'target_name': 'generate_corelib_patch_cc_file', | 293 'target_name': 'generate_corelib_patch_cc_file', |
288 'type': 'none', | 294 'type': 'none', |
| 295 'toolsets':['host', 'target'], |
289 'includes': [ | 296 'includes': [ |
290 # Load the runtime implementation sources. | 297 # Load the runtime implementation sources. |
291 '../lib/lib_sources.gypi', | 298 '../lib/lib_sources.gypi', |
292 ], | 299 ], |
293 'sources/': [ | 300 'sources/': [ |
294 # Exclude all .[cc|h] files. | 301 # Exclude all .[cc|h] files. |
295 # This is only here for reference. Excludes happen after | 302 # This is only here for reference. Excludes happen after |
296 # variable expansion, so the script has to do its own | 303 # variable expansion, so the script has to do its own |
297 # exclude processing of the sources being passed. | 304 # exclude processing of the sources being passed. |
298 ['exclude', '\\.cc|h$'], | 305 ['exclude', '\\.cc|h$'], |
(...skipping 18 matching lines...) Expand all Loading... |
317 '--var_name', 'dart::Bootstrap::corelib_patch_', | 324 '--var_name', 'dart::Bootstrap::corelib_patch_', |
318 '<@(_sources)', | 325 '<@(_sources)', |
319 ], | 326 ], |
320 'message': 'Generating ''<(corelib_patch_cc_file)'' file.' | 327 'message': 'Generating ''<(corelib_patch_cc_file)'' file.' |
321 }, | 328 }, |
322 ] | 329 ] |
323 }, | 330 }, |
324 { | 331 { |
325 'target_name': 'generate_collection_cc_file', | 332 'target_name': 'generate_collection_cc_file', |
326 'type': 'none', | 333 'type': 'none', |
| 334 'toolsets':['host', 'target'], |
327 'variables': { | 335 'variables': { |
328 'collection_dart': '<(SHARED_INTERMEDIATE_DIR)/collection_gen.dart', | 336 'collection_dart': '<(gen_source_dir)/collection_gen.dart', |
329 }, | 337 }, |
330 'includes': [ | 338 'includes': [ |
331 # Load the shared collection library sources. | 339 # Load the shared collection library sources. |
332 '../../sdk/lib/collection/collection_sources.gypi', | 340 '../../sdk/lib/collection/collection_sources.gypi', |
333 ], | 341 ], |
334 'sources/': [ | 342 'sources/': [ |
335 # Exclude all .[cc|h] files. | 343 # Exclude all .[cc|h] files. |
336 # This is only here for reference. Excludes happen after | 344 # This is only here for reference. Excludes happen after |
337 # variable expansion, so the script has to do its own | 345 # variable expansion, so the script has to do its own |
338 # exclude processing of the sources being passed. | 346 # exclude processing of the sources being passed. |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
374 '--var_name', 'dart::Bootstrap::collection_source_', | 382 '--var_name', 'dart::Bootstrap::collection_source_', |
375 '<(collection_dart)', | 383 '<(collection_dart)', |
376 ], | 384 ], |
377 'message': 'Generating ''<(collection_cc_file)'' file.' | 385 'message': 'Generating ''<(collection_cc_file)'' file.' |
378 }, | 386 }, |
379 ] | 387 ] |
380 }, | 388 }, |
381 { | 389 { |
382 'target_name': 'generate_collection_dev_patch_cc_file', | 390 'target_name': 'generate_collection_dev_patch_cc_file', |
383 'type': 'none', | 391 'type': 'none', |
| 392 'toolsets':['host', 'target'], |
384 'includes': [ | 393 'includes': [ |
385 # Load the runtime implementation sources. | 394 # Load the runtime implementation sources. |
386 '../lib/collection_dev_sources.gypi', | 395 '../lib/collection_dev_sources.gypi', |
387 ], | 396 ], |
388 'sources/': [ | 397 'sources/': [ |
389 # Exclude all .[cc|h] files. | 398 # Exclude all .[cc|h] files. |
390 # This is only here for reference. Excludes happen after | 399 # This is only here for reference. Excludes happen after |
391 # variable expansion, so the script has to do its own | 400 # variable expansion, so the script has to do its own |
392 # exclude processing of the sources being passed. | 401 # exclude processing of the sources being passed. |
393 ['exclude', '\\.cc|h$'], | 402 ['exclude', '\\.cc|h$'], |
(...skipping 18 matching lines...) Expand all Loading... |
412 '--var_name', 'dart::Bootstrap::collection_dev_patch_', | 421 '--var_name', 'dart::Bootstrap::collection_dev_patch_', |
413 '<@(_sources)', | 422 '<@(_sources)', |
414 ], | 423 ], |
415 'message': 'Generating ''<(collection_dev_patch_cc_file)'' file.' | 424 'message': 'Generating ''<(collection_dev_patch_cc_file)'' file.' |
416 }, | 425 }, |
417 ] | 426 ] |
418 }, | 427 }, |
419 { | 428 { |
420 'target_name': 'generate_collection_dev_cc_file', | 429 'target_name': 'generate_collection_dev_cc_file', |
421 'type': 'none', | 430 'type': 'none', |
| 431 'toolsets':['host', 'target'], |
422 'variables': { | 432 'variables': { |
423 'collection_dev_dart': '<(SHARED_INTERMEDIATE_DIR)/collection_dev_gen.da
rt', | 433 'collection_dev_dart': '<(gen_source_dir)/collection_dev_gen.dart', |
424 }, | 434 }, |
425 'includes': [ | 435 'includes': [ |
426 # Load the shared collection_dev library sources. | 436 # Load the shared collection_dev library sources. |
427 '../../sdk/lib/_collection_dev/collection_dev_sources.gypi', | 437 '../../sdk/lib/_collection_dev/collection_dev_sources.gypi', |
428 ], | 438 ], |
429 'sources/': [ | 439 'sources/': [ |
430 # Exclude all .[cc|h] files. | 440 # Exclude all .[cc|h] files. |
431 # This is only here for reference. Excludes happen after | 441 # This is only here for reference. Excludes happen after |
432 # variable expansion, so the script has to do its own | 442 # variable expansion, so the script has to do its own |
433 # exclude processing of the sources being passed. | 443 # exclude processing of the sources being passed. |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
469 '--var_name', 'dart::Bootstrap::collection_dev_source_', | 479 '--var_name', 'dart::Bootstrap::collection_dev_source_', |
470 '<(collection_dev_dart)', | 480 '<(collection_dev_dart)', |
471 ], | 481 ], |
472 'message': 'Generating ''<(collection_dev_cc_file)'' file.' | 482 'message': 'Generating ''<(collection_dev_cc_file)'' file.' |
473 }, | 483 }, |
474 ] | 484 ] |
475 }, | 485 }, |
476 { | 486 { |
477 'target_name': 'generate_crypto_cc_file', | 487 'target_name': 'generate_crypto_cc_file', |
478 'type': 'none', | 488 'type': 'none', |
| 489 'toolsets':['host', 'target'], |
479 'variables': { | 490 'variables': { |
480 'crypto_dart': '<(SHARED_INTERMEDIATE_DIR)/crypto_gen.dart', | 491 'crypto_dart': '<(gen_source_dir)/crypto_gen.dart', |
481 }, | 492 }, |
482 'includes': [ | 493 'includes': [ |
483 # Load the shared crypto sources. | 494 # Load the shared crypto sources. |
484 '../../sdk/lib/crypto/crypto_sources.gypi', | 495 '../../sdk/lib/crypto/crypto_sources.gypi', |
485 ], | 496 ], |
486 'actions': [ | 497 'actions': [ |
487 { | 498 { |
488 'action_name': 'generate_crypto_dart', | 499 'action_name': 'generate_crypto_dart', |
489 'inputs': [ | 500 'inputs': [ |
490 '../tools/concat_library.py', | 501 '../tools/concat_library.py', |
(...skipping 28 matching lines...) Expand all Loading... |
519 '--var_name', 'dart::Bootstrap::crypto_source_', | 530 '--var_name', 'dart::Bootstrap::crypto_source_', |
520 '<(crypto_dart)', | 531 '<(crypto_dart)', |
521 ], | 532 ], |
522 'message': 'Generating ''<(crypto_cc_file)'' file.' | 533 'message': 'Generating ''<(crypto_cc_file)'' file.' |
523 }, | 534 }, |
524 ] | 535 ] |
525 }, | 536 }, |
526 { | 537 { |
527 'target_name': 'generate_math_cc_file', | 538 'target_name': 'generate_math_cc_file', |
528 'type': 'none', | 539 'type': 'none', |
| 540 'toolsets':['host', 'target'], |
529 'variables': { | 541 'variables': { |
530 'math_dart': '<(SHARED_INTERMEDIATE_DIR)/math_gen.dart', | 542 'math_dart': '<(gen_source_dir)/math_gen.dart', |
531 }, | 543 }, |
532 'includes': [ | 544 'includes': [ |
533 # Load the shared math library sources. | 545 # Load the shared math library sources. |
534 '../../sdk/lib/math/math_sources.gypi', | 546 '../../sdk/lib/math/math_sources.gypi', |
535 ], | 547 ], |
536 'sources/': [ | 548 'sources/': [ |
537 # Exclude all .[cc|h] files. | 549 # Exclude all .[cc|h] files. |
538 # This is only here for reference. Excludes happen after | 550 # This is only here for reference. Excludes happen after |
539 # variable expansion, so the script has to do its own | 551 # variable expansion, so the script has to do its own |
540 # exclude processing of the sources being passed. | 552 # exclude processing of the sources being passed. |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
576 '--var_name', 'dart::Bootstrap::math_source_', | 588 '--var_name', 'dart::Bootstrap::math_source_', |
577 '<(math_dart)', | 589 '<(math_dart)', |
578 ], | 590 ], |
579 'message': 'Generating ''<(math_cc_file)'' file.' | 591 'message': 'Generating ''<(math_cc_file)'' file.' |
580 }, | 592 }, |
581 ] | 593 ] |
582 }, | 594 }, |
583 { | 595 { |
584 'target_name': 'generate_math_patch_cc_file', | 596 'target_name': 'generate_math_patch_cc_file', |
585 'type': 'none', | 597 'type': 'none', |
| 598 'toolsets':['host', 'target'], |
586 'includes': [ | 599 'includes': [ |
587 # Load the shared math library sources. | 600 # Load the shared math library sources. |
588 '../lib/math_sources.gypi', | 601 '../lib/math_sources.gypi', |
589 ], | 602 ], |
590 'sources/': [ | 603 'sources/': [ |
591 # Exclude all .[cc|h] files. | 604 # Exclude all .[cc|h] files. |
592 # This is only here for reference. Excludes happen after | 605 # This is only here for reference. Excludes happen after |
593 # variable expansion, so the script has to do its own | 606 # variable expansion, so the script has to do its own |
594 # exclude processing of the sources being passed. | 607 # exclude processing of the sources being passed. |
595 ['exclude', '\\.cc|h$'], | 608 ['exclude', '\\.cc|h$'], |
(...skipping 18 matching lines...) Expand all Loading... |
614 '--var_name', 'dart::Bootstrap::math_patch_', | 627 '--var_name', 'dart::Bootstrap::math_patch_', |
615 '<@(_sources)', | 628 '<@(_sources)', |
616 ], | 629 ], |
617 'message': 'Generating ''<(math_patch_cc_file)'' file.' | 630 'message': 'Generating ''<(math_patch_cc_file)'' file.' |
618 }, | 631 }, |
619 ] | 632 ] |
620 }, | 633 }, |
621 { | 634 { |
622 'target_name': 'generate_mirrors_cc_file', | 635 'target_name': 'generate_mirrors_cc_file', |
623 'type': 'none', | 636 'type': 'none', |
| 637 'toolsets':['host', 'target'], |
624 'variables': { | 638 'variables': { |
625 'mirrors_dart': '<(SHARED_INTERMEDIATE_DIR)/mirrors_gen.dart', | 639 'mirrors_dart': '<(gen_source_dir)/mirrors_gen.dart', |
626 }, | 640 }, |
627 'includes': [ | 641 'includes': [ |
628 # Load the shared core library sources. | 642 # Load the shared core library sources. |
629 '../../sdk/lib/mirrors/mirrors_sources.gypi', | 643 '../../sdk/lib/mirrors/mirrors_sources.gypi', |
630 ], | 644 ], |
631 'sources/': [ | 645 'sources/': [ |
632 # Exclude all .[cc|h] files. | 646 # Exclude all .[cc|h] files. |
633 # This is only here for reference. Excludes happen after | 647 # This is only here for reference. Excludes happen after |
634 # variable expansion, so the script has to do its own | 648 # variable expansion, so the script has to do its own |
635 # exclude processing of the sources being passed. | 649 # exclude processing of the sources being passed. |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
671 '--var_name', 'dart::Bootstrap::mirrors_source_', | 685 '--var_name', 'dart::Bootstrap::mirrors_source_', |
672 '<(mirrors_dart)', | 686 '<(mirrors_dart)', |
673 ], | 687 ], |
674 'message': 'Generating ''<(mirrors_cc_file)'' file.' | 688 'message': 'Generating ''<(mirrors_cc_file)'' file.' |
675 }, | 689 }, |
676 ] | 690 ] |
677 }, | 691 }, |
678 { | 692 { |
679 'target_name': 'generate_mirrors_patch_cc_file', | 693 'target_name': 'generate_mirrors_patch_cc_file', |
680 'type': 'none', | 694 'type': 'none', |
| 695 'toolsets':['host', 'target'], |
681 'includes': [ | 696 'includes': [ |
682 # Load the patch sources. | 697 # Load the patch sources. |
683 '../lib/mirrors_sources.gypi', | 698 '../lib/mirrors_sources.gypi', |
684 ], | 699 ], |
685 'sources/': [ | 700 'sources/': [ |
686 # Exclude all .[cc|h] files. | 701 # Exclude all .[cc|h] files. |
687 # This is only here for reference. Excludes happen after | 702 # This is only here for reference. Excludes happen after |
688 # variable expansion, so the script has to do its own | 703 # variable expansion, so the script has to do its own |
689 # exclude processing of the sources being passed. | 704 # exclude processing of the sources being passed. |
690 ['exclude', '\\.cc|h$'], | 705 ['exclude', '\\.cc|h$'], |
(...skipping 18 matching lines...) Expand all Loading... |
709 '--var_name', 'dart::Bootstrap::mirrors_patch_', | 724 '--var_name', 'dart::Bootstrap::mirrors_patch_', |
710 '<@(_sources)', | 725 '<@(_sources)', |
711 ], | 726 ], |
712 'message': 'Generating ''<(mirrors_patch_cc_file)'' file.' | 727 'message': 'Generating ''<(mirrors_patch_cc_file)'' file.' |
713 }, | 728 }, |
714 ] | 729 ] |
715 }, | 730 }, |
716 { | 731 { |
717 'target_name': 'generate_isolate_cc_file', | 732 'target_name': 'generate_isolate_cc_file', |
718 'type': 'none', | 733 'type': 'none', |
| 734 'toolsets':['host', 'target'], |
719 'variables': { | 735 'variables': { |
720 'isolate_dart': '<(SHARED_INTERMEDIATE_DIR)/isolate_gen.dart', | 736 'isolate_dart': '<(gen_source_dir)/isolate_gen.dart', |
721 }, | 737 }, |
722 'includes': [ | 738 'includes': [ |
723 # Load the runtime implementation sources. | 739 # Load the runtime implementation sources. |
724 '../../sdk/lib/isolate/isolate_sources.gypi', | 740 '../../sdk/lib/isolate/isolate_sources.gypi', |
725 ], | 741 ], |
726 'sources/': [ | 742 'sources/': [ |
727 # Exclude all .[cc|h] files. | 743 # Exclude all .[cc|h] files. |
728 # This is only here for reference. Excludes happen after | 744 # This is only here for reference. Excludes happen after |
729 # variable expansion, so the script has to do its own | 745 # variable expansion, so the script has to do its own |
730 # exclude processing of the sources being passed. | 746 # exclude processing of the sources being passed. |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
766 '--var_name', 'dart::Bootstrap::isolate_source_', | 782 '--var_name', 'dart::Bootstrap::isolate_source_', |
767 '<(isolate_dart)', | 783 '<(isolate_dart)', |
768 ], | 784 ], |
769 'message': 'Generating ''<(isolate_cc_file)'' file.' | 785 'message': 'Generating ''<(isolate_cc_file)'' file.' |
770 }, | 786 }, |
771 ] | 787 ] |
772 }, | 788 }, |
773 { | 789 { |
774 'target_name': 'generate_async_patch_cc_file', | 790 'target_name': 'generate_async_patch_cc_file', |
775 'type': 'none', | 791 'type': 'none', |
| 792 'toolsets':['host', 'target'], |
776 'includes': [ | 793 'includes': [ |
777 # Load the runtime implementation sources. | 794 # Load the runtime implementation sources. |
778 '../lib/async_sources.gypi', | 795 '../lib/async_sources.gypi', |
779 ], | 796 ], |
780 'sources/': [ | 797 'sources/': [ |
781 # Exclude all .[cc|h] files. | 798 # Exclude all .[cc|h] files. |
782 # This is only here for reference. Excludes happen after | 799 # This is only here for reference. Excludes happen after |
783 # variable expansion, so the script has to do its own | 800 # variable expansion, so the script has to do its own |
784 # exclude processing of the sources being passed. | 801 # exclude processing of the sources being passed. |
785 ['exclude', '\\.cc|h$'], | 802 ['exclude', '\\.cc|h$'], |
(...skipping 18 matching lines...) Expand all Loading... |
804 '--var_name', 'dart::Bootstrap::async_patch_', | 821 '--var_name', 'dart::Bootstrap::async_patch_', |
805 '<@(_sources)', | 822 '<@(_sources)', |
806 ], | 823 ], |
807 'message': 'Generating ''<(async_patch_cc_file)'' file.' | 824 'message': 'Generating ''<(async_patch_cc_file)'' file.' |
808 }, | 825 }, |
809 ] | 826 ] |
810 }, | 827 }, |
811 { | 828 { |
812 'target_name': 'generate_collection_patch_cc_file', | 829 'target_name': 'generate_collection_patch_cc_file', |
813 'type': 'none', | 830 'type': 'none', |
| 831 'toolsets':['host', 'target'], |
814 'includes': [ | 832 'includes': [ |
815 # Load the runtime implementation sources. | 833 # Load the runtime implementation sources. |
816 '../lib/collection_sources.gypi', | 834 '../lib/collection_sources.gypi', |
817 ], | 835 ], |
818 'sources/': [ | 836 'sources/': [ |
819 # Exclude all .[cc|h] files. | 837 # Exclude all .[cc|h] files. |
820 # This is only here for reference. Excludes happen after | 838 # This is only here for reference. Excludes happen after |
821 # variable expansion, so the script has to do its own | 839 # variable expansion, so the script has to do its own |
822 # exclude processing of the sources being passed. | 840 # exclude processing of the sources being passed. |
823 ['exclude', '\\.cc|h$'], | 841 ['exclude', '\\.cc|h$'], |
(...skipping 18 matching lines...) Expand all Loading... |
842 '--var_name', 'dart::Bootstrap::collection_patch_', | 860 '--var_name', 'dart::Bootstrap::collection_patch_', |
843 '<@(_sources)', | 861 '<@(_sources)', |
844 ], | 862 ], |
845 'message': 'Generating ''<(collection_patch_cc_file)'' file.' | 863 'message': 'Generating ''<(collection_patch_cc_file)'' file.' |
846 }, | 864 }, |
847 ] | 865 ] |
848 }, | 866 }, |
849 { | 867 { |
850 'target_name': 'generate_isolate_patch_cc_file', | 868 'target_name': 'generate_isolate_patch_cc_file', |
851 'type': 'none', | 869 'type': 'none', |
| 870 'toolsets':['host', 'target'], |
852 'includes': [ | 871 'includes': [ |
853 # Load the runtime implementation sources. | 872 # Load the runtime implementation sources. |
854 '../lib/isolate_sources.gypi', | 873 '../lib/isolate_sources.gypi', |
855 ], | 874 ], |
856 'sources/': [ | 875 'sources/': [ |
857 # Exclude all .[cc|h] files. | 876 # Exclude all .[cc|h] files. |
858 # This is only here for reference. Excludes happen after | 877 # This is only here for reference. Excludes happen after |
859 # variable expansion, so the script has to do its own | 878 # variable expansion, so the script has to do its own |
860 # exclude processing of the sources being passed. | 879 # exclude processing of the sources being passed. |
861 ['exclude', '\\.cc|h$'], | 880 ['exclude', '\\.cc|h$'], |
(...skipping 18 matching lines...) Expand all Loading... |
880 '--var_name', 'dart::Bootstrap::isolate_patch_', | 899 '--var_name', 'dart::Bootstrap::isolate_patch_', |
881 '<@(_sources)', | 900 '<@(_sources)', |
882 ], | 901 ], |
883 'message': 'Generating ''<(isolate_patch_cc_file)'' file.' | 902 'message': 'Generating ''<(isolate_patch_cc_file)'' file.' |
884 }, | 903 }, |
885 ] | 904 ] |
886 }, | 905 }, |
887 { | 906 { |
888 'target_name': 'generate_json_cc_file', | 907 'target_name': 'generate_json_cc_file', |
889 'type': 'none', | 908 'type': 'none', |
| 909 'toolsets':['host', 'target'], |
890 'variables': { | 910 'variables': { |
891 'json_dart': '<(SHARED_INTERMEDIATE_DIR)/json_gen.dart', | 911 'json_dart': '<(gen_source_dir)/json_gen.dart', |
892 }, | 912 }, |
893 'includes': [ | 913 'includes': [ |
894 # Load the shared json sources. | 914 # Load the shared json sources. |
895 '../../sdk/lib/json/json_sources.gypi', | 915 '../../sdk/lib/json/json_sources.gypi', |
896 ], | 916 ], |
897 'actions': [ | 917 'actions': [ |
898 { | 918 { |
899 'action_name': 'generate_json_dart', | 919 'action_name': 'generate_json_dart', |
900 'inputs': [ | 920 'inputs': [ |
901 '../tools/concat_library.py', | 921 '../tools/concat_library.py', |
(...skipping 28 matching lines...) Expand all Loading... |
930 '--var_name', 'dart::Bootstrap::json_source_', | 950 '--var_name', 'dart::Bootstrap::json_source_', |
931 '<(json_dart)', | 951 '<(json_dart)', |
932 ], | 952 ], |
933 'message': 'Generating ''<(json_cc_file)'' file.' | 953 'message': 'Generating ''<(json_cc_file)'' file.' |
934 }, | 954 }, |
935 ] | 955 ] |
936 }, | 956 }, |
937 { | 957 { |
938 'target_name': 'generate_json_patch_cc_file', | 958 'target_name': 'generate_json_patch_cc_file', |
939 'type': 'none', | 959 'type': 'none', |
| 960 'toolsets':['host', 'target'], |
940 'includes': [ | 961 'includes': [ |
941 # Load the shared json library sources. | 962 # Load the shared json library sources. |
942 '../lib/json_sources.gypi', | 963 '../lib/json_sources.gypi', |
943 ], | 964 ], |
944 'sources/': [ | 965 'sources/': [ |
945 # Exclude all .[cc|h] files. | 966 # Exclude all .[cc|h] files. |
946 # This is only here for reference. Excludes happen after | 967 # This is only here for reference. Excludes happen after |
947 # variable expansion, so the script has to do its own | 968 # variable expansion, so the script has to do its own |
948 # exclude processing of the sources being passed. | 969 # exclude processing of the sources being passed. |
949 ['exclude', '\\.cc|h$'], | 970 ['exclude', '\\.cc|h$'], |
(...skipping 18 matching lines...) Expand all Loading... |
968 '--var_name', 'dart::Bootstrap::json_patch_', | 989 '--var_name', 'dart::Bootstrap::json_patch_', |
969 '<@(_sources)', | 990 '<@(_sources)', |
970 ], | 991 ], |
971 'message': 'Generating ''<(json_patch_cc_file)'' file.' | 992 'message': 'Generating ''<(json_patch_cc_file)'' file.' |
972 }, | 993 }, |
973 ] | 994 ] |
974 }, | 995 }, |
975 { | 996 { |
976 'target_name': 'generate_typeddata_cc_file', | 997 'target_name': 'generate_typeddata_cc_file', |
977 'type': 'none', | 998 'type': 'none', |
| 999 'toolsets':['host', 'target'], |
978 'variables': { | 1000 'variables': { |
979 'typeddata_dart': '<(SHARED_INTERMEDIATE_DIR)/typeddata_gen.dart', | 1001 'typeddata_dart': '<(gen_source_dir)/typeddata_gen.dart', |
980 }, | 1002 }, |
981 'includes': [ | 1003 'includes': [ |
982 # Load the shared library sources. | 1004 # Load the shared library sources. |
983 '../../sdk/lib/typeddata/typeddata_sources.gypi', | 1005 '../../sdk/lib/typeddata/typeddata_sources.gypi', |
984 ], | 1006 ], |
985 'sources/': [ | 1007 'sources/': [ |
986 # Exclude all .[cc|h] files. | 1008 # Exclude all .[cc|h] files. |
987 # This is only here for reference. Excludes happen after | 1009 # This is only here for reference. Excludes happen after |
988 # variable expansion, so the script has to do its own | 1010 # variable expansion, so the script has to do its own |
989 # exclude processing of the sources being passed. | 1011 # exclude processing of the sources being passed. |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1025 '--var_name', 'dart::Bootstrap::typeddata_source_', | 1047 '--var_name', 'dart::Bootstrap::typeddata_source_', |
1026 '<(typeddata_dart)', | 1048 '<(typeddata_dart)', |
1027 ], | 1049 ], |
1028 'message': 'Generating ''<(typeddata_cc_file)'' file.' | 1050 'message': 'Generating ''<(typeddata_cc_file)'' file.' |
1029 }, | 1051 }, |
1030 ] | 1052 ] |
1031 }, | 1053 }, |
1032 { | 1054 { |
1033 'target_name': 'generate_typeddata_patch_cc_file', | 1055 'target_name': 'generate_typeddata_patch_cc_file', |
1034 'type': 'none', | 1056 'type': 'none', |
| 1057 'toolsets':['host', 'target'], |
1035 'includes': [ | 1058 'includes': [ |
1036 # Load the runtime implementation sources. | 1059 # Load the runtime implementation sources. |
1037 '../lib/typeddata_sources.gypi', | 1060 '../lib/typeddata_sources.gypi', |
1038 ], | 1061 ], |
1039 'sources/': [ | 1062 'sources/': [ |
1040 # Exclude all .[cc|h] files. | 1063 # Exclude all .[cc|h] files. |
1041 # This is only here for reference. Excludes happen after | 1064 # This is only here for reference. Excludes happen after |
1042 # variable expansion, so the script has to do its own | 1065 # variable expansion, so the script has to do its own |
1043 # exclude processing of the sources being passed. | 1066 # exclude processing of the sources being passed. |
1044 ['exclude', '\\.cc|h$'], | 1067 ['exclude', '\\.cc|h$'], |
(...skipping 18 matching lines...) Expand all Loading... |
1063 '--var_name', 'dart::Bootstrap::typeddata_patch_', | 1086 '--var_name', 'dart::Bootstrap::typeddata_patch_', |
1064 '<@(_sources)', | 1087 '<@(_sources)', |
1065 ], | 1088 ], |
1066 'message': 'Generating ''<(typeddata_patch_cc_file)'' file.' | 1089 'message': 'Generating ''<(typeddata_patch_cc_file)'' file.' |
1067 }, | 1090 }, |
1068 ] | 1091 ] |
1069 }, | 1092 }, |
1070 { | 1093 { |
1071 'target_name': 'generate_uri_cc_file', | 1094 'target_name': 'generate_uri_cc_file', |
1072 'type': 'none', | 1095 'type': 'none', |
| 1096 'toolsets':['host', 'target'], |
1073 'variables': { | 1097 'variables': { |
1074 'uri_dart': '<(SHARED_INTERMEDIATE_DIR)/uri_gen.dart', | 1098 'uri_dart': '<(gen_source_dir)/uri_gen.dart', |
1075 }, | 1099 }, |
1076 'includes': [ | 1100 'includes': [ |
1077 # Load the shared uri sources. | 1101 # Load the shared uri sources. |
1078 '../../sdk/lib/uri/uri_sources.gypi', | 1102 '../../sdk/lib/uri/uri_sources.gypi', |
1079 ], | 1103 ], |
1080 'actions': [ | 1104 'actions': [ |
1081 { | 1105 { |
1082 'action_name': 'generate_uri_dart', | 1106 'action_name': 'generate_uri_dart', |
1083 'inputs': [ | 1107 'inputs': [ |
1084 '../tools/concat_library.py', | 1108 '../tools/concat_library.py', |
(...skipping 28 matching lines...) Expand all Loading... |
1113 '--var_name', 'dart::Bootstrap::uri_source_', | 1137 '--var_name', 'dart::Bootstrap::uri_source_', |
1114 '<(uri_dart)', | 1138 '<(uri_dart)', |
1115 ], | 1139 ], |
1116 'message': 'Generating ''<(uri_cc_file)'' file.' | 1140 'message': 'Generating ''<(uri_cc_file)'' file.' |
1117 }, | 1141 }, |
1118 ] | 1142 ] |
1119 }, | 1143 }, |
1120 { | 1144 { |
1121 'target_name': 'generate_utf_cc_file', | 1145 'target_name': 'generate_utf_cc_file', |
1122 'type': 'none', | 1146 'type': 'none', |
| 1147 'toolsets':['host', 'target'], |
1123 'variables': { | 1148 'variables': { |
1124 'utf_dart': '<(SHARED_INTERMEDIATE_DIR)/utf_gen.dart', | 1149 'utf_dart': '<(gen_source_dir)/utf_gen.dart', |
1125 }, | 1150 }, |
1126 'includes': [ | 1151 'includes': [ |
1127 # Load the shared utf sources. | 1152 # Load the shared utf sources. |
1128 '../../sdk/lib/utf/utf_sources.gypi', | 1153 '../../sdk/lib/utf/utf_sources.gypi', |
1129 ], | 1154 ], |
1130 'actions': [ | 1155 'actions': [ |
1131 { | 1156 { |
1132 'action_name': 'generate_utf_dart', | 1157 'action_name': 'generate_utf_dart', |
1133 'inputs': [ | 1158 'inputs': [ |
1134 '../tools/concat_library.py', | 1159 '../tools/concat_library.py', |
(...skipping 28 matching lines...) Expand all Loading... |
1163 '--var_name', 'dart::Bootstrap::utf_source_', | 1188 '--var_name', 'dart::Bootstrap::utf_source_', |
1164 '<(utf_dart)', | 1189 '<(utf_dart)', |
1165 ], | 1190 ], |
1166 'message': 'Generating ''<(utf_cc_file)'' file.' | 1191 'message': 'Generating ''<(utf_cc_file)'' file.' |
1167 }, | 1192 }, |
1168 ] | 1193 ] |
1169 }, | 1194 }, |
1170 { | 1195 { |
1171 'target_name': 'generate_snapshot_test_dat_file', | 1196 'target_name': 'generate_snapshot_test_dat_file', |
1172 'type': 'none', | 1197 'type': 'none', |
| 1198 'toolsets':['host', 'target'], |
1173 'actions': [ | 1199 'actions': [ |
1174 { | 1200 { |
1175 'action_name': 'generate_snapshot_test_dat', | 1201 'action_name': 'generate_snapshot_test_dat', |
1176 'inputs': [ | 1202 'inputs': [ |
1177 '../tools/create_string_literal.py', | 1203 '../tools/create_string_literal.py', |
1178 '<(snapshot_test_in_dat_file)', | 1204 '<(snapshot_test_in_dat_file)', |
1179 '<(snapshot_test_dart_file)', | 1205 '<(snapshot_test_dart_file)', |
1180 ], | 1206 ], |
1181 'outputs': [ | 1207 'outputs': [ |
1182 '<(snapshot_test_dat_file)', | 1208 '<(snapshot_test_dat_file)', |
1183 ], | 1209 ], |
1184 'action': [ | 1210 'action': [ |
1185 'python', | 1211 'python', |
1186 'tools/create_string_literal.py', | 1212 'tools/create_string_literal.py', |
1187 '--output', '<(snapshot_test_dat_file)', | 1213 '--output', '<(snapshot_test_dat_file)', |
1188 '--input_cc', '<(snapshot_test_in_dat_file)', | 1214 '--input_cc', '<(snapshot_test_in_dat_file)', |
1189 '--include', 'INTENTIONALLY_LEFT_BLANK', | 1215 '--include', 'INTENTIONALLY_LEFT_BLANK', |
1190 '--var_name', 'INTENTIONALLY_LEFT_BLANK_TOO', | 1216 '--var_name', 'INTENTIONALLY_LEFT_BLANK_TOO', |
1191 '<(snapshot_test_dart_file)', | 1217 '<(snapshot_test_dart_file)', |
1192 ], | 1218 ], |
1193 'message': 'Generating ''<(snapshot_test_dat_file)'' file.' | 1219 'message': 'Generating ''<(snapshot_test_dat_file)'' file.' |
1194 }, | 1220 }, |
1195 ] | 1221 ] |
1196 }, | 1222 }, |
1197 ] | 1223 ] |
1198 } | 1224 } |
OLD | NEW |