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

Unified Diff: remoting/webapp/build_template.gni

Issue 1196453003: chromoting: Add JS externs for qunit. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Don't forget the gypi. Created 5 years, 6 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 | « remoting/remoting_webapp_files.gypi ('k') | remoting/webapp/externs/qunit.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/build_template.gni
diff --git a/remoting/webapp/build_template.gni b/remoting/webapp/build_template.gni
index 8c970840bd6ad94392346258d1326c990b8dbdc6..c5d46e955b04a86628ad32b603b1152543a0a938 100644
--- a/remoting/webapp/build_template.gni
+++ b/remoting/webapp/build_template.gni
@@ -54,6 +54,10 @@ template("build_webapp_html") {
target_jscompile_stamp = "$target_gen_dir/${target_jscompile}.stamp"
action(target_jscompile) {
js_files = remoting_webapp_js_proto_files + invoker.js_files
+ externs = [
+ remoting_webapp_externs,
+ "../../third_party/closure_compiler/externs/chrome_extensions.js",
+ ]
script = "../../third_party/closure_compiler/compile.py"
inputs = js_files
@@ -65,7 +69,7 @@ template("build_webapp_html") {
"--strict",
"--no-single-file",
"--externs",
- "../../third_party/closure_compiler/externs/chrome_extensions.js",
+ externs,
"--success-stamp",
rebase_path(target_jscompile_stamp, root_build_dir),
]
« no previous file with comments | « remoting/remoting_webapp_files.gypi ('k') | remoting/webapp/externs/qunit.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698