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

Unified Diff: runtime/tools/gen_library_src_paths.py

Issue 2921513002: Related to issue 27860 (Closed)
Patch Set: Created 3 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 | « runtime/bin/builtin.cc ('k') | runtime/vm/bootstrap.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/tools/gen_library_src_paths.py
diff --git a/runtime/tools/gen_library_src_paths.py b/runtime/tools/gen_library_src_paths.py
index 07505c8fca150b6fdbd0c23f45d8ee1f6aadc7cd..789eb7b759c6cd80d302c390490de1770d043d16 100755
--- a/runtime/tools/gen_library_src_paths.py
+++ b/runtime/tools/gen_library_src_paths.py
@@ -58,16 +58,13 @@ def makeFile(output_file, input_cc_file, include, var_name, lib_name, in_files):
main_file_found = True
bootstrap_cc_text = bootstrap_cc_text.replace(
"{{LIBRARY_SOURCE_MAP}}",
- ' "' + lib_name + '",\n "' +
- os.path.abspath(string_file).replace('\\', '\\\\') + '",\n' +
+ ' "' + lib_name + '",\n' +
' source_array_' + str(file_count) + ',\n')
inpt.close()
if (main_file_found):
continue
part_index.append(' "' +
os.path.basename(string_file).replace('\\', '\\\\') + '",\n')
- part_index.append(' "' +
- os.path.abspath(string_file).replace('\\', '\\\\') + '",\n')
part_index.append(' source_array_' + str(file_count) + ',\n\n')
bootstrap_cc_text = bootstrap_cc_text.replace("{{LIBRARY_SOURCE_MAP}}", '')
bootstrap_cc_text = bootstrap_cc_text.replace("{{PART_SOURCE_MAP}}",
« no previous file with comments | « runtime/bin/builtin.cc ('k') | runtime/vm/bootstrap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698