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

Unified Diff: third_party/closure_compiler/compile2.py

Issue 2800833004: Create js_library and js_binary templates for closure compiling. (Closed)
Patch Set: update comments Created 3 years, 8 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 | « no previous file | third_party/closure_compiler/compile_js.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/closure_compiler/compile2.py
diff --git a/third_party/closure_compiler/compile2.py b/third_party/closure_compiler/compile2.py
index 19ac4ebb2fecda03a009fad12ea9938e13a02158..db34e50b9e08389f62d0b8c124b0d66885e3b163 100755
--- a/third_party/closure_compiler/compile2.py
+++ b/third_party/closure_compiler/compile2.py
@@ -75,7 +75,7 @@ class Checker(object):
"""
print >> sys.stderr, "(ERROR) %s" % msg
- def _run_jar(self, jar, args):
+ def run_jar(self, jar, args):
"""Runs a .jar from the command line with arguments.
Args:
@@ -264,7 +264,7 @@ class Checker(object):
self._log_debug("Args: %s" % " ".join(args))
- _, stderr = self._run_jar(self._compiler_jar, args)
+ _, stderr = self.run_jar(self._compiler_jar, args)
errors = stderr.strip().split("\n\n")
maybe_summary = errors.pop()
« no previous file with comments | « no previous file | third_party/closure_compiler/compile_js.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698