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

Side by Side Diff: inspector_protocol.gni

Issue 2482093004: [inspector_protocol] Allow overriding specific config values. (Closed)
Patch Set: typo Created 4 years, 1 month 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 | « CodeGenerator.py ('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 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 # This template will generate inspector protocol source code. The code will 5 # This template will generate inspector protocol source code. The code will
6 # not be compiled, use get_target_outputs(<name>) to compile them. 6 # not be compiled, use get_target_outputs(<name>) to compile them.
7 # 7 #
8 # Inputs 8 # Inputs
9 # 9 #
10 # config_file (required) 10 # config_file (required)
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 60
61 args = [ 61 args = [
62 "--jinja_dir", 62 "--jinja_dir",
63 rebase_path("//third_party/", root_build_dir), # jinja is in chromium's t hird_party 63 rebase_path("//third_party/", root_build_dir), # jinja is in chromium's t hird_party
64 "--output_base", 64 "--output_base",
65 rebase_path(invoker.out_dir, root_build_dir), 65 rebase_path(invoker.out_dir, root_build_dir),
66 "--config", 66 "--config",
67 rebase_path(invoker.config_file, root_build_dir), 67 rebase_path(invoker.config_file, root_build_dir),
68 ] 68 ]
69 69
70 if (defined(invoker.config_values)) {
71 foreach(value, invoker.config_values) {
72 args += [
73 "--config_value",
74 value,
75 ]
76 }
77 }
78
70 outputs = get_path_info(rebase_path(invoker.outputs, ".", invoker.out_dir), 79 outputs = get_path_info(rebase_path(invoker.outputs, ".", invoker.out_dir),
71 "abspath") 80 "abspath")
72 81
73 forward_variables_from(invoker, 82 forward_variables_from(invoker,
74 [ 83 [
75 "visibility", 84 "visibility",
76 "deps", 85 "deps",
77 "public_deps", 86 "public_deps",
78 ]) 87 ])
79 } 88 }
80 } 89 }
OLDNEW
« no previous file with comments | « CodeGenerator.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698