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

Unified Diff: runtime/vm/vm.gypi

Issue 125103004: Move service into VM (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/symbols.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/vm.gypi
diff --git a/runtime/vm/vm.gypi b/runtime/vm/vm.gypi
index 42576083ce82fd2fa1ac5eefbb794a0148738524..89e10ab9f1d745eb818dcf891c4fe8a3e9206244 100644
--- a/runtime/vm/vm.gypi
+++ b/runtime/vm/vm.gypi
@@ -25,6 +25,7 @@
'isolate_patch_cc_file': '<(gen_source_dir)/isolate_patch_gen.cc',
'typed_data_cc_file': '<(gen_source_dir)/typed_data_gen.cc',
'typed_data_patch_cc_file': '<(gen_source_dir)/typed_data_patch_gen.cc',
+ 'service_cc_file': '<(gen_source_dir)/service_gen.cc',
'snapshot_test_dat_file': '<(gen_source_dir)/snapshot_test.dat',
'snapshot_test_in_dat_file': 'snapshot_test_in.dat',
'snapshot_test_dart_file': 'snapshot_test.dart',
@@ -34,11 +35,18 @@
'target_name': 'libdart_vm',
'type': 'static_library',
'toolsets':['host', 'target'],
+ 'dependencies': [
+ 'generate_service_cc_file#host'
+ ],
'includes': [
'vm_sources.gypi',
'../platform/platform_headers.gypi',
'../platform/platform_sources.gypi',
],
+ 'sources': [
+ # Include generated source files.
+ '<(service_cc_file)',
+ ],
'sources/': [
# Exclude all _test.[cc|h] files.
['exclude', '_test\\.(cc|h)$'],
@@ -906,5 +914,35 @@
},
]
},
+ {
+ 'target_name': 'generate_service_cc_file',
+ 'type': 'none',
+ 'toolsets':['host'],
+ 'includes': [
+ 'service_sources.gypi',
+ ],
+ 'actions': [
+ {
+ 'action_name': 'generate_service_cc',
+ 'inputs': [
+ '../tools/create_resources.py',
+ '<@(_sources)',
+ ],
+ 'outputs': [
+ '<(service_cc_file)',
+ ],
+ 'action': [
+ 'python',
+ 'tools/create_resources.py',
+ '--output', '<(service_cc_file)',
+ '--outer_namespace', 'dart',
+ '--table_name', 'service',
+ '--root_prefix', 'vm/service/',
+ '<@(_sources)'
+ ],
+ 'message': 'Generating ''<(service_cc_file)'' file.'
+ },
+ ]
+ },
]
}
« no previous file with comments | « runtime/vm/symbols.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698