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

Unified Diff: runtime/vm/vm.gypi

Issue 27523002: Add "deprecated" to the standard library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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
Index: runtime/vm/vm.gypi
diff --git a/runtime/vm/vm.gypi b/runtime/vm/vm.gypi
index 904eb1b8dfd3dde5099dc0955854d89cb41ca0df..a718eb03857d0381eedf4503b24a52514c046f95 100644
--- a/runtime/vm/vm.gypi
+++ b/runtime/vm/vm.gypi
@@ -7,6 +7,7 @@
'gen_source_dir': '<(SHARED_INTERMEDIATE_DIR)',
'libgen_in_cc_file': '../lib/libgen_in.cc',
'builtin_in_cc_file': '../bin/builtin_in.cc',
+ 'annotation_cc_file': '<(gen_source_dir)/annotation_gen.cc',
'async_cc_file': '<(gen_source_dir)/async_gen.cc',
'async_patch_cc_file': '<(gen_source_dir)/async_patch_gen.cc',
'corelib_cc_file': '<(gen_source_dir)/corelib_gen.cc',
@@ -94,6 +95,7 @@
'type': 'static_library',
'toolsets':['host', 'target'],
'dependencies': [
+ 'generate_annotation_cc_file#host',
'generate_async_cc_file#host',
'generate_async_patch_cc_file#host',
'generate_corelib_cc_file#host',
@@ -116,6 +118,7 @@
'generate_utf_cc_file#host',
],
'includes': [
+ '../lib/annotation_sources.gypi',
'../lib/async_sources.gypi',
'../lib/collection_sources.gypi',
'../lib/corelib_sources.gypi',
@@ -127,6 +130,7 @@
'sources': [
'bootstrap.cc',
# Include generated source files.
+ '<(annotation_cc_file)',
'<(async_cc_file)',
'<(async_patch_cc_file)',
'<(corelib_cc_file)',
@@ -157,6 +161,7 @@
'type': 'static_library',
'toolsets':['host', 'target'],
'includes': [
+ '../lib/annotation_sources.gypi',
'../lib/async_sources.gypi',
'../lib/collection_sources.gypi',
'../lib/corelib_sources.gypi',
@@ -173,6 +178,38 @@
],
},
{
+ 'target_name': 'generate_annotation_cc_file',
+ 'type': 'none',
+ 'toolsets':['host'],
+ 'includes': [
+ '../../sdk/lib/annotation/annotation_sources.gypi',
+ ],
+ 'actions': [
+ {
+ 'action_name': 'generate_annotation_cc',
+ 'inputs': [
+ '../tools/gen_library_src_paths.py',
+ '<(libgen_in_cc_file)',
+ '<@(_sources)',
+ ],
+ 'outputs': [
+ '<(annotation_cc_file)',
+ ],
+ 'action': [
+ 'python',
+ 'tools/gen_library_src_paths.py',
+ '--output', '<(annotation_cc_file)',
+ '--input_cc', '<(libgen_in_cc_file)',
+ '--include', 'vm/bootstrap.h',
+ '--var_name', 'dart::Bootstrap::annotation_source_paths_',
+ '--library_name', 'dart:annotation',
+ '<@(_sources)',
+ ],
+ 'message': 'Generating ''<(annotation_cc_file)'' file.'
+ },
+ ]
+ },
+ {
'target_name': 'generate_async_cc_file',
'type': 'none',
'toolsets':['host'],

Powered by Google App Engine
This is Rietveld 408576698