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

Side by Side Diff: remoting/tools/build/remoting_localize.gni

Issue 2905523002: Reduce absolute paths in generated ninja files (Closed)
Patch Set: revert build/config/gcc/BUILD.gn, rebase Created 3 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 unified diff | Download patch
« no previous file with comments | « remoting/host/BUILD.gn ('k') | services/catalog/public/tools/catalog.gni » ('j') | 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 # Calls the remoting_localize script with a jinja2 template. 5 # Calls the remoting_localize script with a jinja2 template.
6 # 6 #
7 # Arguments 7 # Arguments
8 # 8 #
9 # sources (required) 9 # sources (required)
10 # List of jinja2 files to load. This is the template. 10 # List of jinja2 files to load. This is the template.
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 i, 69 i,
70 ] 70 ]
71 } 71 }
72 } 72 }
73 73
74 # Add variables to command line. 74 # Add variables to command line.
75 if (defined(invoker.variables)) { 75 if (defined(invoker.variables)) {
76 foreach(i, invoker.variables) { 76 foreach(i, invoker.variables) {
77 args += [ 77 args += [
78 "--variables", 78 "--variables",
79 i, 79 rebase_path(i, root_build_dir),
80 ] 80 ]
81 } 81 }
82 } 82 }
83 83
84 # The template file is required. 84 # The template file is required.
85 args += [ 85 args += [
86 "--template", 86 "--template",
87 "{{source}}", 87 "{{source}}",
88 ] 88 ]
89 89
(...skipping 14 matching lines...) Expand all
104 if (defined(invoker.deps)) { 104 if (defined(invoker.deps)) {
105 deps = invoker.deps 105 deps = invoker.deps
106 } else { 106 } else {
107 deps = [] 107 deps = []
108 } 108 }
109 109
110 # This script reads the messages strings from the generated resource files. 110 # This script reads the messages strings from the generated resource files.
111 deps += [ "//remoting/resources:strings" ] 111 deps += [ "//remoting/resources:strings" ]
112 } 112 }
113 } 113 }
OLDNEW
« no previous file with comments | « remoting/host/BUILD.gn ('k') | services/catalog/public/tools/catalog.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698