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

Unified Diff: third_party/WebKit/Source/devtools/scripts/closure/closure_runner/build_compiler_runner_jar.py

Issue 2563763003: DevTools: roll closure compiler to 20161201. (Closed)
Patch Set: rebaselined Created 4 years 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: third_party/WebKit/Source/devtools/scripts/closure/closure_runner/build_compiler_runner_jar.py
diff --git a/third_party/WebKit/Source/devtools/scripts/closure/closure_runner/build_compiler_runner_jar.py b/third_party/WebKit/Source/devtools/scripts/closure/closure_runner/build_compiler_runner_jar.py
index b47c1c2ef8557a051b6ae7b1ee0dfd7fb6d6ae43..9ff1091b25830f76151fbc53fc63436031635b64 100755
--- a/third_party/WebKit/Source/devtools/scripts/closure/closure_runner/build_compiler_runner_jar.py
+++ b/third_party/WebKit/Source/devtools/scripts/closure/closure_runner/build_compiler_runner_jar.py
@@ -44,7 +44,7 @@ def build_artifacts():
manifest_file.write('Class-Path: %s\n' % closure_jar_relpath)
manifest_file.close()
javac_path = os.path.join(java_bin_path, 'javac')
- javac_command = '%s -d %s -cp %s %s' % (javac_path, bin_path, rel_to_abs(closure_jar_relpath), ' '.join(java_files))
+ javac_command = '%s -target 7 -source 7 -d %s -cp %s %s' % (javac_path, bin_path, rel_to_abs(closure_jar_relpath), ' '.join(java_files))
run_and_communicate(javac_command, 'Error: javac returned %d')
print 'Building jar...'

Powered by Google App Engine
This is Rietveld 408576698