OLD | NEW |
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 |
13 # GYP version: Source/bindings/modules/generated.gyp:bindings_modules_generated | 21 # GYP version: Source/bindings/modules/generated.gyp:bindings_modules_generated |
14 group("bindings_modules_generated") { | 22 group("bindings_modules_generated") { |
15 deps = [ | 23 deps = [ |
16 ":modules_bindings_generated_event_interfaces", | 24 ":modules_bindings_generated_event_interfaces", |
17 ":bindings_modules_generated_event_modules_factory", | 25 ":bindings_modules_generated_event_modules_factory", |
18 ":bindings_modules_generated_event_modules_names", | 26 ":bindings_modules_generated_event_modules_names", |
19 ":bindings_modules_generated_event_target_modules_names", | 27 ":bindings_modules_generated_event_target_modules_names", |
20 ] | 28 ] |
21 } | 29 } |
22 | 30 |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 | 70 |
63 # ------------------------------------------------------------------------------ | 71 # ------------------------------------------------------------------------------ |
64 | 72 |
65 # GYP version: Source/bindings/modules/generated.gyp:interfaces_info_individual_
modules | 73 # GYP version: Source/bindings/modules/generated.gyp:interfaces_info_individual_
modules |
66 compute_interfaces_info_individual("interfaces_info_individual_modules") { | 74 compute_interfaces_info_individual("interfaces_info_individual_modules") { |
67 sources_static = modules_static_idl_files | 75 sources_static = modules_static_idl_files |
68 # No generated files currently, will add with constructors | 76 # No generated files currently, will add with constructors |
69 sources_generated = [] | 77 sources_generated = [] |
70 output_file = | 78 output_file = |
71 "$bindings_modules_output_dir/InterfacesInfoModulesIndividual.pickle" | 79 "$bindings_modules_output_dir/InterfacesInfoModulesIndividual.pickle" |
| 80 deps = [ |
| 81 ":modules_core_global_constructors_idls", |
| 82 ":modules_global_constructors_idls", |
| 83 ] |
72 } | 84 } |
73 | 85 |
74 # GYP version: Source/bindings/modules/generated.gyp:interfaces_info | 86 # GYP version: Source/bindings/modules/generated.gyp:interfaces_info |
75 action("interfaces_info") { | 87 action("interfaces_info") { |
76 script = "$bindings_scripts_dir/compute_interfaces_info_overall.py" | 88 script = "$bindings_scripts_dir/compute_interfaces_info_overall.py" |
77 | 89 |
78 inputs = [ | 90 inputs = [ |
79 "$bindings_core_output_dir/InterfacesInfoCoreIndividual.pickle", | 91 "$bindings_core_output_dir/InterfacesInfoCoreIndividual.pickle", |
80 "$bindings_modules_output_dir/InterfacesInfoModulesIndividual.pickle", | 92 "$bindings_modules_output_dir/InterfacesInfoModulesIndividual.pickle", |
81 ] | 93 ] |
(...skipping 13 matching lines...) Expand all Loading... |
95 rebase_path( | 107 rebase_path( |
96 "$bindings_modules_output_dir/InterfacesInfoModules.pickle", | 108 "$bindings_modules_output_dir/InterfacesInfoModules.pickle", |
97 root_build_dir), | 109 root_build_dir), |
98 ] | 110 ] |
99 | 111 |
100 deps = [ | 112 deps = [ |
101 ":interfaces_info_individual_modules", | 113 ":interfaces_info_individual_modules", |
102 "//third_party/WebKit/Source/bindings/core:interfaces_info_individual_core", | 114 "//third_party/WebKit/Source/bindings/core:interfaces_info_individual_core", |
103 ] | 115 ] |
104 } | 116 } |
| 117 |
| 118 # GYP version: Source/bindings/modules/generated.gyp:modules_global_objects |
| 119 compute_global_objects("modules_global_objects") { |
| 120 sources = modules_idl_files |
| 121 sources_generated = [ "$bindings_core_output_dir/GlobalObjectsCore.pickle" ] |
| 122 output_file = "$bindings_modules_output_dir/GlobalObjectsModules.pickle" |
| 123 deps = [ "//third_party/WebKit/Source/bindings/core:core_global_objects" ] |
| 124 } |
| 125 |
| 126 # GYP version: Source/bindings/modules/generated.gyp:modules_core_global_constru
ctors_idls |
| 127 generate_global_constructors("modules_core_global_constructors_idls") { |
| 128 sources = core_idl_files |
| 129 global_objects_file = "$bindings_modules_output_dir/GlobalObjectsModules.pickl
e" |
| 130 interfaces = modules_core_global_constructors_original_interfaces |
| 131 component = "Core" |
| 132 output_dir = blink_modules_output_dir |
| 133 deps = [ ":modules_global_objects" ] |
| 134 } |
| 135 |
| 136 # GYP version: Source/bindings/modules/generated.gyp:modules_global_constructors
_idls |
| 137 generate_global_constructors("modules_global_constructors_idls") { |
| 138 sources = modules_idl_files |
| 139 global_objects_file = "$bindings_modules_output_dir/GlobalObjectsModules.pickl
e" |
| 140 interfaces = modules_global_constructors_original_interfaces |
| 141 component = "Modules" |
| 142 output_dir = blink_modules_output_dir |
| 143 deps = [ ":modules_global_objects" ] |
| 144 } |
OLD | NEW |