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', |
11 'async_patch_cc_file': '<(gen_source_dir)/async_patch_gen.cc', | 11 'async_patch_cc_file': '<(gen_source_dir)/async_patch_gen.cc', |
12 'corelib_cc_file': '<(gen_source_dir)/corelib_gen.cc', | 12 'corelib_cc_file': '<(gen_source_dir)/corelib_gen.cc', |
13 'corelib_patch_cc_file': '<(gen_source_dir)/corelib_patch_gen.cc', | 13 'corelib_patch_cc_file': '<(gen_source_dir)/corelib_patch_gen.cc', |
14 'codec_cc_file': '<(gen_source_dir)/codec_gen.cc', | |
15 'collection_cc_file': '<(gen_source_dir)/collection_gen.cc', | 14 'collection_cc_file': '<(gen_source_dir)/collection_gen.cc', |
16 'collection_patch_cc_file': '<(gen_source_dir)/collection_patch_gen.cc', | 15 'collection_patch_cc_file': '<(gen_source_dir)/collection_patch_gen.cc', |
17 'collection_dev_cc_file': '<(gen_source_dir)/collection_dev_gen.cc', | 16 'collection_dev_cc_file': '<(gen_source_dir)/collection_dev_gen.cc', |
18 'collection_dev_patch_cc_file': '<(gen_source_dir)/collection_dev_patch_gen.
cc', | 17 'collection_dev_patch_cc_file': '<(gen_source_dir)/collection_dev_patch_gen.
cc', |
19 'convert_cc_file': '<(gen_source_dir)/convert_gen.cc', | 18 'convert_cc_file': '<(gen_source_dir)/convert_gen.cc', |
20 'math_cc_file': '<(gen_source_dir)/math_gen.cc', | 19 'math_cc_file': '<(gen_source_dir)/math_gen.cc', |
21 'math_patch_cc_file': '<(gen_source_dir)/math_patch_gen.cc', | 20 'math_patch_cc_file': '<(gen_source_dir)/math_patch_gen.cc', |
22 'mirrors_cc_file': '<(gen_source_dir)/mirrors_gen.cc', | 21 'mirrors_cc_file': '<(gen_source_dir)/mirrors_gen.cc', |
23 'mirrors_patch_cc_file': '<(gen_source_dir)/mirrors_patch_gen.cc', | 22 'mirrors_patch_cc_file': '<(gen_source_dir)/mirrors_patch_gen.cc', |
24 'isolate_cc_file': '<(gen_source_dir)/isolate_gen.cc', | 23 'isolate_cc_file': '<(gen_source_dir)/isolate_gen.cc', |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 }, | 89 }, |
91 }]], | 90 }]], |
92 }, | 91 }, |
93 { | 92 { |
94 'target_name': 'libdart_lib_withcore', | 93 'target_name': 'libdart_lib_withcore', |
95 'type': 'static_library', | 94 'type': 'static_library', |
96 'toolsets':['host', 'target'], | 95 'toolsets':['host', 'target'], |
97 'dependencies': [ | 96 'dependencies': [ |
98 'generate_async_cc_file#host', | 97 'generate_async_cc_file#host', |
99 'generate_async_patch_cc_file#host', | 98 'generate_async_patch_cc_file#host', |
100 'generate_codec_cc_file#host', | |
101 'generate_corelib_cc_file#host', | 99 'generate_corelib_cc_file#host', |
102 'generate_corelib_patch_cc_file#host', | 100 'generate_corelib_patch_cc_file#host', |
103 'generate_collection_cc_file#host', | 101 'generate_collection_cc_file#host', |
104 'generate_collection_patch_cc_file#host', | 102 'generate_collection_patch_cc_file#host', |
105 'generate_collection_dev_cc_file#host', | 103 'generate_collection_dev_cc_file#host', |
106 'generate_collection_dev_patch_cc_file#host', | 104 'generate_collection_dev_patch_cc_file#host', |
107 'generate_convert_cc_file#host', | 105 'generate_convert_cc_file#host', |
108 'generate_math_cc_file#host', | 106 'generate_math_cc_file#host', |
109 'generate_math_patch_cc_file#host', | 107 'generate_math_patch_cc_file#host', |
110 'generate_isolate_cc_file#host', | 108 'generate_isolate_cc_file#host', |
(...skipping 13 matching lines...) Expand all Loading... |
124 '../lib/isolate_sources.gypi', | 122 '../lib/isolate_sources.gypi', |
125 '../lib/math_sources.gypi', | 123 '../lib/math_sources.gypi', |
126 '../lib/mirrors_sources.gypi', | 124 '../lib/mirrors_sources.gypi', |
127 '../lib/typed_data_sources.gypi', | 125 '../lib/typed_data_sources.gypi', |
128 ], | 126 ], |
129 'sources': [ | 127 'sources': [ |
130 'bootstrap.cc', | 128 'bootstrap.cc', |
131 # Include generated source files. | 129 # Include generated source files. |
132 '<(async_cc_file)', | 130 '<(async_cc_file)', |
133 '<(async_patch_cc_file)', | 131 '<(async_patch_cc_file)', |
134 '<(codec_cc_file)', | |
135 '<(corelib_cc_file)', | 132 '<(corelib_cc_file)', |
136 '<(corelib_patch_cc_file)', | 133 '<(corelib_patch_cc_file)', |
137 '<(collection_cc_file)', | 134 '<(collection_cc_file)', |
138 '<(collection_patch_cc_file)', | 135 '<(collection_patch_cc_file)', |
139 '<(collection_dev_cc_file)', | 136 '<(collection_dev_cc_file)', |
140 '<(collection_dev_patch_cc_file)', | 137 '<(collection_dev_patch_cc_file)', |
141 '<(convert_cc_file)', | 138 '<(convert_cc_file)', |
142 '<(math_cc_file)', | 139 '<(math_cc_file)', |
143 '<(math_patch_cc_file)', | 140 '<(math_patch_cc_file)', |
144 '<(isolate_cc_file)', | 141 '<(isolate_cc_file)', |
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
328 '--include', 'vm/bootstrap.h', | 325 '--include', 'vm/bootstrap.h', |
329 '--var_name', 'dart::Bootstrap::collection_source_paths_', | 326 '--var_name', 'dart::Bootstrap::collection_source_paths_', |
330 '--library_name', 'dart:collection', | 327 '--library_name', 'dart:collection', |
331 '<@(_sources)', | 328 '<@(_sources)', |
332 ], | 329 ], |
333 'message': 'Generating ''<(collection_cc_file)'' file.' | 330 'message': 'Generating ''<(collection_cc_file)'' file.' |
334 }, | 331 }, |
335 ] | 332 ] |
336 }, | 333 }, |
337 { | 334 { |
338 'target_name': 'generate_codec_cc_file', | |
339 'type': 'none', | |
340 'toolsets':['host'], | |
341 'includes': [ | |
342 # Load the shared codec library sources. | |
343 '../../sdk/lib/codec/codec_sources.gypi', | |
344 ], | |
345 'sources/': [ | |
346 # Exclude all .[cc|h] files. | |
347 # This is only here for reference. Excludes happen after | |
348 # variable expansion, so the script has to do its own | |
349 # exclude processing of the sources being passed. | |
350 ['exclude', '\\.cc|h$'], | |
351 ], | |
352 'actions': [ | |
353 { | |
354 'action_name': 'generate_codec_cc', | |
355 'inputs': [ | |
356 '../tools/gen_library_src_paths.py', | |
357 '<(libgen_in_cc_file)', | |
358 '<@(_sources)', | |
359 ], | |
360 'outputs': [ | |
361 '<(codec_cc_file)', | |
362 ], | |
363 'action': [ | |
364 'python', | |
365 'tools/gen_library_src_paths.py', | |
366 '--output', '<(codec_cc_file)', | |
367 '--input_cc', '<(libgen_in_cc_file)', | |
368 '--include', 'vm/bootstrap.h', | |
369 '--var_name', 'dart::Bootstrap::codec_source_paths_', | |
370 '--library_name', 'dart:codec', | |
371 '<@(_sources)', | |
372 ], | |
373 'message': 'Generating ''<(codec_cc_file)'' file.' | |
374 }, | |
375 ] | |
376 }, | |
377 { | |
378 'target_name': 'generate_collection_dev_patch_cc_file', | 335 'target_name': 'generate_collection_dev_patch_cc_file', |
379 'type': 'none', | 336 'type': 'none', |
380 'toolsets':['host'], | 337 'toolsets':['host'], |
381 'includes': [ | 338 'includes': [ |
382 # Load the runtime implementation sources. | 339 # Load the runtime implementation sources. |
383 '../lib/collection_dev_sources.gypi', | 340 '../lib/collection_dev_sources.gypi', |
384 ], | 341 ], |
385 'sources/': [ | 342 'sources/': [ |
386 # Exclude all .[cc|h] files. | 343 # Exclude all .[cc|h] files. |
387 # This is only here for reference. Excludes happen after | 344 # This is only here for reference. Excludes happen after |
(...skipping 635 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1023 '--include', 'INTENTIONALLY_LEFT_BLANK', | 980 '--include', 'INTENTIONALLY_LEFT_BLANK', |
1024 '--var_name', 'INTENTIONALLY_LEFT_BLANK_TOO', | 981 '--var_name', 'INTENTIONALLY_LEFT_BLANK_TOO', |
1025 '<(snapshot_test_dart_file)', | 982 '<(snapshot_test_dart_file)', |
1026 ], | 983 ], |
1027 'message': 'Generating ''<(snapshot_test_dat_file)'' file.' | 984 'message': 'Generating ''<(snapshot_test_dat_file)'' file.' |
1028 }, | 985 }, |
1029 ] | 986 ] |
1030 }, | 987 }, |
1031 ] | 988 ] |
1032 } | 989 } |
OLD | NEW |