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

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

Issue 1439973004: [PoC] Reformat all BUILD.gn and *.gni files with new gn. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn-sort-deps
Patch Set: Synchronize with new version of gn patch Created 5 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
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("//third_party/WebKit/Source/bindings/core/v8/generated.gni") 5 import("//third_party/WebKit/Source/bindings/core/v8/generated.gni")
6 import("//third_party/WebKit/Source/bindings/modules/idl.gni") 6 import("//third_party/WebKit/Source/bindings/modules/idl.gni")
7 import("//third_party/WebKit/Source/bindings/modules/modules.gni") 7 import("//third_party/WebKit/Source/bindings/modules/modules.gni")
8 8
9 bindings_scripts_dir = get_path_info(".", "abspath") 9 bindings_scripts_dir = get_path_info(".", "abspath")
10 bindings_scripts_output_dir = "$root_gen_dir/blink/bindings/scripts" 10 bindings_scripts_output_dir = "$root_gen_dir/blink/bindings/scripts"
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 ] 175 ]
176 176
177 public_deps = [ 177 public_deps = [
178 "//third_party/WebKit/Source/bindings/core:core_global_constructors_idls", 178 "//third_party/WebKit/Source/bindings/core:core_global_constructors_idls",
179 179
180 # FIXME: should be interfaces_info_core (w/o modules) 180 # FIXME: should be interfaces_info_core (w/o modules)
181 # http://crbug.com/358074 181 # http://crbug.com/358074
182 "//third_party/WebKit/Source/bindings/modules:interfaces_info", 182 "//third_party/WebKit/Source/bindings/modules:interfaces_info",
183 "//third_party/WebKit/Source/bindings/modules:modules_core_global_construc tors_idls", 183 "//third_party/WebKit/Source/bindings/modules:modules_core_global_construc tors_idls",
184 "//third_party/WebKit/Source/bindings/modules:modules_global_constructors_ idls", 184 "//third_party/WebKit/Source/bindings/modules:modules_global_constructors_ idls",
185 185 "//third_party/WebKit/Source/bindings/scripts:cached_jinja_templates",
186 "//third_party/WebKit/Source/bindings/scripts:cached_lex_yacc_tables", 186 "//third_party/WebKit/Source/bindings/scripts:cached_lex_yacc_tables",
187 "//third_party/WebKit/Source/bindings/scripts:cached_jinja_templates",
188 "//third_party/WebKit/Source/core:generated_testing_idls", 187 "//third_party/WebKit/Source/core:generated_testing_idls",
189 ] 188 ]
190 } 189 }
191 } 190 }
192 191
193 # Runs the idl_compiler to generate IDL dictionary and union impl files. 192 # Runs the idl_compiler to generate IDL dictionary and union impl files.
194 # 193 #
195 # Parameters: 194 # Parameters:
196 # sources = a list of IDL files to process 195 # sources = a list of IDL files to process
197 # outputs = a list of files to write to 196 # outputs = a list of files to write to
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 "--generate-impl", 229 "--generate-impl",
231 rebase_path(idl_files_list, root_build_dir), 230 rebase_path(idl_files_list, root_build_dir),
232 ] 231 ]
233 232
234 deps = [ 233 deps = [
235 # FIXME: should be interfaces_info_core (w/o modules) 234 # FIXME: should be interfaces_info_core (w/o modules)
236 # http://crbug.com/358074 235 # http://crbug.com/358074
237 "//third_party/WebKit/Source/bindings/core:interfaces_info_individual_core ", 236 "//third_party/WebKit/Source/bindings/core:interfaces_info_individual_core ",
238 "//third_party/WebKit/Source/bindings/modules:interfaces_info", 237 "//third_party/WebKit/Source/bindings/modules:interfaces_info",
239 "//third_party/WebKit/Source/bindings/modules:interfaces_info_individual_m odules", 238 "//third_party/WebKit/Source/bindings/modules:interfaces_info_individual_m odules",
239 "//third_party/WebKit/Source/bindings/scripts:cached_jinja_templates",
240 "//third_party/WebKit/Source/bindings/scripts:cached_lex_yacc_tables", 240 "//third_party/WebKit/Source/bindings/scripts:cached_lex_yacc_tables",
241 "//third_party/WebKit/Source/bindings/scripts:cached_jinja_templates",
242 ] 241 ]
243 } 242 }
244 } 243 }
245 244
246 # Calls the aggregate_generated_bindings script. 245 # Calls the aggregate_generated_bindings script.
247 # 246 #
248 # Parameters: 247 # Parameters:
249 # sources = a list of source IDL files. 248 # sources = a list of source IDL files.
250 # component_dir = Name of directory for these files (one word, no slashes). 249 # component_dir = Name of directory for these files (one word, no slashes).
251 # outputs = a list of files to write to. 250 # outputs = a list of files to write to.
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 args += [ rebase_path(output_idl_file, root_build_dir) ] 354 args += [ rebase_path(output_idl_file, root_build_dir) ]
356 output_idl_files += [ output_idl_file ] 355 output_idl_files += [ output_idl_file ]
357 output_header_files += 356 output_header_files +=
358 [ "$output_dir/${interface}${component}Constructors.h" ] 357 [ "$output_dir/${interface}${component}Constructors.h" ]
359 } 358 }
360 359
361 outputs = output_idl_files + output_header_files 360 outputs = output_idl_files + output_header_files
362 deps = invoker.deps 361 deps = invoker.deps
363 } 362 }
364 } 363 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698