| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |