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

Unified Diff: runtime/tools/create_string_literal.py

Issue 8363018: use more distinctive pattern to mark where dart source goes (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 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
« no previous file with comments | « runtime/bin/builtin_in.cc ('k') | runtime/vm/corelib_impl_in.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/tools/create_string_literal.py
diff --git a/runtime/tools/create_string_literal.py b/runtime/tools/create_string_literal.py
index 9f752e26e9448645f6fc118f8d0a160804bffd4c..d016301e02f7411764ca03757b365722a08d7e5b 100644
--- a/runtime/tools/create_string_literal.py
+++ b/runtime/tools/create_string_literal.py
@@ -33,7 +33,8 @@ def makeString(input_files):
def makeFile(output_file, input_cc_file, input_files):
bootstrap_cc_text = open(input_cc_file).read()
- bootstrap_cc_text = bootstrap_cc_text % makeString(input_files)
+ bootstrap_cc_text = bootstrap_cc_text.replace("{{DART_SOURCE}}",
+ makeString(input_files))
open(output_file, 'w').write(bootstrap_cc_text)
return True
« no previous file with comments | « runtime/bin/builtin_in.cc ('k') | runtime/vm/corelib_impl_in.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698