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

Side by Side Diff: third_party/WebKit/Source/bindings/core/BUILD.gn

Issue 2372463002: [Bindings] Pass files to compute_interfaces_info_individual.py in one way (Closed)
Patch Set: . Created 4 years, 2 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("//third_party/WebKit/Source/bindings/scripts/scripts.gni") 5 import("//third_party/WebKit/Source/bindings/scripts/scripts.gni")
6 import("//third_party/WebKit/Source/core/core_idl_files.gni") 6 import("//third_party/WebKit/Source/core/core_idl_files.gni")
7 7
8 visibility = [ "//third_party/WebKit/*" ] 8 visibility = [ "//third_party/WebKit/*" ]
9 9
10 # Static IDL files / Generated IDL files
11 #
12 # In GYP, paths needed to be passed separately for static and generated files, a s
13 # static files are listed in a temporary file (b/c too long for command line),
14 # but generated files must be passed at the command line, as their paths are
15 # not fixed at GYP time, when the temporary file is generated, because their
16 # paths depend on the build directory, which varies.
17 #
18 # FIXME: GN does not have this restriction and we can combine them.
19 compute_interfaces_info_individual("interfaces_info_individual_core") { 10 compute_interfaces_info_individual("interfaces_info_individual_core") {
20 sources_static = 11 sources = core_static_interface_idl_files + core_static_dependency_idl_files +
21 core_static_interface_idl_files + core_static_dependency_idl_files
22 sources_generated =
23 core_generated_interface_idl_files + core_generated_dependency_idl_files 12 core_generated_interface_idl_files + core_generated_dependency_idl_files
24 interfaces_info_file = 13 interfaces_info_file =
25 "$bindings_core_output_dir/InterfacesInfoCoreIndividual.pickle" 14 "$bindings_core_output_dir/InterfacesInfoCoreIndividual.pickle"
26 component_info_file = "$bindings_core_output_dir/ComponentInfoCore.pickle" 15 component_info_file = "$bindings_core_output_dir/ComponentInfoCore.pickle"
27 deps = [ 16 deps = [
28 "//third_party/WebKit/Source/bindings/core:core_global_constructors_idls", 17 "//third_party/WebKit/Source/bindings/core:core_global_constructors_idls",
29 "//third_party/WebKit/Source/core:generated_testing_idls_internal_runtime_fl ags", 18 "//third_party/WebKit/Source/core:generated_testing_idls_internal_runtime_fl ags",
30 "//third_party/WebKit/Source/core:generated_testing_idls_settings", 19 "//third_party/WebKit/Source/core:generated_testing_idls_settings",
31 ] 20 ]
32 } 21 }
33 22
34 compute_global_objects("core_global_objects") { 23 compute_global_objects("core_global_objects") {
35 sources = core_idl_files + core_idl_with_modules_dependency_files 24 sources = core_idl_files + core_idl_with_modules_dependency_files
36 sources_generated = [] 25 sources_generated = []
37 output_file = "$bindings_core_output_dir/GlobalObjectsCore.pickle" 26 output_file = "$bindings_core_output_dir/GlobalObjectsCore.pickle"
38 deps = [] 27 deps = []
39 } 28 }
40 29
41 generate_global_constructors("core_global_constructors_idls") { 30 generate_global_constructors("core_global_constructors_idls") {
42 sources = core_idl_files + core_idl_with_modules_dependency_files 31 sources = core_idl_files + core_idl_with_modules_dependency_files
43 global_objects_file = "$bindings_core_output_dir/GlobalObjectsCore.pickle" 32 global_objects_file = "$bindings_core_output_dir/GlobalObjectsCore.pickle"
44 interfaces = core_global_constructors_original_interfaces 33 interfaces = core_global_constructors_original_interfaces
45 component = "Core" 34 component = "Core"
46 output_dir = blink_core_output_dir 35 output_dir = blink_core_output_dir
47 deps = [ 36 deps = [
48 ":core_global_objects", 37 ":core_global_objects",
49 ] 38 ]
50 } 39 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698