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

Unified Diff: Source/bindings/dart/gyp/dartium.gyp

Issue 104433004: Enable VM service inside Dartium Renderer processes (Closed) Base URL: svn://svn.chromium.org/multivm/branches/1650/blink
Patch Set: Created 7 years 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
Index: Source/bindings/dart/gyp/dartium.gyp
diff --git a/Source/bindings/dart/gyp/dartium.gyp b/Source/bindings/dart/gyp/dartium.gyp
index 774c235cb6154a7e28970c49c23c178a6cae759d..38ad6de99634370f2c28ec048964e4f00b35ca27 100644
--- a/Source/bindings/dart/gyp/dartium.gyp
+++ b/Source/bindings/dart/gyp/dartium.gyp
@@ -39,6 +39,37 @@
'targets': [
{
+ 'target_name': 'generate_vmservice_cpp_file',
+ 'type': 'none',
+ 'toolsets':['host'],
+ 'includes': [
+ 'resources_sources.gypi',
+ ],
+ 'variables': {
+ 'output_path': '<(SHARED_INTERMEDIATE_DIR)/blink/bindings/dart',
+ },
+ 'actions': [
+ {
+ 'action_name': 'generate_vmservice_cpp',
+ 'inputs': [
+ '<(dart_dir)/runtime/tools/create_resources.py',
+ '<@(_sources)',
+ ],
+ 'outputs': [
+ '<(output_path)/vmservice_gen.cpp'
+ ],
+ 'action': [
+ 'python',
+ '<(dart_dir)/runtime/tools/create_resources.py',
+ '--output', '<(output_path)/vmservice_gen.cpp',
+ '--root_prefix', '<(dart_dir)/runtime/bin/',
+ '<@(_sources)'
+ ],
+ 'message': 'Generating ''<(output_path)/vmservice_gen.cpp'' file.'
+ },
+ ]
+ },
+ {
'target_name': 'dart_debug_hooks_source',
'type': 'none',
'actions': [
@@ -224,6 +255,7 @@
'hard_dependency': 1,
'dependencies': [
'dart_generated_sources',
+ 'generate_vmservice_cpp_file',
'<(dart_dir)/runtime/dart-runtime.gyp:gen_snapshot#host',
],
'variables': {

Powered by Google App Engine
This is Rietveld 408576698