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 'core_cc_file': '<(gen_source_dir)/core_gen.cc', | 12 'core_cc_file': '<(gen_source_dir)/core_gen.cc', |
13 'core_patch_cc_file': '<(gen_source_dir)/core_patch_gen.cc', | 13 'core_patch_cc_file': '<(gen_source_dir)/core_patch_gen.cc', |
14 'collection_cc_file': '<(gen_source_dir)/collection_gen.cc', | 14 'collection_cc_file': '<(gen_source_dir)/collection_gen.cc', |
15 'collection_patch_cc_file': '<(gen_source_dir)/collection_patch_gen.cc', | 15 'collection_patch_cc_file': '<(gen_source_dir)/collection_patch_gen.cc', |
16 'convert_cc_file': '<(gen_source_dir)/convert_gen.cc', | 16 'convert_cc_file': '<(gen_source_dir)/convert_gen.cc', |
17 'convert_patch_cc_file': '<(gen_source_dir)/convert_patch_gen.cc', | 17 'convert_patch_cc_file': '<(gen_source_dir)/convert_patch_gen.cc', |
18 'debugger_cc_file': '<(gen_source_dir)/debugger_gen.cc', | 18 'developer_cc_file': '<(gen_source_dir)/developer_gen.cc', |
19 'debugger_patch_cc_file': '<(gen_source_dir)/debugger_patch_gen.cc', | 19 'developer_patch_cc_file': '<(gen_source_dir)/developer_patch_gen.cc', |
20 'internal_cc_file': '<(gen_source_dir)/internal_gen.cc', | 20 'internal_cc_file': '<(gen_source_dir)/internal_gen.cc', |
21 'internal_patch_cc_file': '<(gen_source_dir)/internal_patch_gen.cc', | 21 'internal_patch_cc_file': '<(gen_source_dir)/internal_patch_gen.cc', |
22 'isolate_cc_file': '<(gen_source_dir)/isolate_gen.cc', | 22 'isolate_cc_file': '<(gen_source_dir)/isolate_gen.cc', |
23 'isolate_patch_cc_file': '<(gen_source_dir)/isolate_patch_gen.cc', | 23 'isolate_patch_cc_file': '<(gen_source_dir)/isolate_patch_gen.cc', |
24 'math_cc_file': '<(gen_source_dir)/math_gen.cc', | 24 'math_cc_file': '<(gen_source_dir)/math_gen.cc', |
25 'math_patch_cc_file': '<(gen_source_dir)/math_patch_gen.cc', | 25 'math_patch_cc_file': '<(gen_source_dir)/math_patch_gen.cc', |
26 'mirrors_cc_file': '<(gen_source_dir)/mirrors_gen.cc', | 26 'mirrors_cc_file': '<(gen_source_dir)/mirrors_gen.cc', |
27 'mirrors_patch_cc_file': '<(gen_source_dir)/mirrors_patch_gen.cc', | 27 'mirrors_patch_cc_file': '<(gen_source_dir)/mirrors_patch_gen.cc', |
28 'profiler_cc_file': '<(gen_source_dir)/profiler_gen.cc', | 28 'profiler_cc_file': '<(gen_source_dir)/profiler_gen.cc', |
29 'profiler_patch_cc_file': '<(gen_source_dir)/profiler_patch_gen.cc', | 29 'profiler_patch_cc_file': '<(gen_source_dir)/profiler_patch_gen.cc', |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 'toolsets':['host', 'target'], | 108 'toolsets':['host', 'target'], |
109 'dependencies': [ | 109 'dependencies': [ |
110 'generate_async_cc_file#host', | 110 'generate_async_cc_file#host', |
111 'generate_async_patch_cc_file#host', | 111 'generate_async_patch_cc_file#host', |
112 'generate_core_cc_file#host', | 112 'generate_core_cc_file#host', |
113 'generate_core_patch_cc_file#host', | 113 'generate_core_patch_cc_file#host', |
114 'generate_collection_cc_file#host', | 114 'generate_collection_cc_file#host', |
115 'generate_collection_patch_cc_file#host', | 115 'generate_collection_patch_cc_file#host', |
116 'generate_convert_cc_file#host', | 116 'generate_convert_cc_file#host', |
117 'generate_convert_patch_cc_file#host', | 117 'generate_convert_patch_cc_file#host', |
118 'generate_debugger_cc_file#host', | 118 'generate_developer_cc_file#host', |
119 'generate_debugger_patch_cc_file#host', | 119 'generate_developer_patch_cc_file#host', |
120 'generate_internal_cc_file#host', | 120 'generate_internal_cc_file#host', |
121 'generate_internal_patch_cc_file#host', | 121 'generate_internal_patch_cc_file#host', |
122 'generate_isolate_cc_file#host', | 122 'generate_isolate_cc_file#host', |
123 'generate_isolate_patch_cc_file#host', | 123 'generate_isolate_patch_cc_file#host', |
124 'generate_math_cc_file#host', | 124 'generate_math_cc_file#host', |
125 'generate_math_patch_cc_file#host', | 125 'generate_math_patch_cc_file#host', |
126 'generate_mirrors_cc_file#host', | 126 'generate_mirrors_cc_file#host', |
127 'generate_mirrors_patch_cc_file#host', | 127 'generate_mirrors_patch_cc_file#host', |
128 'generate_profiler_cc_file#host', | 128 'generate_profiler_cc_file#host', |
129 'generate_profiler_patch_cc_file#host', | 129 'generate_profiler_patch_cc_file#host', |
130 'generate_typed_data_cc_file#host', | 130 'generate_typed_data_cc_file#host', |
131 'generate_typed_data_patch_cc_file#host', | 131 'generate_typed_data_patch_cc_file#host', |
132 ], | 132 ], |
133 'includes': [ | 133 'includes': [ |
134 '../lib/async_sources.gypi', | 134 '../lib/async_sources.gypi', |
135 '../lib/collection_sources.gypi', | 135 '../lib/collection_sources.gypi', |
136 '../lib/core_sources.gypi', | 136 '../lib/core_sources.gypi', |
137 '../lib/debugger_sources.gypi', | 137 '../lib/developer_sources.gypi', |
138 '../lib/internal_sources.gypi', | 138 '../lib/internal_sources.gypi', |
139 '../lib/isolate_sources.gypi', | 139 '../lib/isolate_sources.gypi', |
140 '../lib/math_sources.gypi', | 140 '../lib/math_sources.gypi', |
141 '../lib/mirrors_sources.gypi', | 141 '../lib/mirrors_sources.gypi', |
142 '../lib/profiler_sources.gypi', | 142 '../lib/profiler_sources.gypi', |
143 '../lib/typed_data_sources.gypi', | 143 '../lib/typed_data_sources.gypi', |
144 ], | 144 ], |
145 'sources': [ | 145 'sources': [ |
146 'bootstrap.cc', | 146 'bootstrap.cc', |
147 # Include generated source files. | 147 # Include generated source files. |
148 '<(async_cc_file)', | 148 '<(async_cc_file)', |
149 '<(async_patch_cc_file)', | 149 '<(async_patch_cc_file)', |
150 '<(core_cc_file)', | 150 '<(core_cc_file)', |
151 '<(core_patch_cc_file)', | 151 '<(core_patch_cc_file)', |
152 '<(collection_cc_file)', | 152 '<(collection_cc_file)', |
153 '<(collection_patch_cc_file)', | 153 '<(collection_patch_cc_file)', |
154 '<(convert_cc_file)', | 154 '<(convert_cc_file)', |
155 '<(convert_patch_cc_file)', | 155 '<(convert_patch_cc_file)', |
156 '<(debugger_cc_file)', | 156 '<(developer_cc_file)', |
157 '<(debugger_patch_cc_file)', | 157 '<(developer_patch_cc_file)', |
158 '<(internal_cc_file)', | 158 '<(internal_cc_file)', |
159 '<(internal_patch_cc_file)', | 159 '<(internal_patch_cc_file)', |
160 '<(isolate_cc_file)', | 160 '<(isolate_cc_file)', |
161 '<(isolate_patch_cc_file)', | 161 '<(isolate_patch_cc_file)', |
162 '<(math_cc_file)', | 162 '<(math_cc_file)', |
163 '<(math_patch_cc_file)', | 163 '<(math_patch_cc_file)', |
164 '<(mirrors_cc_file)', | 164 '<(mirrors_cc_file)', |
165 '<(mirrors_patch_cc_file)', | 165 '<(mirrors_patch_cc_file)', |
166 '<(profiler_cc_file)', | 166 '<(profiler_cc_file)', |
167 '<(profiler_patch_cc_file)', | 167 '<(profiler_patch_cc_file)', |
168 '<(typed_data_cc_file)', | 168 '<(typed_data_cc_file)', |
169 '<(typed_data_patch_cc_file)', | 169 '<(typed_data_patch_cc_file)', |
170 ], | 170 ], |
171 'include_dirs': [ | 171 'include_dirs': [ |
172 '..', | 172 '..', |
173 ], | 173 ], |
174 }, | 174 }, |
175 { | 175 { |
176 'target_name': 'libdart_lib', | 176 'target_name': 'libdart_lib', |
177 'type': 'static_library', | 177 'type': 'static_library', |
178 'toolsets':['host', 'target'], | 178 'toolsets':['host', 'target'], |
179 'includes': [ | 179 'includes': [ |
180 '../lib/async_sources.gypi', | 180 '../lib/async_sources.gypi', |
181 '../lib/collection_sources.gypi', | 181 '../lib/collection_sources.gypi', |
182 '../lib/core_sources.gypi', | 182 '../lib/core_sources.gypi', |
183 '../lib/debugger_sources.gypi', | 183 '../lib/developer_sources.gypi', |
184 '../lib/internal_sources.gypi', | 184 '../lib/internal_sources.gypi', |
185 '../lib/isolate_sources.gypi', | 185 '../lib/isolate_sources.gypi', |
186 '../lib/math_sources.gypi', | 186 '../lib/math_sources.gypi', |
187 '../lib/mirrors_sources.gypi', | 187 '../lib/mirrors_sources.gypi', |
188 '../lib/profiler_sources.gypi', | 188 '../lib/profiler_sources.gypi', |
189 '../lib/typed_data_sources.gypi', | 189 '../lib/typed_data_sources.gypi', |
190 ], | 190 ], |
191 'sources': [ | 191 'sources': [ |
192 'bootstrap_nocore.cc', | 192 'bootstrap_nocore.cc', |
193 ], | 193 ], |
(...skipping 794 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
988 '--include', 'vm/bootstrap.h', | 988 '--include', 'vm/bootstrap.h', |
989 '--var_name', 'dart::Bootstrap::profiler_patch_paths_', | 989 '--var_name', 'dart::Bootstrap::profiler_patch_paths_', |
990 '--library_name', 'dart:profiler', | 990 '--library_name', 'dart:profiler', |
991 '<@(_sources)', | 991 '<@(_sources)', |
992 ], | 992 ], |
993 'message': 'Generating ''<(profiler_patch_cc_file)'' file.' | 993 'message': 'Generating ''<(profiler_patch_cc_file)'' file.' |
994 }, | 994 }, |
995 ] | 995 ] |
996 }, | 996 }, |
997 { | 997 { |
998 'target_name': 'generate_debugger_cc_file', | 998 'target_name': 'generate_developer_cc_file', |
999 'type': 'none', | 999 'type': 'none', |
1000 'toolsets':['host'], | 1000 'toolsets':['host'], |
1001 'includes': [ | 1001 'includes': [ |
1002 # Load the shared library sources. | 1002 # Load the shared library sources. |
1003 '../../sdk/lib/debugger/debugger_sources.gypi', | 1003 '../../sdk/lib/developer/developer_sources.gypi', |
1004 ], | 1004 ], |
1005 'sources/': [ | 1005 'sources/': [ |
1006 # Exclude all .[cc|h] files. | 1006 # Exclude all .[cc|h] files. |
1007 # This is only here for reference. Excludes happen after | 1007 # This is only here for reference. Excludes happen after |
1008 # variable expansion, so the script has to do its own | 1008 # variable expansion, so the script has to do its own |
1009 # exclude processing of the sources being passed. | 1009 # exclude processing of the sources being passed. |
1010 ['exclude', '\\.cc|h$'], | 1010 ['exclude', '\\.cc|h$'], |
1011 ], | 1011 ], |
1012 'actions': [ | 1012 'actions': [ |
1013 { | 1013 { |
1014 'action_name': 'generate_debugger_cc', | 1014 'action_name': 'generate_developer_cc', |
1015 'inputs': [ | 1015 'inputs': [ |
1016 '../tools/gen_library_src_paths.py', | 1016 '../tools/gen_library_src_paths.py', |
1017 '<(libgen_in_cc_file)', | 1017 '<(libgen_in_cc_file)', |
1018 '<@(_sources)', | 1018 '<@(_sources)', |
1019 ], | 1019 ], |
1020 'outputs': [ | 1020 'outputs': [ |
1021 '<(debugger_cc_file)', | 1021 '<(developer_cc_file)', |
1022 ], | 1022 ], |
1023 'action': [ | 1023 'action': [ |
1024 'python', | 1024 'python', |
1025 'tools/gen_library_src_paths.py', | 1025 'tools/gen_library_src_paths.py', |
1026 '--output', '<(debugger_cc_file)', | 1026 '--output', '<(developer_cc_file)', |
1027 '--input_cc', '<(libgen_in_cc_file)', | 1027 '--input_cc', '<(libgen_in_cc_file)', |
1028 '--include', 'vm/bootstrap.h', | 1028 '--include', 'vm/bootstrap.h', |
1029 '--var_name', 'dart::Bootstrap::debugger_source_paths_', | 1029 '--var_name', 'dart::Bootstrap::developer_source_paths_', |
1030 '--library_name', 'dart:debugger', | 1030 '--library_name', 'dart:developer', |
1031 '<@(_sources)', | 1031 '<@(_sources)', |
1032 ], | 1032 ], |
1033 'message': 'Generating ''<(debugger_cc_file)'' file.' | 1033 'message': 'Generating ''<(developer_cc_file)'' file.' |
1034 }, | 1034 }, |
1035 ] | 1035 ] |
1036 }, | 1036 }, |
1037 { | 1037 { |
1038 'target_name': 'generate_debugger_patch_cc_file', | 1038 'target_name': 'generate_developer_patch_cc_file', |
1039 'type': 'none', | 1039 'type': 'none', |
1040 'toolsets':['host'], | 1040 'toolsets':['host'], |
1041 'includes': [ | 1041 'includes': [ |
1042 # Load the runtime implementation sources. | 1042 # Load the runtime implementation sources. |
1043 '../lib/debugger_sources.gypi', | 1043 '../lib/developer_sources.gypi', |
1044 ], | 1044 ], |
1045 'sources/': [ | 1045 'sources/': [ |
1046 # Exclude all .[cc|h] files. | 1046 # Exclude all .[cc|h] files. |
1047 # This is only here for reference. Excludes happen after | 1047 # This is only here for reference. Excludes happen after |
1048 # variable expansion, so the script has to do its own | 1048 # variable expansion, so the script has to do its own |
1049 # exclude processing of the sources being passed. | 1049 # exclude processing of the sources being passed. |
1050 ['exclude', '\\.cc|h$'], | 1050 ['exclude', '\\.cc|h$'], |
1051 ], | 1051 ], |
1052 'actions': [ | 1052 'actions': [ |
1053 { | 1053 { |
1054 'action_name': 'generate_debugger_patch_cc', | 1054 'action_name': 'generate_developer_patch_cc', |
1055 'inputs': [ | 1055 'inputs': [ |
1056 '../tools/gen_library_src_paths.py', | 1056 '../tools/gen_library_src_paths.py', |
1057 '<(libgen_in_cc_file)', | 1057 '<(libgen_in_cc_file)', |
1058 '<@(_sources)', | 1058 '<@(_sources)', |
1059 ], | 1059 ], |
1060 'outputs': [ | 1060 'outputs': [ |
1061 '<(debugger_patch_cc_file)', | 1061 '<(developer_patch_cc_file)', |
1062 ], | 1062 ], |
1063 'action': [ | 1063 'action': [ |
1064 'python', | 1064 'python', |
1065 'tools/gen_library_src_paths.py', | 1065 'tools/gen_library_src_paths.py', |
1066 '--output', '<(debugger_patch_cc_file)', | 1066 '--output', '<(developer_patch_cc_file)', |
1067 '--input_cc', '<(libgen_in_cc_file)', | 1067 '--input_cc', '<(libgen_in_cc_file)', |
1068 '--include', 'vm/bootstrap.h', | 1068 '--include', 'vm/bootstrap.h', |
1069 '--var_name', 'dart::Bootstrap::debugger_patch_paths_', | 1069 '--var_name', 'dart::Bootstrap::developer_patch_paths_', |
1070 '--library_name', 'dart:debugger', | 1070 '--library_name', 'dart:developer', |
1071 '<@(_sources)', | 1071 '<@(_sources)', |
1072 ], | 1072 ], |
1073 'message': 'Generating ''<(debugger_patch_cc_file)'' file.' | 1073 'message': 'Generating ''<(developer_patch_cc_file)'' file.' |
1074 }, | 1074 }, |
1075 ] | 1075 ] |
1076 }, | 1076 }, |
1077 { | 1077 { |
1078 'target_name': 'generate_snapshot_test_dat_file', | 1078 'target_name': 'generate_snapshot_test_dat_file', |
1079 'type': 'none', | 1079 'type': 'none', |
1080 'toolsets':['host'], | 1080 'toolsets':['host'], |
1081 'actions': [ | 1081 'actions': [ |
1082 { | 1082 { |
1083 'action_name': 'generate_snapshot_test_dat', | 1083 'action_name': 'generate_snapshot_test_dat', |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1127 '--table_name', 'service', | 1127 '--table_name', 'service', |
1128 '--root_prefix', 'vm/service/', | 1128 '--root_prefix', 'vm/service/', |
1129 '<@(_sources)' | 1129 '<@(_sources)' |
1130 ], | 1130 ], |
1131 'message': 'Generating ''<(service_cc_file)'' file.' | 1131 'message': 'Generating ''<(service_cc_file)'' file.' |
1132 }, | 1132 }, |
1133 ] | 1133 ] |
1134 }, | 1134 }, |
1135 ] | 1135 ] |
1136 } | 1136 } |
OLD | NEW |