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

Unified Diff: remoting/webapp/build-html.py

Issue 1281953002: Fix QUnitBrowserTestRunner.Remoting_Webapp_Js_Unittest for GN browser tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « remoting/webapp/BUILD.gn ('k') | remoting/webapp/files.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/build-html.py
diff --git a/remoting/webapp/build-html.py b/remoting/webapp/build-html.py
index d73ec67e80a7dd8bb73cab9bfd9c90866e672131..17d9a6ac1ec0de2158326cd2defd183a30e423fb 100755
--- a/remoting/webapp/build-html.py
+++ b/remoting/webapp/build-html.py
@@ -143,6 +143,7 @@ def main():
out_file = args.output_file
js_files = set(args.js) - set(args.exclude_js)
+ instrumented_js_files = set(args.instrument_js) - set(args.exclude_js)
jam 2015/08/07 15:54:00 the comment on line 126 above says this should be
# Create the output directory if it does not exist.
out_directory = os.path.dirname(out_file)
@@ -151,7 +152,7 @@ def main():
# Generate the main HTML file from the templates.
with open(out_file, 'w') as output:
- gen = GenerateWebappHtml(args.templates, js_files, args.instrument_js,
+ gen = GenerateWebappHtml(args.templates, js_files, instrumented_js_files,
args.template_dir)
gen.processTemplate(output, args.input_template, 0)
« no previous file with comments | « remoting/webapp/BUILD.gn ('k') | remoting/webapp/files.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698