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

Unified Diff: runtime/bin/bin.gypi

Issue 9254026: Split dart:builtin into dart:builtin and dart:io. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comment and add binaries. Created 8 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 | « frog/tests/frog/src/FrogServerTest.dart ('k') | runtime/bin/buffer_list.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/bin.gypi
diff --git a/runtime/bin/bin.gypi b/runtime/bin/bin.gypi
index d15043ca23704005baf0023dac0b7aa99a27d28a..d4b1f77b3ca0630f7b70e3defdc8506af01f2fc4 100644
--- a/runtime/bin/bin.gypi
+++ b/runtime/bin/bin.gypi
@@ -4,6 +4,8 @@
{
'variables': {
+ 'io_in_cc_file': 'io_in.cc',
+ 'io_cc_file': '<(SHARED_INTERMEDIATE_DIR)/io_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',
@@ -22,10 +24,6 @@
],
'includes': [
'builtin_sources.gypi',
- '../platform/platform_headers.gypi',
- ],
- 'sources/': [
- ['exclude', '\\.(cc|h)$'],
],
'actions': [
{
@@ -50,10 +48,44 @@
]
},
{
+ 'target_name': 'generate_io_cc_file',
+ 'type': 'none',
+ 'conditions': [
+ ['OS=="win"', {
+ 'msvs_cygwin_dirs': ['<(cygwin_dir)'],
+ }],
+ ],
+ 'includes': [
+ 'io_sources.gypi',
+ ],
+ 'actions': [
+ {
+ 'action_name': 'generate_io_cc',
+ 'inputs': [
+ '../tools/create_string_literal.py',
+ '<(io_in_cc_file)',
+ '<@(_sources)',
+ ],
+ 'outputs': [
+ '<(io_cc_file)',
+ ],
+ 'action': [
+ 'python',
+ 'tools/create_string_literal.py',
+ '--output', '<(io_cc_file)',
+ '--input_cc', '<(io_in_cc_file)',
+ '<@(_sources)',
+ ],
+ 'message': 'Generating ''<(io_cc_file)'' file.'
+ },
+ ]
+ },
+ {
'target_name': 'libdart_builtin',
'type': 'static_library',
'dependencies': [
'generate_builtin_cc_file',
+ 'generate_io_cc_file',
],
'include_dirs': [
'..',
@@ -63,7 +95,7 @@
'builtin.h',
],
'includes': [
- 'builtin_sources.gypi',
+ 'builtin_impl_sources.gypi',
'../platform/platform_sources.gypi',
],
'sources/': [
@@ -110,6 +142,7 @@
'builtin.cc',
# Include generated source files.
'<(builtin_cc_file)',
+ '<(io_cc_file)',
],
'conditions': [
['OS=="win"', {
@@ -193,6 +226,7 @@
'builtin.cc',
# Include generated source files.
'<(builtin_cc_file)',
+ '<(io_cc_file)',
'snapshot_empty.cc',
],
'conditions': [
@@ -225,7 +259,7 @@
'run_vm_tests.cc',
],
'includes': [
- 'builtin_sources.gypi',
+ 'builtin_impl_sources.gypi',
'../platform/platform_sources.gypi',
'../vm/vm_sources.gypi',
],
« no previous file with comments | « frog/tests/frog/src/FrogServerTest.dart ('k') | runtime/bin/buffer_list.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698