OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 # Keep in sync with 'remoting_webapp' target in remoting/remoting_client.gypi. | 5 # Keep in sync with 'remoting_webapp' target in remoting/remoting_client.gypi. |
6 | 6 |
7 import("//build/config/chrome_build.gni") | 7 import("//build/config/chrome_build.gni") |
8 import("//build/config/features.gni") | 8 import("//build/config/features.gni") |
9 import("//build/util/version.gni") | 9 import("//build/util/version.gni") |
10 import("//remoting/remoting_locales.gni") | 10 import("//remoting/remoting_locales.gni") |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 ] | 71 ] |
72 | 72 |
73 extra_closure_args = [ | 73 extra_closure_args = [ |
74 "jscomp_error=reportUnknownTypes", | 74 "jscomp_error=reportUnknownTypes", |
75 "jscomp_error=duplicate", | 75 "jscomp_error=duplicate", |
76 "jscomp_error=misplacedTypeAnnotation", | 76 "jscomp_error=misplacedTypeAnnotation", |
77 ] | 77 ] |
78 | 78 |
79 args = rebase_path(js_files, root_build_dir) | 79 args = rebase_path(js_files, root_build_dir) |
80 args += [ | 80 args += [ |
81 "--no-single-file", | 81 "--no_single_file", |
82 "--out-file", | 82 "--out_file", |
83 rebase_path(target_jscompile_stamp, root_build_dir), | 83 rebase_path(target_jscompile_stamp, root_build_dir), |
84 "--closure-args", | 84 "--closure_args", |
85 ] + closure_args + extra_closure_args | 85 ] + closure_args + extra_closure_args |
86 args += [ "--externs" ] + rebase_path(externs, root_build_dir) | 86 args += [ "--externs" ] + rebase_path(externs, root_build_dir) |
87 } | 87 } |
88 } | 88 } |
89 | 89 |
90 action(target_name) { | 90 action(target_name) { |
91 html_template_file = invoker.html_template_file | 91 html_template_file = invoker.html_template_file |
92 html_template_include_files = invoker.html_template_include_files | 92 html_template_include_files = invoker.html_template_include_files |
93 js_files = invoker.js_files | 93 js_files = invoker.js_files |
94 html_output = invoker.html_output | 94 html_output = invoker.html_output |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
290 args += [ | 290 args += [ |
291 "--locales_listfile", | 291 "--locales_listfile", |
292 rebase_path(locales_listfile_output, root_build_dir), | 292 rebase_path(locales_listfile_output, root_build_dir), |
293 ] | 293 ] |
294 args += [ | 294 args += [ |
295 "--use_gcd", | 295 "--use_gcd", |
296 "$remoting_use_gcd", | 296 "$remoting_use_gcd", |
297 ] | 297 ] |
298 } | 298 } |
299 } | 299 } |
OLD | NEW |