Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(558)

Side by Side Diff: runtime/vm/vm.gypi

Issue 1396603002: Properly split dart:_vmservice across sdk and runtime (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « runtime/vm/bootstrap.cc ('k') | sdk/lib/vmservice/client.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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',
(...skipping 13 matching lines...) Expand all
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 'snapshot_test_dat_file': '<(gen_source_dir)/snapshot_test.dat', 28 'snapshot_test_dat_file': '<(gen_source_dir)/snapshot_test.dat',
29 'snapshot_test_in_dat_file': 'snapshot_test_in.dat', 29 'snapshot_test_in_dat_file': 'snapshot_test_in.dat',
30 'snapshot_test_dart_file': 'snapshot_test.dart', 30 'snapshot_test_dart_file': 'snapshot_test.dart',
31 'typed_data_cc_file': '<(gen_source_dir)/typed_data_gen.cc', 31 'typed_data_cc_file': '<(gen_source_dir)/typed_data_gen.cc',
32 'typed_data_patch_cc_file': '<(gen_source_dir)/typed_data_patch_gen.cc', 32 'typed_data_patch_cc_file': '<(gen_source_dir)/typed_data_patch_gen.cc',
33 'vmservice_cc_file': '<(gen_source_dir)/vmservice_gen.cc', 33 'vmservice_cc_file': '<(gen_source_dir)/vmservice_gen.cc',
34 'vmservice_patch_cc_file': '<(gen_source_dir)/vmservice_patch_gen.cc',
34 }, 35 },
35 'targets': [ 36 'targets': [
36 { 37 {
37 'target_name': 'libdart_vm', 38 'target_name': 'libdart_vm',
38 'type': 'static_library', 39 'type': 'static_library',
39 'toolsets':['host', 'target'], 40 'toolsets':['host', 'target'],
40 'includes': [ 41 'includes': [
41 'vm_sources.gypi', 42 'vm_sources.gypi',
42 '../platform/platform_headers.gypi', 43 '../platform/platform_headers.gypi',
43 '../platform/platform_sources.gypi', 44 '../platform/platform_sources.gypi',
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 'generate_internal_patch_cc_file#host', 176 'generate_internal_patch_cc_file#host',
176 'generate_isolate_cc_file#host', 177 'generate_isolate_cc_file#host',
177 'generate_isolate_patch_cc_file#host', 178 'generate_isolate_patch_cc_file#host',
178 'generate_math_cc_file#host', 179 'generate_math_cc_file#host',
179 'generate_math_patch_cc_file#host', 180 'generate_math_patch_cc_file#host',
180 'generate_mirrors_cc_file#host', 181 'generate_mirrors_cc_file#host',
181 'generate_mirrors_patch_cc_file#host', 182 'generate_mirrors_patch_cc_file#host',
182 'generate_typed_data_cc_file#host', 183 'generate_typed_data_cc_file#host',
183 'generate_typed_data_patch_cc_file#host', 184 'generate_typed_data_patch_cc_file#host',
184 'generate_vmservice_cc_file#host', 185 'generate_vmservice_cc_file#host',
186 'generate_vmservice_patch_cc_file#host',
185 ], 187 ],
186 'includes': [ 188 'includes': [
187 '../lib/async_sources.gypi', 189 '../lib/async_sources.gypi',
188 '../lib/collection_sources.gypi', 190 '../lib/collection_sources.gypi',
189 '../lib/core_sources.gypi', 191 '../lib/core_sources.gypi',
190 '../lib/developer_sources.gypi', 192 '../lib/developer_sources.gypi',
191 '../lib/internal_sources.gypi', 193 '../lib/internal_sources.gypi',
192 '../lib/isolate_sources.gypi', 194 '../lib/isolate_sources.gypi',
193 '../lib/math_sources.gypi', 195 '../lib/math_sources.gypi',
194 '../lib/mirrors_sources.gypi', 196 '../lib/mirrors_sources.gypi',
(...skipping 17 matching lines...) Expand all
212 '<(internal_patch_cc_file)', 214 '<(internal_patch_cc_file)',
213 '<(isolate_cc_file)', 215 '<(isolate_cc_file)',
214 '<(isolate_patch_cc_file)', 216 '<(isolate_patch_cc_file)',
215 '<(math_cc_file)', 217 '<(math_cc_file)',
216 '<(math_patch_cc_file)', 218 '<(math_patch_cc_file)',
217 '<(mirrors_cc_file)', 219 '<(mirrors_cc_file)',
218 '<(mirrors_patch_cc_file)', 220 '<(mirrors_patch_cc_file)',
219 '<(typed_data_cc_file)', 221 '<(typed_data_cc_file)',
220 '<(typed_data_patch_cc_file)', 222 '<(typed_data_patch_cc_file)',
221 '<(vmservice_cc_file)', 223 '<(vmservice_cc_file)',
224 '<(vmservice_patch_cc_file)',
222 ], 225 ],
223 'include_dirs': [ 226 'include_dirs': [
224 '..', 227 '..',
225 ], 228 ],
226 }, 229 },
227 { 230 {
228 'target_name': 'libdart_lib', 231 'target_name': 'libdart_lib',
229 'type': 'static_library', 232 'type': 'static_library',
230 'toolsets':['host', 'target'], 233 'toolsets':['host', 'target'],
231 'includes': [ 234 'includes': [
(...skipping 840 matching lines...) Expand 10 before | Expand all | Expand 10 after
1072 ], 1075 ],
1073 'message': 'Generating ''<(snapshot_test_dat_file)'' file.' 1076 'message': 'Generating ''<(snapshot_test_dat_file)'' file.'
1074 }, 1077 },
1075 ] 1078 ]
1076 }, 1079 },
1077 { 1080 {
1078 'target_name': 'generate_vmservice_cc_file', 1081 'target_name': 'generate_vmservice_cc_file',
1079 'type': 'none', 1082 'type': 'none',
1080 'toolsets':['host'], 1083 'toolsets':['host'],
1081 'includes': [ 1084 'includes': [
1082 '../lib/vmservice_sources.gypi', 1085 # Load the shared library sources.
1086 '../../sdk/lib/vmservice/vmservice_sources.gypi',
1083 ], 1087 ],
1084 'sources/': [ 1088 'sources/': [
1085 # Exclude all .[cc|h] files. 1089 # Exclude all .[cc|h] files.
1086 # This is only here for reference. Excludes happen after 1090 # This is only here for reference. Excludes happen after
1087 # variable expansion, so the script has to do its own 1091 # variable expansion, so the script has to do its own
1088 # exclude processing of the sources being passed. 1092 # exclude processing of the sources being passed.
1089 ['exclude', '\\.cc|h$'], 1093 ['exclude', '\\.cc|h$'],
1090 ], 1094 ],
1091 'actions': [ 1095 'actions': [
1092 { 1096 {
1093 'action_name': 'generate_vmservice_cc', 1097 'action_name': 'generate_vmservice_cc',
1094 'inputs': [ 1098 'inputs': [
1095 '../tools/gen_library_src_paths.py', 1099 '../tools/gen_library_src_paths.py',
1096 '<(libgen_in_cc_file)', 1100 '<(libgen_in_cc_file)',
1097 '<@(_sources)', 1101 '<@(_sources)',
1098 ], 1102 ],
1099 'outputs': [ 1103 'outputs': [
1100 '<(vmservice_cc_file)', 1104 '<(vmservice_cc_file)',
1101 ], 1105 ],
1102 'action': [ 1106 'action': [
1103 'python', 1107 'python',
1104 'tools/gen_library_src_paths.py', 1108 'tools/gen_library_src_paths.py',
1105 '--output', '<(vmservice_cc_file)', 1109 '--output', '<(vmservice_cc_file)',
1106 '--input_cc', '<(libgen_in_cc_file)', 1110 '--input_cc', '<(libgen_in_cc_file)',
1107 '--include', 'vm/bootstrap.h', 1111 '--include', 'vm/bootstrap.h',
1108 '--var_name', 'dart::Bootstrap::vmservice_source_paths_', 1112 '--var_name', 'dart::Bootstrap::_vmservice_source_paths_',
1109 '--library_name', 'dart:_vmservice', 1113 '--library_name', 'dart:_vmservice',
1110 '<@(_sources)', 1114 '<@(_sources)',
1111 ], 1115 ],
1112 'message': 'Generating ''<(vmservice_cc_file)'' file.' 1116 'message': 'Generating ''<(vmservice_cc_file)'' file.'
1113 }, 1117 },
1114 ] 1118 ]
1115 }, 1119 },
1120 {
1121 'target_name': 'generate_vmservice_patch_cc_file',
1122 'type': 'none',
1123 'toolsets':['host'],
1124 'includes': [
1125 # Load the runtime implementation sources.
1126 '../lib/vmservice_sources.gypi',
1127 ],
1128 'sources/': [
1129 # Exclude all .[cc|h] files.
1130 # This is only here for reference. Excludes happen after
1131 # variable expansion, so the script has to do its own
1132 # exclude processing of the sources being passed.
1133 ['exclude', '\\.cc|h$'],
1134 ],
1135 'actions': [
1136 {
1137 'action_name': 'generate_vmservice_patch_cc',
1138 'inputs': [
1139 '../tools/gen_library_src_paths.py',
1140 '<(libgen_in_cc_file)',
1141 '<@(_sources)',
1142 ],
1143 'outputs': [
1144 '<(vmservice_patch_cc_file)',
1145 ],
1146 'action': [
1147 'python',
1148 'tools/gen_library_src_paths.py',
1149 '--output', '<(vmservice_patch_cc_file)',
1150 '--input_cc', '<(libgen_in_cc_file)',
1151 '--include', 'vm/bootstrap.h',
1152 '--var_name', 'dart::Bootstrap::_vmservice_patch_paths_',
1153 '--library_name', 'dart:_vmservice',
1154 '<@(_sources)',
1155 ],
1156 'message': 'Generating ''<(vmservice_patch_cc_file)'' file.'
1157 },
1158 ]
1159 },
1116 ] 1160 ]
1117 } 1161 }
OLDNEW
« no previous file with comments | « runtime/vm/bootstrap.cc ('k') | sdk/lib/vmservice/client.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698