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

Side by Side Diff: third_party/WebKit/Source/build/scripts/scripts.gni

Issue 2620883002: Convert Settings.in, CSSValueKeywords.in, SVGCSSValueKeywords.in to json5 (Closed)
Patch Set: Convert CSSProperties.in to json5 format Created 3 years, 11 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
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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/toolchain/toolchain.gni") 5 import("//build/toolchain/toolchain.gni")
6 import("//third_party/WebKit/Source/config.gni") 6 import("//third_party/WebKit/Source/config.gni")
7 7
8 # All paths in this file should be absolute so targets in any directory can use 8 # All paths in this file should be absolute so targets in any directory can use
9 # them without worrying about the current directory. 9 # them without worrying about the current directory.
10 _scripts_dir = "//third_party/WebKit/Source/build/scripts" 10 _scripts_dir = "//third_party/WebKit/Source/build/scripts"
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 forward_variables_from(invoker, [ "visibility" ]) 129 forward_variables_from(invoker, [ "visibility" ])
130 } 130 }
131 } 131 }
132 132
133 # Template for scripts using css_properties.py. This is a special case of 133 # Template for scripts using css_properties.py. This is a special case of
134 # process_in_files. 134 # process_in_files.
135 # outputs: expected results 135 # outputs: expected results
136 template("css_properties") { 136 template("css_properties") {
137 process_in_files(target_name) { 137 process_in_files(target_name) {
138 script = invoker.script 138 script = invoker.script
139 in_files = [ "css/CSSProperties.in" ] 139 in_files = [ "css/CSSProperties.json5" ]
140 other_inputs = css_properties_files 140 other_inputs = css_properties_files
141 if (defined(invoker.other_inputs)) { 141 if (defined(invoker.other_inputs)) {
142 other_inputs += invoker.other_inputs 142 other_inputs += invoker.other_inputs
143 } 143 }
144 other_args = [ 144 other_args = [
145 "--gperf", 145 "--gperf",
146 gperf_exe, 146 gperf_exe,
147 ] 147 ]
148 outputs = invoker.outputs 148 outputs = invoker.outputs
149 } 149 }
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 other_inputs = make_event_factory_files 195 other_inputs = make_event_factory_files
196 forward_variables_from(invoker, 196 forward_variables_from(invoker,
197 [ 197 [
198 "deps", 198 "deps",
199 "in_files", 199 "in_files",
200 "outputs", 200 "outputs",
201 "visibility", 201 "visibility",
202 ]) 202 ])
203 } 203 }
204 } 204 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/build/scripts/make_style_shorthands.py ('k') | third_party/WebKit/Source/core/css/CSSProperties.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698