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

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

Issue 2259463002: [Bindings] Specify if we aggregate partial interfaces by arguments (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 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 "--component-directory",
265 invoker.component_dir, 265 invoker.component_dir,
266 "--input-file", 266 "--input-file",
267 rebase_path(idl_files_list, root_build_dir), 267 rebase_path(idl_files_list, root_build_dir),
268 ] 268 ]
269 if (invoker.is_partial) {
270 args += [ "--partial" ]
271 }
269 args += rebase_path(invoker.outputs, root_build_dir) 272 args += rebase_path(invoker.outputs, root_build_dir)
270 } 273 }
271 } 274 }
272 275
273 # Calls the compute_global_objects script. 276 # Calls the compute_global_objects script.
274 # 277 #
275 # Parameters: 278 # Parameters:
276 # sources = a list of source IDL files. 279 # sources = a list of source IDL files.
277 # sources_generated = a list of generated pickle sources. 280 # sources_generated = a list of generated pickle sources.
278 # output_file = a pickle file to write to (need to specify directory) 281 # output_file = a pickle file to write to (need to specify directory)
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 args += [ rebase_path(output_idl_file, root_build_dir) ] 358 args += [ rebase_path(output_idl_file, root_build_dir) ]
356 output_idl_files += [ output_idl_file ] 359 output_idl_files += [ output_idl_file ]
357 output_header_files += 360 output_header_files +=
358 [ "$output_dir/${interface}${component}Constructors.h" ] 361 [ "$output_dir/${interface}${component}Constructors.h" ]
359 } 362 }
360 363
361 outputs = output_idl_files + output_header_files 364 outputs = output_idl_files + output_header_files
362 deps = invoker.deps 365 deps = invoker.deps
363 } 366 }
364 } 367 }
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