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

Side by Side Diff: services/catalog/public/tools/catalog.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/tools/build/remoting_localize.gni ('k') | testing/libfuzzer/fuzzer_test.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 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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 import("//build/config/dcheck_always_on.gni") 5 import("//build/config/dcheck_always_on.gni")
6 6
7 # Generates a static catalog manifest to be loaded at runtime. This manifest 7 # Generates a static catalog manifest to be loaded at runtime. This manifest
8 # contains the union of all individual service manifests specified by the 8 # contains the union of all individual service manifests specified by the
9 # template parameters. 9 # template parameters.
10 # 10 #
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 action(target_name) { 63 action(target_name) {
64 testonly = defined(invoker.testonly) && invoker.testonly 64 testonly = defined(invoker.testonly) && invoker.testonly
65 65
66 script = "//services/catalog/public/tools/generate_manifest.py" 66 script = "//services/catalog/public/tools/generate_manifest.py"
67 67
68 inputs = [] 68 inputs = []
69 outputs = [ 69 outputs = [
70 output_filename, 70 output_filename,
71 ] 71 ]
72 72
73 args = [ "--output=" + rebase_path(output_filename) ] 73 args = [ "--output=" + rebase_path(output_filename, root_build_dir) ]
74 74
75 if (is_debug || dcheck_always_on) { 75 if (is_debug || dcheck_always_on) {
76 args += [ "--pretty" ] 76 args += [ "--pretty" ]
77 } 77 }
78 78
79 deps = [] 79 deps = []
80 if (defined(invoker.deps)) { 80 if (defined(invoker.deps)) {
81 deps += invoker.deps 81 deps += invoker.deps
82 } 82 }
83 83
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 194
195 source_set(target_name) { 195 source_set(target_name) {
196 testonly = defined(invoker.testonly) && invoker.testonly 196 testonly = defined(invoker.testonly) && invoker.testonly
197 sources = get_target_outputs(":$generator_target_name") 197 sources = get_target_outputs(":$generator_target_name")
198 deps = [ 198 deps = [
199 ":$generator_target_name", 199 ":$generator_target_name",
200 "//base", 200 "//base",
201 ] 201 ]
202 } 202 }
203 } 203 }
OLDNEW
« no previous file with comments | « remoting/tools/build/remoting_localize.gni ('k') | testing/libfuzzer/fuzzer_test.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698