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

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

Issue 2248363002: [Bindings] Add option parser in aggregate_generated_bindings.py (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 | « third_party/WebKit/Source/bindings/scripts/aggregate_generated_bindings.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 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 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 254
255 # Write lists of main IDL files to a file, so that the command lines don't 255 # Write lists of main IDL files to a file, so that the command lines don't
256 # exceed OS length limits. 256 # exceed OS length limits.
257 idl_files_list = "$target_gen_dir/${target_name}_file_list.tmp" 257 idl_files_list = "$target_gen_dir/${target_name}_file_list.tmp"
258 write_file(idl_files_list, rebase_path(invoker.sources, root_build_dir)) 258 write_file(idl_files_list, rebase_path(invoker.sources, root_build_dir))
259 259
260 inputs = [ idl_files_list ] + invoker.sources 260 inputs = [ idl_files_list ] + invoker.sources
261 outputs = invoker.outputs 261 outputs = invoker.outputs
262 262
263 args = [ 263 args = [
264 "--component-directory",
264 invoker.component_dir, 265 invoker.component_dir,
266 "--input-file",
265 rebase_path(idl_files_list, root_build_dir), 267 rebase_path(idl_files_list, root_build_dir),
266 "--",
267 ] 268 ]
268 args += rebase_path(invoker.outputs, root_build_dir) 269 args += rebase_path(invoker.outputs, root_build_dir)
269 } 270 }
270 } 271 }
271 272
272 # Calls the compute_global_objects script. 273 # Calls the compute_global_objects script.
273 # 274 #
274 # Parameters: 275 # Parameters:
275 # sources = a list of source IDL files. 276 # sources = a list of source IDL files.
276 # sources_generated = a list of generated pickle sources. 277 # sources_generated = a list of generated pickle sources.
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 args += [ rebase_path(output_idl_file, root_build_dir) ] 355 args += [ rebase_path(output_idl_file, root_build_dir) ]
355 output_idl_files += [ output_idl_file ] 356 output_idl_files += [ output_idl_file ]
356 output_header_files += 357 output_header_files +=
357 [ "$output_dir/${interface}${component}Constructors.h" ] 358 [ "$output_dir/${interface}${component}Constructors.h" ]
358 } 359 }
359 360
360 outputs = output_idl_files + output_header_files 361 outputs = output_idl_files + output_header_files
361 deps = invoker.deps 362 deps = invoker.deps
362 } 363 }
363 } 364 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/bindings/scripts/aggregate_generated_bindings.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698