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/bindings/modules/v8/generated.gni") | 5 import("//third_party/WebKit/Source/bindings/modules/v8/generated.gni") |
6 import("//third_party/WebKit/Source/bindings/scripts/scripts.gni") | 6 import("//third_party/WebKit/Source/bindings/scripts/scripts.gni") |
7 import("//third_party/WebKit/Source/modules/modules.gni") | 7 import("//third_party/WebKit/Source/modules/modules.gni") |
8 | 8 |
9 visibility = [ "//third_party/WebKit/*" ] | 9 visibility = [ "//third_party/WebKit/*" ] |
10 | 10 |
11 core_idl_with_modules_dependency_files_list = "$target_gen_dir/core_idl_with_mod
ules_dependency_files.tmp" | 11 core_idl_with_modules_dependency_files_list = "$target_gen_dir/core_idl_with_mod
ules_dependency_files.tmp" |
12 write_file(core_idl_with_modules_dependency_files_list, | 12 write_file(core_idl_with_modules_dependency_files_list, |
13 rebase_path(core_idl_with_modules_dependency_files, root_build_dir)) | 13 rebase_path(core_idl_with_modules_dependency_files, root_build_dir)) |
14 | 14 |
15 # bindings_modules_generated in modules/v8/generated.gyp | 15 # bindings_modules_generated in modules/v8/generated.gyp |
16 group("bindings_modules_generated") { | 16 group("bindings_modules_generated") { |
17 deps = [ | 17 deps = [ |
18 ":bindings_modules_dictionary_impl_generated", | 18 ":bindings_modules_impl_generated", |
19 ":bindings_modules_v8_generated_aggregate", | 19 ":bindings_modules_v8_generated_aggregate", |
20 ":bindings_modules_v8_generated_individual", | 20 ":bindings_modules_v8_generated_individual", |
21 ":bindings_modules_v8_generated_init_partial", | 21 ":bindings_modules_v8_generated_init_partial", |
22 ":bindings_modules_v8_generated_partial_aggregate", | 22 ":bindings_modules_v8_generated_partial_aggregate", |
23 ":bindings_modules_v8_generated_partial_individual", | 23 ":bindings_modules_v8_generated_partial_individual", |
24 ] | 24 ] |
25 } | 25 } |
26 | 26 |
27 # bindings_modules_generated_aggregate in modules/v8/generated.gyp | 27 # bindings_modules_generated_aggregate in modules/v8/generated.gyp |
28 aggregate_generated_bindings("bindings_modules_v8_generated_aggregate") { | 28 aggregate_generated_bindings("bindings_modules_v8_generated_aggregate") { |
29 sources = modules_definition_idl_files | 29 sources = modules_definition_idl_files |
30 component_dir = "modules" | 30 component_dir = "modules" |
31 outputs = bindings_modules_generated_aggregate_files | 31 outputs = bindings_modules_generated_aggregate_files |
32 } | 32 } |
33 | 33 |
34 # bindings_modules_generated_individual in modules/v8/generated.gyp | 34 # bindings_modules_generated_individual in modules/v8/generated.gyp |
35 idl_compiler("bindings_modules_v8_generated_individual") { | 35 idl_compiler("bindings_modules_v8_generated_individual") { |
36 # Note in GYP this is modules_interface_idl_files but this variable is just | 36 # Note in GYP this is modules_interface_idl_files but this variable is just |
37 # defined to modules_definition_idl_files. | 37 # defined to modules_definition_idl_files. |
38 sources = modules_definition_idl_files | 38 sources = modules_definition_idl_files |
39 output_dir = bindings_modules_v8_output_dir | 39 output_dir = bindings_modules_v8_output_dir |
40 output_name_suffix = "" | 40 output_name_suffix = "" |
41 target_component = "modules" | 41 target_component = "modules" |
42 } | 42 } |
43 | 43 |
44 # bindings_modules_dictionary_impl_generated in modules/v8/generated.gyp | 44 # bindings_modules_impl_generated in modules/v8/generated.gyp |
45 idl_dictionary("bindings_modules_dictionary_impl_generated") { | 45 idl_impl("bindings_modules_impl_generated") { |
46 sources = modules_dictionary_idl_files | 46 sources = modules_dictionary_idl_files |
47 outputs = generated_modules_dictionary_files | 47 outputs = bindings_modules_generated_union_type_files + |
| 48 generated_modules_dictionary_files |
| 49 output_dir = bindings_modules_v8_output_dir |
| 50 target_component = "modules" |
| 51 individual_info = |
| 52 "$bindings_modules_output_dir/InterfacesInfoModulesIndividual.pickle" |
48 } | 53 } |
49 | 54 |
50 # bindings_modules_generated_individual in modules/v8/generated.gyp | 55 # bindings_modules_generated_individual in modules/v8/generated.gyp |
51 idl_compiler("bindings_modules_v8_generated_partial_individual") { | 56 idl_compiler("bindings_modules_v8_generated_partial_individual") { |
52 # Note in GYP this is modules_interface_idl_files but this variable is just | 57 # Note in GYP this is modules_interface_idl_files but this variable is just |
53 # defined to modules_definition_idl_files. | 58 # defined to modules_definition_idl_files. |
54 sources = core_idl_with_modules_dependency_files + webcore_testing_idl_with_mo
dules_dependency_files | 59 sources = core_idl_with_modules_dependency_files + webcore_testing_idl_with_mo
dules_dependency_files |
55 output_dir = bindings_modules_v8_output_dir | 60 output_dir = bindings_modules_v8_output_dir |
56 output_name_suffix = "Partial" | 61 output_name_suffix = "Partial" |
57 target_component = "modules" | 62 target_component = "modules" |
(...skipping 22 matching lines...) Expand all Loading... |
80 "--output", | 85 "--output", |
81 rebase_path(bindings_modules_generated_init_partial_interfaces_file, root_bu
ild_dir), | 86 rebase_path(bindings_modules_generated_init_partial_interfaces_file, root_bu
ild_dir), |
82 "--write-file-only-if-changed=1", | 87 "--write-file-only-if-changed=1", |
83 ] | 88 ] |
84 | 89 |
85 deps = [ | 90 deps = [ |
86 "//third_party/WebKit/Source/bindings/modules:interfaces_info", | 91 "//third_party/WebKit/Source/bindings/modules:interfaces_info", |
87 ] | 92 ] |
88 } | 93 } |
89 | 94 |
OLD | NEW |