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

Unified Diff: runtime/bin/bin.gypi

Issue 10574037: Add dart:web to VM. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 6 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 | « no previous file | runtime/bin/builtin.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/bin.gypi
===================================================================
--- runtime/bin/bin.gypi (revision 8989)
+++ runtime/bin/bin.gypi (working copy)
@@ -9,6 +9,7 @@
'json_cc_file': '<(SHARED_INTERMEDIATE_DIR)/json_gen.cc',
'uri_cc_file': '<(SHARED_INTERMEDIATE_DIR)/uri_gen.cc',
'utf_cc_file': '<(SHARED_INTERMEDIATE_DIR)/utf_gen.cc',
+ 'web_cc_file': '<(SHARED_INTERMEDIATE_DIR)/web_gen.cc',
'builtin_in_cc_file': 'builtin_in.cc',
'builtin_cc_file': '<(SHARED_INTERMEDIATE_DIR)/builtin_gen.cc',
'snapshot_in_cc_file': 'snapshot_in.cc',
@@ -216,6 +217,36 @@
]
},
{
+ 'target_name': 'generate_web_cc_file',
+ 'type': 'none',
+ 'includes': [
+ 'web_sources.gypi',
+ ],
+ 'actions': [
+ {
+ 'action_name': 'generate_web_cc',
+ 'inputs': [
+ '../tools/create_string_literal.py',
+ '<(builtin_in_cc_file)',
+ '<@(_sources)',
+ ],
+ 'outputs': [
+ '<(web_cc_file)',
+ ],
+ 'action': [
+ 'python',
+ 'tools/create_string_literal.py',
+ '--output', '<(web_cc_file)',
+ '--input_cc', '<(builtin_in_cc_file)',
+ '--include', 'bin/builtin.h',
+ '--var_name', 'Builtin::web_source_',
+ '<@(_sources)',
+ ],
+ 'message': 'Generating ''<(web_cc_file)'' file.'
+ },
+ ]
+ },
+ {
'target_name': 'libdart_builtin',
'type': 'static_library',
'dependencies': [
@@ -225,6 +256,7 @@
'generate_json_cc_file',
'generate_uri_cc_file',
'generate_utf_cc_file',
+ 'generate_web_cc_file',
],
'include_dirs': [
'..',
@@ -307,6 +339,7 @@
'<(json_cc_file)',
'<(uri_cc_file)',
'<(utf_cc_file)',
+ '<(web_cc_file)',
],
'conditions': [
['OS=="win"', {
@@ -361,6 +394,7 @@
'main.cc',
'builtin_nolib.cc',
'<(snapshot_cc_file)',
+ '<(web_cc_file)',
],
'conditions': [
['OS=="win"', {
@@ -398,6 +432,7 @@
'<(json_cc_file)',
'<(uri_cc_file)',
'<(utf_cc_file)',
+ '<(web_cc_file)',
'snapshot_empty.cc',
],
'conditions': [
@@ -436,6 +471,7 @@
'<(json_cc_file)',
'<(uri_cc_file)',
'<(utf_cc_file)',
+ '<(web_cc_file)',
],
'includes': [
'builtin_impl_sources.gypi',
« no previous file with comments | « no previous file | runtime/bin/builtin.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698