| 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 'async_cc_file': '<(SHARED_INTERMEDIATE_DIR)/async_gen.cc', | 8 'async_cc_file': '<(SHARED_INTERMEDIATE_DIR)/async_gen.cc', |
| 9 'async_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/async_patch_gen.cc', | 9 'async_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/async_patch_gen.cc', |
| 10 'corelib_cc_file': '<(SHARED_INTERMEDIATE_DIR)/corelib_gen.cc', | 10 'corelib_cc_file': '<(SHARED_INTERMEDIATE_DIR)/corelib_gen.cc', |
| 11 'corelib_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/corelib_patch_gen.cc', | 11 'corelib_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/corelib_patch_gen.cc', |
| 12 'collection_cc_file': '<(SHARED_INTERMEDIATE_DIR)/collection_gen.cc', | 12 'collection_cc_file': '<(SHARED_INTERMEDIATE_DIR)/collection_gen.cc', |
| 13 'collection_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/collection_patch_gen
.cc', |
| 13 'collection_dev_cc_file': '<(SHARED_INTERMEDIATE_DIR)/collection_dev_gen.cc'
, | 14 'collection_dev_cc_file': '<(SHARED_INTERMEDIATE_DIR)/collection_dev_gen.cc'
, |
| 14 'crypto_cc_file': '<(SHARED_INTERMEDIATE_DIR)/crypto_gen.cc', | 15 'crypto_cc_file': '<(SHARED_INTERMEDIATE_DIR)/crypto_gen.cc', |
| 15 'math_cc_file': '<(SHARED_INTERMEDIATE_DIR)/math_gen.cc', | 16 'math_cc_file': '<(SHARED_INTERMEDIATE_DIR)/math_gen.cc', |
| 16 'math_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/math_patch_gen.cc', | 17 'math_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/math_patch_gen.cc', |
| 17 'mirrors_cc_file': '<(SHARED_INTERMEDIATE_DIR)/mirrors_gen.cc', | 18 'mirrors_cc_file': '<(SHARED_INTERMEDIATE_DIR)/mirrors_gen.cc', |
| 18 'mirrors_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/mirrors_patch_gen.cc', | 19 'mirrors_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/mirrors_patch_gen.cc', |
| 19 'isolate_cc_file': '<(SHARED_INTERMEDIATE_DIR)/isolate_gen.cc', | 20 'isolate_cc_file': '<(SHARED_INTERMEDIATE_DIR)/isolate_gen.cc', |
| 20 'isolate_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/isolate_patch_gen.cc', | 21 'isolate_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/isolate_patch_gen.cc', |
| 21 'json_cc_file': '<(SHARED_INTERMEDIATE_DIR)/json_gen.cc', | 22 'json_cc_file': '<(SHARED_INTERMEDIATE_DIR)/json_gen.cc', |
| 22 'json_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/json_patch_gen.cc', | 23 'json_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/json_patch_gen.cc', |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 }, | 91 }, |
| 91 { | 92 { |
| 92 'target_name': 'libdart_lib_withcore', | 93 'target_name': 'libdart_lib_withcore', |
| 93 'type': 'static_library', | 94 'type': 'static_library', |
| 94 'dependencies': [ | 95 'dependencies': [ |
| 95 'generate_async_cc_file', | 96 'generate_async_cc_file', |
| 96 'generate_async_patch_cc_file', | 97 'generate_async_patch_cc_file', |
| 97 'generate_corelib_cc_file', | 98 'generate_corelib_cc_file', |
| 98 'generate_corelib_patch_cc_file', | 99 'generate_corelib_patch_cc_file', |
| 99 'generate_collection_cc_file', | 100 'generate_collection_cc_file', |
| 101 'generate_collection_patch_cc_file', |
| 100 'generate_collection_dev_cc_file', | 102 'generate_collection_dev_cc_file', |
| 101 'generate_crypto_cc_file', | 103 'generate_crypto_cc_file', |
| 102 'generate_math_cc_file', | 104 'generate_math_cc_file', |
| 103 'generate_math_patch_cc_file', | 105 'generate_math_patch_cc_file', |
| 104 'generate_isolate_cc_file', | 106 'generate_isolate_cc_file', |
| 105 'generate_isolate_patch_cc_file', | 107 'generate_isolate_patch_cc_file', |
| 106 'generate_json_cc_file', | 108 'generate_json_cc_file', |
| 107 'generate_json_patch_cc_file', | 109 'generate_json_patch_cc_file', |
| 108 'generate_mirrors_cc_file', | 110 'generate_mirrors_cc_file', |
| 109 'generate_mirrors_patch_cc_file', | 111 'generate_mirrors_patch_cc_file', |
| 110 'generate_scalarlist_cc_file', | 112 'generate_scalarlist_cc_file', |
| 111 'generate_scalarlist_patch_cc_file', | 113 'generate_scalarlist_patch_cc_file', |
| 112 'generate_typeddata_cc_file', | 114 'generate_typeddata_cc_file', |
| 113 'generate_typeddata_patch_cc_file', | 115 'generate_typeddata_patch_cc_file', |
| 114 'generate_uri_cc_file', | 116 'generate_uri_cc_file', |
| 115 'generate_utf_cc_file', | 117 'generate_utf_cc_file', |
| 116 ], | 118 ], |
| 117 'includes': [ | 119 'includes': [ |
| 118 '../lib/async_sources.gypi', | 120 '../lib/async_sources.gypi', |
| 121 '../lib/collection_sources.gypi', |
| 119 '../lib/lib_sources.gypi', | 122 '../lib/lib_sources.gypi', |
| 120 '../lib/isolate_sources.gypi', | 123 '../lib/isolate_sources.gypi', |
| 121 '../lib/math_sources.gypi', | 124 '../lib/math_sources.gypi', |
| 122 '../lib/mirrors_sources.gypi', | 125 '../lib/mirrors_sources.gypi', |
| 123 '../lib/scalarlist_sources.gypi', | 126 '../lib/scalarlist_sources.gypi', |
| 124 '../lib/typeddata_sources.gypi', | 127 '../lib/typeddata_sources.gypi', |
| 125 ], | 128 ], |
| 126 'sources': [ | 129 'sources': [ |
| 127 'bootstrap.cc', | 130 'bootstrap.cc', |
| 128 # Include generated source files. | 131 # Include generated source files. |
| 129 '<(async_cc_file)', | 132 '<(async_cc_file)', |
| 130 '<(async_patch_cc_file)', | 133 '<(async_patch_cc_file)', |
| 131 '<(corelib_cc_file)', | 134 '<(corelib_cc_file)', |
| 132 '<(corelib_patch_cc_file)', | 135 '<(corelib_patch_cc_file)', |
| 133 '<(collection_cc_file)', | 136 '<(collection_cc_file)', |
| 137 '<(collection_patch_cc_file)', |
| 134 '<(collection_dev_cc_file)', | 138 '<(collection_dev_cc_file)', |
| 135 '<(crypto_cc_file)', | 139 '<(crypto_cc_file)', |
| 136 '<(math_cc_file)', | 140 '<(math_cc_file)', |
| 137 '<(math_patch_cc_file)', | 141 '<(math_patch_cc_file)', |
| 138 '<(isolate_cc_file)', | 142 '<(isolate_cc_file)', |
| 139 '<(isolate_patch_cc_file)', | 143 '<(isolate_patch_cc_file)', |
| 140 '<(json_cc_file)', | 144 '<(json_cc_file)', |
| 141 '<(json_patch_cc_file)', | 145 '<(json_patch_cc_file)', |
| 142 '<(mirrors_cc_file)', | 146 '<(mirrors_cc_file)', |
| 143 '<(mirrors_patch_cc_file)', | 147 '<(mirrors_patch_cc_file)', |
| 144 '<(scalarlist_cc_file)', | 148 '<(scalarlist_cc_file)', |
| 145 '<(scalarlist_patch_cc_file)', | 149 '<(scalarlist_patch_cc_file)', |
| 146 '<(typeddata_cc_file)', | 150 '<(typeddata_cc_file)', |
| 147 '<(typeddata_patch_cc_file)', | 151 '<(typeddata_patch_cc_file)', |
| 148 '<(uri_cc_file)', | 152 '<(uri_cc_file)', |
| 149 '<(utf_cc_file)', | 153 '<(utf_cc_file)', |
| 150 ], | 154 ], |
| 151 'include_dirs': [ | 155 'include_dirs': [ |
| 152 '..', | 156 '..', |
| 153 ], | 157 ], |
| 154 }, | 158 }, |
| 155 { | 159 { |
| 156 'target_name': 'libdart_lib', | 160 'target_name': 'libdart_lib', |
| 157 'type': 'static_library', | 161 'type': 'static_library', |
| 158 'includes': [ | 162 'includes': [ |
| 159 '../lib/async_sources.gypi', | 163 '../lib/async_sources.gypi', |
| 164 '../lib/collection_sources.gypi', |
| 160 '../lib/lib_sources.gypi', | 165 '../lib/lib_sources.gypi', |
| 161 '../lib/isolate_sources.gypi', | 166 '../lib/isolate_sources.gypi', |
| 162 '../lib/math_sources.gypi', | 167 '../lib/math_sources.gypi', |
| 163 '../lib/mirrors_sources.gypi', | 168 '../lib/mirrors_sources.gypi', |
| 164 '../lib/scalarlist_sources.gypi', | 169 '../lib/scalarlist_sources.gypi', |
| 165 '../lib/typeddata_sources.gypi', | 170 '../lib/typeddata_sources.gypi', |
| 166 ], | 171 ], |
| 167 'sources': [ | 172 'sources': [ |
| 168 'bootstrap_nocorelib.cc', | 173 'bootstrap_nocorelib.cc', |
| 169 ], | 174 ], |
| (...skipping 594 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 764 '--input_cc', '<(builtin_in_cc_file)', | 769 '--input_cc', '<(builtin_in_cc_file)', |
| 765 '--include', 'vm/bootstrap.h', | 770 '--include', 'vm/bootstrap.h', |
| 766 '--var_name', 'dart::Bootstrap::async_patch_', | 771 '--var_name', 'dart::Bootstrap::async_patch_', |
| 767 '<@(_sources)', | 772 '<@(_sources)', |
| 768 ], | 773 ], |
| 769 'message': 'Generating ''<(async_patch_cc_file)'' file.' | 774 'message': 'Generating ''<(async_patch_cc_file)'' file.' |
| 770 }, | 775 }, |
| 771 ] | 776 ] |
| 772 }, | 777 }, |
| 773 { | 778 { |
| 779 'target_name': 'generate_collection_patch_cc_file', |
| 780 'type': 'none', |
| 781 'includes': [ |
| 782 # Load the runtime implementation sources. |
| 783 '../lib/collection_sources.gypi', |
| 784 ], |
| 785 'sources/': [ |
| 786 # Exclude all .[cc|h] files. |
| 787 # This is only here for reference. Excludes happen after |
| 788 # variable expansion, so the script has to do its own |
| 789 # exclude processing of the sources being passed. |
| 790 ['exclude', '\\.cc|h$'], |
| 791 ], |
| 792 'actions': [ |
| 793 { |
| 794 'action_name': 'generate_collection_patch_cc', |
| 795 'inputs': [ |
| 796 '../tools/create_string_literal.py', |
| 797 '<(builtin_in_cc_file)', |
| 798 '<@(_sources)', |
| 799 ], |
| 800 'outputs': [ |
| 801 '<(collection_patch_cc_file)', |
| 802 ], |
| 803 'action': [ |
| 804 'python', |
| 805 'tools/create_string_literal.py', |
| 806 '--output', '<(collection_patch_cc_file)', |
| 807 '--input_cc', '<(builtin_in_cc_file)', |
| 808 '--include', 'vm/bootstrap.h', |
| 809 '--var_name', 'dart::Bootstrap::collection_patch_', |
| 810 '<@(_sources)', |
| 811 ], |
| 812 'message': 'Generating ''<(collection_patch_cc_file)'' file.' |
| 813 }, |
| 814 ] |
| 815 }, |
| 816 { |
| 774 'target_name': 'generate_isolate_patch_cc_file', | 817 'target_name': 'generate_isolate_patch_cc_file', |
| 775 'type': 'none', | 818 'type': 'none', |
| 776 'includes': [ | 819 'includes': [ |
| 777 # Load the runtime implementation sources. | 820 # Load the runtime implementation sources. |
| 778 '../lib/isolate_sources.gypi', | 821 '../lib/isolate_sources.gypi', |
| 779 ], | 822 ], |
| 780 'sources/': [ | 823 'sources/': [ |
| 781 # Exclude all .[cc|h] files. | 824 # Exclude all .[cc|h] files. |
| 782 # This is only here for reference. Excludes happen after | 825 # This is only here for reference. Excludes happen after |
| 783 # variable expansion, so the script has to do its own | 826 # variable expansion, so the script has to do its own |
| (...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1208 '--include', 'INTENTIONALLY_LEFT_BLANK', | 1251 '--include', 'INTENTIONALLY_LEFT_BLANK', |
| 1209 '--var_name', 'INTENTIONALLY_LEFT_BLANK_TOO', | 1252 '--var_name', 'INTENTIONALLY_LEFT_BLANK_TOO', |
| 1210 '<(snapshot_test_dart_file)', | 1253 '<(snapshot_test_dart_file)', |
| 1211 ], | 1254 ], |
| 1212 'message': 'Generating ''<(snapshot_test_dat_file)'' file.' | 1255 'message': 'Generating ''<(snapshot_test_dat_file)'' file.' |
| 1213 }, | 1256 }, |
| 1214 ] | 1257 ] |
| 1215 }, | 1258 }, |
| 1216 ] | 1259 ] |
| 1217 } | 1260 } |
| OLD | NEW |