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

Unified Diff: Source/devtools/scripts/compile_frontend.py

Issue 471433004: DevTools: Split out the "workspace" and "bindings" modules from "sdk" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Extract StaticContentProvider, remove stray jsdoc Created 6 years, 4 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
Index: Source/devtools/scripts/compile_frontend.py
diff --git a/Source/devtools/scripts/compile_frontend.py b/Source/devtools/scripts/compile_frontend.py
index 0b1f1f228a8dd7d3e32887ca2592e2e731b4228b..4172a686da95bd4d2a88fa3c55c082abea463753 100755
--- a/Source/devtools/scripts/compile_frontend.py
+++ b/Source/devtools/scripts/compile_frontend.py
@@ -62,6 +62,10 @@ runtime_module_name = "_runtime"
module_initializer_name = "_module.js"
+def log_error(message):
+ print "ERROR: " + message
+
+
def error_excepthook(exctype, value, traceback):
print "ERROR:"
sys.__excepthook__(exctype, value, traceback)
@@ -97,9 +101,6 @@ def hasErrors(output):
return re.search(error_warning_regex, output) != None
-def log_error(message):
- print "ERROR: " + message
-
def verify_importScript_usage():
errors_found = False
for module in modules:

Powered by Google App Engine
This is Rietveld 408576698