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

Side by Side Diff: Source/bindings/modules/BUILD.gn

Issue 618373003: [bindings] partial interfaces should not violate componentization (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed patch conflict Created 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/bindings/core/v8/WrapperTypeInfo.h ('k') | Source/bindings/modules/generated.gyp » ('j') | 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/modules/modules.gni") 5 import("//third_party/WebKit/Source/modules/modules.gni")
6 import("//third_party/WebKit/Source/bindings/core/core.gni") 6 import("//third_party/WebKit/Source/bindings/core/core.gni")
7 import("//third_party/WebKit/Source/bindings/modules/modules.gni") 7 import("//third_party/WebKit/Source/bindings/modules/modules.gni")
8 import("//third_party/WebKit/Source/bindings/scripts/scripts.gni") 8 import("//third_party/WebKit/Source/bindings/scripts/scripts.gni")
9 import("//third_party/WebKit/Source/build/scripts/scripts.gni") 9 import("//third_party/WebKit/Source/build/scripts/scripts.gni")
10 10
11 visibility = [ "//third_party/WebKit/*" ] 11 visibility = [ "//third_party/WebKit/*" ]
12 12
13 core_idl_files_list = "$target_gen_dir/core_idl_files.tmp"
14 write_file(core_idl_files_list,
15 rebase_path(core_idl_files, root_build_dir))
16
17 modules_idl_files_list = "$target_gen_dir/modules_idl_files.tmp"
18 write_file(modules_idl_files_list,
19 rebase_path(modules_idl_files, root_build_dir))
20
21 # GYP version: Source/bindings/modules/generated.gyp:bindings_modules_generated 13 # GYP version: Source/bindings/modules/generated.gyp:bindings_modules_generated
22 group("bindings_modules_generated") { 14 group("bindings_modules_generated") {
23 deps = [ 15 deps = [
24 ":modules_bindings_generated_event_interfaces", 16 ":modules_bindings_generated_event_interfaces",
25 ":bindings_modules_generated_event_modules_factory", 17 ":bindings_modules_generated_event_modules_factory",
26 ":bindings_modules_generated_event_modules_names", 18 ":bindings_modules_generated_event_modules_names",
27 ":bindings_modules_generated_event_target_modules_names", 19 ":bindings_modules_generated_event_target_modules_names",
28 ] 20 ]
29 } 21 }
30 22
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 "$blink_modules_output_dir/EventTargetModulesNames.cpp", 58 "$blink_modules_output_dir/EventTargetModulesNames.cpp",
67 "$blink_modules_output_dir/EventTargetModulesNames.h", 59 "$blink_modules_output_dir/EventTargetModulesNames.h",
68 ] 60 ]
69 } 61 }
70 62
71 # ------------------------------------------------------------------------------ 63 # ------------------------------------------------------------------------------
72 64
73 # GYP version: Source/bindings/modules/generated.gyp:interfaces_info_individual_ modules 65 # GYP version: Source/bindings/modules/generated.gyp:interfaces_info_individual_ modules
74 compute_interfaces_info_individual("interfaces_info_individual_modules") { 66 compute_interfaces_info_individual("interfaces_info_individual_modules") {
75 sources_static = modules_static_idl_files 67 sources_static = modules_static_idl_files
76 # No generated files currently, will add with constructors 68 sources_generated = modules_generated_dependency_idl_files
77 sources_generated = []
78 output_file = 69 output_file =
79 "$bindings_modules_output_dir/InterfacesInfoModulesIndividual.pickle" 70 "$bindings_modules_output_dir/InterfacesInfoModulesIndividual.pickle"
80 deps = [ 71 deps = [
81 ":modules_core_global_constructors_idls", 72 ":modules_core_global_constructors_idls",
82 ":modules_global_constructors_idls", 73 ":modules_global_constructors_idls",
83 ] 74 ]
84 } 75 }
85 76
86 # GYP version: Source/bindings/modules/generated.gyp:interfaces_info 77 # GYP version: Source/bindings/modules/generated.gyp:interfaces_info
87 action("interfaces_info") { 78 action("interfaces_info") {
(...skipping 30 matching lines...) Expand all
118 # GYP version: Source/bindings/modules/generated.gyp:modules_global_objects 109 # GYP version: Source/bindings/modules/generated.gyp:modules_global_objects
119 compute_global_objects("modules_global_objects") { 110 compute_global_objects("modules_global_objects") {
120 sources = modules_idl_files 111 sources = modules_idl_files
121 sources_generated = [ "$bindings_core_output_dir/GlobalObjectsCore.pickle" ] 112 sources_generated = [ "$bindings_core_output_dir/GlobalObjectsCore.pickle" ]
122 output_file = "$bindings_modules_output_dir/GlobalObjectsModules.pickle" 113 output_file = "$bindings_modules_output_dir/GlobalObjectsModules.pickle"
123 deps = [ "//third_party/WebKit/Source/bindings/core:core_global_objects" ] 114 deps = [ "//third_party/WebKit/Source/bindings/core:core_global_objects" ]
124 } 115 }
125 116
126 # GYP version: Source/bindings/modules/generated.gyp:modules_core_global_constru ctors_idls 117 # GYP version: Source/bindings/modules/generated.gyp:modules_core_global_constru ctors_idls
127 generate_global_constructors("modules_core_global_constructors_idls") { 118 generate_global_constructors("modules_core_global_constructors_idls") {
128 sources = core_idl_files 119 sources = core_idl_files + core_idl_with_modules_dependency_files
129 global_objects_file = "$bindings_modules_output_dir/GlobalObjectsModules.pickl e" 120 global_objects_file = "$bindings_modules_output_dir/GlobalObjectsModules.pickl e"
130 interfaces = modules_core_global_constructors_original_interfaces 121 interfaces = modules_core_global_constructors_original_interfaces
131 component = "Core" 122 component = "Core"
132 output_dir = blink_modules_output_dir 123 output_dir = blink_modules_output_dir
133 deps = [ ":modules_global_objects" ] 124 deps = [ ":modules_global_objects" ]
134 } 125 }
135 126
136 # GYP version: Source/bindings/modules/generated.gyp:modules_global_constructors _idls 127 # GYP version: Source/bindings/modules/generated.gyp:modules_global_constructors _idls
137 generate_global_constructors("modules_global_constructors_idls") { 128 generate_global_constructors("modules_global_constructors_idls") {
138 sources = modules_idl_files 129 sources = modules_idl_files
139 global_objects_file = "$bindings_modules_output_dir/GlobalObjectsModules.pickl e" 130 global_objects_file = "$bindings_modules_output_dir/GlobalObjectsModules.pickl e"
140 interfaces = modules_global_constructors_original_interfaces 131 interfaces = modules_global_constructors_original_interfaces
141 component = "Modules" 132 component = "Modules"
142 output_dir = blink_modules_output_dir 133 output_dir = blink_modules_output_dir
143 deps = [ ":modules_global_objects" ] 134 deps = [ ":modules_global_objects" ]
144 } 135 }
OLDNEW
« no previous file with comments | « Source/bindings/core/v8/WrapperTypeInfo.h ('k') | Source/bindings/modules/generated.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698