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

Side by Side Diff: remoting/webapp/build_template.gni

Issue 1947923002: remoting: fix out-of-tree build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: trybots Created 4 years, 7 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 unified diff | Download patch
« no previous file with comments | « remoting/remoting_options.gni ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
95 exclude_js = invoker.exclude_js 95 exclude_js = invoker.exclude_js
96 instrument_js = invoker.instrument_js 96 instrument_js = invoker.instrument_js
97 97
98 script = rebase_path("//remoting/webapp/build-html.py", root_build_dir) 98 script = rebase_path("//remoting/webapp/build-html.py")
99 99
100 # Create a file that contains a list of all the JavaScript files needed 100 # Create a file that contains a list of all the JavaScript files needed
101 # to build the unit test page. This is needed to avoid problems on platforms 101 # to build the unit test page. This is needed to avoid problems on platforms
102 # that limit the size of a command line. 102 # that limit the size of a command line.
103 file_list = "$target_gen_dir/${target_name}_files.txt" 103 file_list = "$target_gen_dir/${target_name}_files.txt"
104 files = rebase_path(js_files, root_build_dir) 104 files = rebase_path(js_files, root_build_dir)
105 write_file(file_list, files) 105 write_file(file_list, files)
106 106
107 inputs = [ html_template_file ] + html_template_include_files + js_files 107 inputs = [ html_template_file ] + html_template_include_files + js_files
108 108
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 pnacl_tc = "//build/toolchain/nacl:newlib_pnacl" 230 pnacl_tc = "//build/toolchain/nacl:newlib_pnacl"
231 pexe_label = "//remoting/client/plugin:remoting_client_plugin_newlib" 231 pexe_label = "//remoting/client/plugin:remoting_client_plugin_newlib"
232 pexe_dir = get_label_info("${pexe_label}($pnacl_tc)", "root_out_dir") 232 pexe_dir = get_label_info("${pexe_label}($pnacl_tc)", "root_out_dir")
233 233
234 extra_files += [ "$pexe_dir/remoting_client_plugin_newlib.pexe" ] 234 extra_files += [ "$pexe_dir/remoting_client_plugin_newlib.pexe" ]
235 if (is_debug) { 235 if (is_debug) {
236 extra_files += [ "$pexe_dir/remoting_client_plugin_newlib.pexe.debug" ] 236 extra_files += [ "$pexe_dir/remoting_client_plugin_newlib.pexe.debug" ]
237 } 237 }
238 } 238 }
239 239
240 inputs = [ rebase_path("crd/manifest.json.jinja2", root_build_dir) ] + 240 inputs = [ rebase_path("crd/manifest.json.jinja2") ] +
241 remoting_version_files + 241 remoting_version_files + rebase_path(remoting_webapp_crd_files) +
242 rebase_path(remoting_webapp_crd_files, root_build_dir) +
243 extra_files + dr_generated_html_files 242 extra_files + dr_generated_html_files
244 243
245 outputs = [ 244 outputs = [
246 zip_path, 245 zip_path,
247 ] 246 ]
248 247
249 deps = [ 248 deps = [
250 ":$background_html", 249 ":$background_html",
251 ":$locales_listfile", 250 ":$locales_listfile",
252 ":$main_html", 251 ":$main_html",
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 args += [ 288 args += [
290 "--locales_listfile", 289 "--locales_listfile",
291 rebase_path(locales_listfile_output, root_build_dir), 290 rebase_path(locales_listfile_output, root_build_dir),
292 ] 291 ]
293 args += [ 292 args += [
294 "--use_gcd", 293 "--use_gcd",
295 "$remoting_use_gcd", 294 "$remoting_use_gcd",
296 ] 295 ]
297 } 296 }
298 } 297 }
OLDNEW
« no previous file with comments | « remoting/remoting_options.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698