| 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 = |
| 12 "$target_gen_dir/core_idl_with_modules_dependency_files.tmp" |
| 12 write_file(core_idl_with_modules_dependency_files_list, | 13 write_file(core_idl_with_modules_dependency_files_list, |
| 13 rebase_path(core_idl_with_modules_dependency_files, root_build_dir)) | 14 rebase_path(core_idl_with_modules_dependency_files, root_build_dir)) |
| 14 | 15 |
| 15 # bindings_modules_generated in modules/v8/generated.gyp | 16 # bindings_modules_generated in modules/v8/generated.gyp |
| 16 group("bindings_modules_generated") { | 17 group("bindings_modules_generated") { |
| 17 public_deps = [ | 18 public_deps = [ |
| 18 ":bindings_modules_impl_generated", | 19 ":bindings_modules_impl_generated", |
| 19 ":bindings_modules_v8_generated_aggregate", | 20 ":bindings_modules_v8_generated_aggregate", |
| 20 ":bindings_modules_v8_generated_individual", | 21 ":bindings_modules_v8_generated_individual", |
| 21 ":bindings_modules_v8_generated_init_partial", | 22 ":bindings_modules_v8_generated_init_partial", |
| (...skipping 16 matching lines...) Expand all Loading... |
| 38 sources = modules_definition_idl_files | 39 sources = modules_definition_idl_files |
| 39 output_dir = bindings_modules_v8_output_dir | 40 output_dir = bindings_modules_v8_output_dir |
| 40 output_name_suffix = "" | 41 output_name_suffix = "" |
| 41 target_component = "modules" | 42 target_component = "modules" |
| 42 } | 43 } |
| 43 | 44 |
| 44 # bindings_modules_impl_generated in modules/v8/generated.gyp | 45 # bindings_modules_impl_generated in modules/v8/generated.gyp |
| 45 idl_impl("bindings_modules_impl_generated") { | 46 idl_impl("bindings_modules_impl_generated") { |
| 46 sources = modules_dictionary_idl_files | 47 sources = modules_dictionary_idl_files |
| 47 outputs = bindings_modules_generated_union_type_files + | 48 outputs = bindings_modules_generated_union_type_files + |
| 48 generated_modules_dictionary_files | 49 generated_modules_dictionary_files |
| 49 output_dir = bindings_modules_v8_output_dir | 50 output_dir = bindings_modules_v8_output_dir |
| 50 target_component = "modules" | 51 target_component = "modules" |
| 51 } | 52 } |
| 52 | 53 |
| 53 # bindings_modules_generated_individual in modules/v8/generated.gyp | 54 # bindings_modules_generated_individual in modules/v8/generated.gyp |
| 54 idl_compiler("bindings_modules_v8_generated_partial_individual") { | 55 idl_compiler("bindings_modules_v8_generated_partial_individual") { |
| 55 # Note in GYP this is modules_interface_idl_files but this variable is just | 56 # Note in GYP this is modules_interface_idl_files but this variable is just |
| 56 # defined to modules_definition_idl_files. | 57 # defined to modules_definition_idl_files. |
| 57 sources = core_idl_with_modules_dependency_files + webcore_testing_idl_with_mo
dules_dependency_files | 58 sources = core_idl_with_modules_dependency_files + |
| 59 webcore_testing_idl_with_modules_dependency_files |
| 58 output_dir = bindings_modules_v8_output_dir | 60 output_dir = bindings_modules_v8_output_dir |
| 59 output_name_suffix = "Partial" | 61 output_name_suffix = "Partial" |
| 60 target_component = "modules" | 62 target_component = "modules" |
| 61 } | 63 } |
| 62 | 64 |
| 63 # bindings_modules_generated_aggregate in modules/v8/generated.gyp | 65 # bindings_modules_generated_aggregate in modules/v8/generated.gyp |
| 64 aggregate_generated_bindings("bindings_modules_v8_generated_partial_aggregate")
{ | 66 aggregate_generated_bindings( |
| 67 "bindings_modules_v8_generated_partial_aggregate") { |
| 65 sources = core_idl_with_modules_dependency_files | 68 sources = core_idl_with_modules_dependency_files |
| 66 component_dir = "modules" | 69 component_dir = "modules" |
| 67 outputs = bindings_modules_generated_partial_aggregate_files | 70 outputs = bindings_modules_generated_partial_aggregate_files |
| 68 } | 71 } |
| 69 | 72 |
| 70 # GYP version: Source/bindings/modules/v8/generated.gyp:bindings_modules_v8_gene
rated_init_partial | 73 # GYP version: Source/bindings/modules/v8/generated.gyp:bindings_modules_v8_gene
rated_init_partial |
| 71 action("bindings_modules_v8_generated_init_partial") { | 74 action("bindings_modules_v8_generated_init_partial") { |
| 72 script = "$bindings_scripts_dir/generate_init_partial_interfaces.py" | 75 script = "$bindings_scripts_dir/generate_init_partial_interfaces.py" |
| 73 | 76 |
| 74 inputs = [ | 77 inputs = [ |
| 75 core_idl_with_modules_dependency_files_list, | 78 core_idl_with_modules_dependency_files_list, |
| 76 "$bindings_modules_output_dir/InterfacesInfoOverall.pickle", | 79 "$bindings_modules_output_dir/InterfacesInfoOverall.pickle", |
| 77 ] | 80 ] |
| 78 outputs = [ bindings_modules_generated_init_partial_interfaces_file ] | 81 outputs = [ |
| 82 bindings_modules_generated_init_partial_interfaces_file, |
| 83 ] |
| 79 | 84 |
| 80 args = [ | 85 args = [ |
| 81 "--idl-files-list", | 86 "--idl-files-list", |
| 82 rebase_path(core_idl_with_modules_dependency_files_list, root_build_dir), | 87 rebase_path(core_idl_with_modules_dependency_files_list, root_build_dir), |
| 83 "--output", | 88 "--output", |
| 84 rebase_path(bindings_modules_generated_init_partial_interfaces_file, root_bu
ild_dir), | 89 rebase_path(bindings_modules_generated_init_partial_interfaces_file, |
| 90 root_build_dir), |
| 85 "--write-file-only-if-changed=1", | 91 "--write-file-only-if-changed=1", |
| 86 ] | 92 ] |
| 87 | 93 |
| 88 deps = [ | 94 deps = [ |
| 89 "//third_party/WebKit/Source/bindings/modules:interfaces_info", | 95 "//third_party/WebKit/Source/bindings/modules:interfaces_info", |
| 90 ] | 96 ] |
| 91 } | 97 } |
| 92 | |
| OLD | NEW |