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 |