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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 }, | 89 }, |
89 { | 90 { |
90 'target_name': 'libdart_lib_withcore', | 91 'target_name': 'libdart_lib_withcore', |
91 'type': 'static_library', | 92 'type': 'static_library', |
92 'dependencies': [ | 93 'dependencies': [ |
93 'generate_async_cc_file', | 94 'generate_async_cc_file', |
94 'generate_async_patch_cc_file', | 95 'generate_async_patch_cc_file', |
95 'generate_corelib_cc_file', | 96 'generate_corelib_cc_file', |
96 'generate_corelib_patch_cc_file', | 97 'generate_corelib_patch_cc_file', |
97 'generate_collection_cc_file', | 98 'generate_collection_cc_file', |
| 99 'generate_collection_patch_cc_file', |
98 'generate_collection_dev_cc_file', | 100 'generate_collection_dev_cc_file', |
99 'generate_crypto_cc_file', | 101 'generate_crypto_cc_file', |
100 'generate_math_cc_file', | 102 'generate_math_cc_file', |
101 'generate_math_patch_cc_file', | 103 'generate_math_patch_cc_file', |
102 'generate_isolate_cc_file', | 104 'generate_isolate_cc_file', |
103 'generate_isolate_patch_cc_file', | 105 'generate_isolate_patch_cc_file', |
104 'generate_json_cc_file', | 106 'generate_json_cc_file', |
105 'generate_json_patch_cc_file', | 107 'generate_json_patch_cc_file', |
106 'generate_mirrors_cc_file', | 108 'generate_mirrors_cc_file', |
107 'generate_mirrors_patch_cc_file', | 109 'generate_mirrors_patch_cc_file', |
108 'generate_typeddata_cc_file', | 110 'generate_typeddata_cc_file', |
109 'generate_typeddata_patch_cc_file', | 111 'generate_typeddata_patch_cc_file', |
110 'generate_uri_cc_file', | 112 'generate_uri_cc_file', |
111 'generate_utf_cc_file', | 113 'generate_utf_cc_file', |
112 ], | 114 ], |
113 'includes': [ | 115 'includes': [ |
114 '../lib/async_sources.gypi', | 116 '../lib/async_sources.gypi', |
| 117 '../lib/collection_sources.gypi', |
115 '../lib/lib_sources.gypi', | 118 '../lib/lib_sources.gypi', |
116 '../lib/isolate_sources.gypi', | 119 '../lib/isolate_sources.gypi', |
117 '../lib/math_sources.gypi', | 120 '../lib/math_sources.gypi', |
118 '../lib/mirrors_sources.gypi', | 121 '../lib/mirrors_sources.gypi', |
119 '../lib/typeddata_sources.gypi', | 122 '../lib/typeddata_sources.gypi', |
120 ], | 123 ], |
121 'sources': [ | 124 'sources': [ |
122 'bootstrap.cc', | 125 'bootstrap.cc', |
123 # Include generated source files. | 126 # Include generated source files. |
124 '<(async_cc_file)', | 127 '<(async_cc_file)', |
125 '<(async_patch_cc_file)', | 128 '<(async_patch_cc_file)', |
126 '<(corelib_cc_file)', | 129 '<(corelib_cc_file)', |
127 '<(corelib_patch_cc_file)', | 130 '<(corelib_patch_cc_file)', |
128 '<(collection_cc_file)', | 131 '<(collection_cc_file)', |
| 132 '<(collection_patch_cc_file)', |
129 '<(collection_dev_cc_file)', | 133 '<(collection_dev_cc_file)', |
130 '<(crypto_cc_file)', | 134 '<(crypto_cc_file)', |
131 '<(math_cc_file)', | 135 '<(math_cc_file)', |
132 '<(math_patch_cc_file)', | 136 '<(math_patch_cc_file)', |
133 '<(isolate_cc_file)', | 137 '<(isolate_cc_file)', |
134 '<(isolate_patch_cc_file)', | 138 '<(isolate_patch_cc_file)', |
135 '<(json_cc_file)', | 139 '<(json_cc_file)', |
136 '<(json_patch_cc_file)', | 140 '<(json_patch_cc_file)', |
137 '<(mirrors_cc_file)', | 141 '<(mirrors_cc_file)', |
138 '<(mirrors_patch_cc_file)', | 142 '<(mirrors_patch_cc_file)', |
139 '<(typeddata_cc_file)', | 143 '<(typeddata_cc_file)', |
140 '<(typeddata_patch_cc_file)', | 144 '<(typeddata_patch_cc_file)', |
141 '<(uri_cc_file)', | 145 '<(uri_cc_file)', |
142 '<(utf_cc_file)', | 146 '<(utf_cc_file)', |
143 ], | 147 ], |
144 'include_dirs': [ | 148 'include_dirs': [ |
145 '..', | 149 '..', |
146 ], | 150 ], |
147 }, | 151 }, |
148 { | 152 { |
149 'target_name': 'libdart_lib', | 153 'target_name': 'libdart_lib', |
150 'type': 'static_library', | 154 'type': 'static_library', |
151 'includes': [ | 155 'includes': [ |
152 '../lib/async_sources.gypi', | 156 '../lib/async_sources.gypi', |
| 157 '../lib/collection_sources.gypi', |
153 '../lib/lib_sources.gypi', | 158 '../lib/lib_sources.gypi', |
154 '../lib/isolate_sources.gypi', | 159 '../lib/isolate_sources.gypi', |
155 '../lib/math_sources.gypi', | 160 '../lib/math_sources.gypi', |
156 '../lib/mirrors_sources.gypi', | 161 '../lib/mirrors_sources.gypi', |
157 '../lib/typeddata_sources.gypi', | 162 '../lib/typeddata_sources.gypi', |
158 ], | 163 ], |
159 'sources': [ | 164 'sources': [ |
160 'bootstrap_nocorelib.cc', | 165 'bootstrap_nocorelib.cc', |
161 ], | 166 ], |
162 'include_dirs': [ | 167 'include_dirs': [ |
(...skipping 593 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
756 '--input_cc', '<(builtin_in_cc_file)', | 761 '--input_cc', '<(builtin_in_cc_file)', |
757 '--include', 'vm/bootstrap.h', | 762 '--include', 'vm/bootstrap.h', |
758 '--var_name', 'dart::Bootstrap::async_patch_', | 763 '--var_name', 'dart::Bootstrap::async_patch_', |
759 '<@(_sources)', | 764 '<@(_sources)', |
760 ], | 765 ], |
761 'message': 'Generating ''<(async_patch_cc_file)'' file.' | 766 'message': 'Generating ''<(async_patch_cc_file)'' file.' |
762 }, | 767 }, |
763 ] | 768 ] |
764 }, | 769 }, |
765 { | 770 { |
| 771 'target_name': 'generate_collection_patch_cc_file', |
| 772 'type': 'none', |
| 773 'includes': [ |
| 774 # Load the runtime implementation sources. |
| 775 '../lib/collection_sources.gypi', |
| 776 ], |
| 777 'sources/': [ |
| 778 # Exclude all .[cc|h] files. |
| 779 # This is only here for reference. Excludes happen after |
| 780 # variable expansion, so the script has to do its own |
| 781 # exclude processing of the sources being passed. |
| 782 ['exclude', '\\.cc|h$'], |
| 783 ], |
| 784 'actions': [ |
| 785 { |
| 786 'action_name': 'generate_collection_patch_cc', |
| 787 'inputs': [ |
| 788 '../tools/create_string_literal.py', |
| 789 '<(builtin_in_cc_file)', |
| 790 '<@(_sources)', |
| 791 ], |
| 792 'outputs': [ |
| 793 '<(collection_patch_cc_file)', |
| 794 ], |
| 795 'action': [ |
| 796 'python', |
| 797 'tools/create_string_literal.py', |
| 798 '--output', '<(collection_patch_cc_file)', |
| 799 '--input_cc', '<(builtin_in_cc_file)', |
| 800 '--include', 'vm/bootstrap.h', |
| 801 '--var_name', 'dart::Bootstrap::collection_patch_', |
| 802 '<@(_sources)', |
| 803 ], |
| 804 'message': 'Generating ''<(collection_patch_cc_file)'' file.' |
| 805 }, |
| 806 ] |
| 807 }, |
| 808 { |
766 'target_name': 'generate_isolate_patch_cc_file', | 809 'target_name': 'generate_isolate_patch_cc_file', |
767 'type': 'none', | 810 'type': 'none', |
768 'includes': [ | 811 'includes': [ |
769 # Load the runtime implementation sources. | 812 # Load the runtime implementation sources. |
770 '../lib/isolate_sources.gypi', | 813 '../lib/isolate_sources.gypi', |
771 ], | 814 ], |
772 'sources/': [ | 815 'sources/': [ |
773 # Exclude all .[cc|h] files. | 816 # Exclude all .[cc|h] files. |
774 # This is only here for reference. Excludes happen after | 817 # This is only here for reference. Excludes happen after |
775 # variable expansion, so the script has to do its own | 818 # variable expansion, so the script has to do its own |
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1105 '--include', 'INTENTIONALLY_LEFT_BLANK', | 1148 '--include', 'INTENTIONALLY_LEFT_BLANK', |
1106 '--var_name', 'INTENTIONALLY_LEFT_BLANK_TOO', | 1149 '--var_name', 'INTENTIONALLY_LEFT_BLANK_TOO', |
1107 '<(snapshot_test_dart_file)', | 1150 '<(snapshot_test_dart_file)', |
1108 ], | 1151 ], |
1109 'message': 'Generating ''<(snapshot_test_dat_file)'' file.' | 1152 'message': 'Generating ''<(snapshot_test_dat_file)'' file.' |
1110 }, | 1153 }, |
1111 ] | 1154 ] |
1112 }, | 1155 }, |
1113 ] | 1156 ] |
1114 } | 1157 } |
OLD | NEW |