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

Unified Diff: runtime/vm/vm.gypi

Issue 9422019: isolates refactor: this change introduces 'dart:isolate' as a library. This is a (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: '' Created 8 years, 10 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/snapshot_test.dart ('k') | samples/chat/chat_server_lib.dart » ('j') | 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 598aaf4a6e43138caa7504300396e7e5ce549f68..7dddece5dcdd70cc14ca88e0af5b3ab5764278a3 100644
--- a/runtime/vm/vm.gypi
+++ b/runtime/vm/vm.gypi
@@ -7,6 +7,7 @@
'builtin_in_cc_file': '../bin/builtin_in.cc',
'corelib_cc_file': '<(SHARED_INTERMEDIATE_DIR)/corelib_gen.cc',
'corelib_impl_cc_file': '<(SHARED_INTERMEDIATE_DIR)/corelib_impl_gen.cc',
+ 'isolate_cc_file': '<(SHARED_INTERMEDIATE_DIR)/isolate_gen.cc',
'snapshot_test_dat_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_test.dat',
'snapshot_test_in_dat_file': 'snapshot_test_in.dat',
'snapshot_test_dart_file': 'snapshot_test.dart',
@@ -59,16 +60,19 @@
'dependencies': [
'generate_corelib_cc_file',
'generate_corelib_impl_cc_file',
+ 'generate_isolate_cc_file',
],
'includes': [
'../lib/lib_sources.gypi',
'../lib/lib_impl_sources.gypi',
+ '../lib/isolate_sources.gypi',
],
'sources': [
'bootstrap.cc',
# Include generated source files.
'<(corelib_cc_file)',
'<(corelib_impl_cc_file)',
+ '<(isolate_cc_file)',
],
'include_dirs': [
'..',
@@ -80,6 +84,7 @@
'includes': [
'../lib/lib_sources.gypi',
'../lib/lib_impl_sources.gypi',
+ '../lib/isolate_sources.gypi',
],
'sources': [
'bootstrap_nocorelib.cc',
@@ -179,6 +184,49 @@
]
},
{
+ 'target_name': 'generate_isolate_cc_file',
+ 'type': 'none',
+ 'conditions': [
+ ['OS=="win"', {
+ 'msvs_cygwin_dirs': ['<(cygwin_dir)'],
+ }],
+ ],
+ 'includes': [
+ # Load the runtime implementation sources.
+ '../lib/isolate_sources.gypi',
+ ],
+ 'sources/': [
+ # Exclude all .[cc|h] files.
+ # This is only here for reference. Excludes happen after
+ # variable expansion, so the script has to do its own
+ # exclude processing of the sources being passed.
+ ['exclude', '\\.cc|h$'],
+ ],
+ 'actions': [
+ {
+ 'action_name': 'generate_isolate_cc',
+ 'inputs': [
+ '../tools/create_string_literal.py',
+ '<(builtin_in_cc_file)',
+ '<@(_sources)',
+ ],
+ 'outputs': [
+ '<(isolate_cc_file)',
+ ],
+ 'action': [
+ 'python',
+ 'tools/create_string_literal.py',
+ '--output', '<(isolate_cc_file)',
+ '--input_cc', '<(builtin_in_cc_file)',
+ '--include', 'vm/bootstrap.h',
+ '--var_name', 'dart::Bootstrap::isolate_source_',
+ '<@(_sources)',
+ ],
+ 'message': 'Generating ''<(isolate_cc_file)'' file.'
+ },
+ ]
+ },
+ {
'target_name': 'generate_snapshot_test_dat_file',
'type': 'none',
'conditions': [
« no previous file with comments | « runtime/vm/snapshot_test.dart ('k') | samples/chat/chat_server_lib.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698