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

Unified Diff: runtime/bin/bin.gypi

Issue 10332109: Make the crypto library an official dart:crypto library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix long line Created 8 years, 7 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 | « lib/crypto/crypto_vm.dart ('k') | 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
diff --git a/runtime/bin/bin.gypi b/runtime/bin/bin.gypi
index ccf3aeb01584979ad448fa8281842de4b615b563..0a572ebae500840e779b4f494ceb74c84f901d2f 100644
--- a/runtime/bin/bin.gypi
+++ b/runtime/bin/bin.gypi
@@ -4,6 +4,7 @@
{
'variables': {
+ 'crypto_cc_file': '<(SHARED_INTERMEDIATE_DIR)/crypto_gen.cc',
'io_cc_file': '<(SHARED_INTERMEDIATE_DIR)/io_gen.cc',
'json_cc_file': '<(SHARED_INTERMEDIATE_DIR)/json_gen.cc',
'uri_cc_file': '<(SHARED_INTERMEDIATE_DIR)/uri_gen.cc',
@@ -46,6 +47,36 @@
]
},
{
+ 'target_name': 'generate_crypto_cc_file',
+ 'type': 'none',
+ 'includes': [
+ 'crypto_sources.gypi',
+ ],
+ 'actions': [
+ {
+ 'action_name': 'generate_crypto_cc',
+ 'inputs': [
+ '../tools/create_string_literal.py',
+ '<(builtin_in_cc_file)',
+ '<@(_sources)',
+ ],
+ 'outputs': [
+ '<(crypto_cc_file)',
+ ],
+ 'action': [
+ 'python',
+ 'tools/create_string_literal.py',
+ '--output', '<(crypto_cc_file)',
+ '--input_cc', '<(builtin_in_cc_file)',
+ '--include', 'bin/builtin.h',
+ '--var_name', 'Builtin::crypto_source_',
+ '<@(_sources)',
+ ],
+ 'message': 'Generating ''<(crypto_cc_file)'' file.'
+ },
+ ]
+ },
+ {
'target_name': 'generate_io_cc_file',
'type': 'none',
'includes': [
@@ -170,6 +201,7 @@
'type': 'static_library',
'dependencies': [
'generate_builtin_cc_file',
+ 'generate_crypto_cc_file',
'generate_io_cc_file',
'generate_json_cc_file',
'generate_uri_cc_file',
@@ -251,6 +283,7 @@
'builtin.cc',
# Include generated source files.
'<(builtin_cc_file)',
+ '<(crypto_cc_file)',
'<(io_cc_file)',
'<(json_cc_file)',
'<(uri_cc_file)',
@@ -341,6 +374,7 @@
'builtin.cc',
# Include generated source files.
'<(builtin_cc_file)',
+ '<(crypto_cc_file)',
'<(io_cc_file)',
'<(json_cc_file)',
'<(uri_cc_file)',
@@ -378,6 +412,7 @@
'builtin.cc',
# Include generated source files.
'<(builtin_cc_file)',
+ '<(crypto_cc_file)',
'<(io_cc_file)',
'<(json_cc_file)',
'<(uri_cc_file)',
« no previous file with comments | « lib/crypto/crypto_vm.dart ('k') | runtime/bin/builtin.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698