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

Unified Diff: runtime/tools/gen_library_src_paths.py

Issue 1453353002: - Do not include the sources as part of the generated files on (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 1 month 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 | « no previous file | no next file » | 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 749c9d1d9b97eb1da2e862c8bf9b4d5c0e76ede4..8a55118f0a9bfdce58e3bb367fdbb46c7a5f9f4f 100644
--- a/runtime/tools/gen_library_src_paths.py
+++ b/runtime/tools/gen_library_src_paths.py
@@ -8,12 +8,18 @@
import os
import sys
+import utils
from os.path import join
from optparse import OptionParser
+HOST_OS = utils.GuessOS()
+
def makeString(input_file):
+ # TODO(iposva): For now avoid creating overly long strings on Windows.
+ if HOST_OS == 'win32':
+ return 'NULL'
result = '"'
fileHandle = open(input_file, 'rb')
lineCounter = 0
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698