OLD | NEW |
(Empty) | |
| 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 |
| 3 # found in the LICENSE file. |
| 4 |
| 5 import("//third_party/WebKit/Source/modules/modules.gni") |
| 6 import("//third_party/WebKit/Source/bindings/core/core.gni") |
| 7 import("//third_party/WebKit/Source/bindings/modules/modules.gni") |
| 8 import("//third_party/WebKit/Source/bindings/scripts/scripts.gni") |
| 9 import("//third_party/WebKit/Source/build/scripts/scripts.gni") |
| 10 |
| 11 # GYP version: Source/bindings/modules/generated.gyp:bindings_modules_generated |
| 12 group("bindings_modules_generated") { |
| 13 deps = [ |
| 14 ":modules_bindings_generated_event_interfaces", |
| 15 ":bindings_modules_generated_event_modules_factory", |
| 16 ":bindings_modules_generated_event_modules_names", |
| 17 ":bindings_modules_generated_event_target_modules_factory", |
| 18 ":bindings_modules_generated_event_target_modules_names", |
| 19 ] |
| 20 } |
| 21 |
| 22 # GYP version: event_interfaces action in bindings_modules_generated |
| 23 generate_event_interfaces("modules_bindings_generated_event_interfaces") { |
| 24 sources = modules_event_idl_files |
| 25 output_file = "EventModulesInterfaces.in" |
| 26 suffix = "Modules" |
| 27 } |
| 28 |
| 29 # GYP version: EventModulesFactory action in bindings_modules_generated |
| 30 make_event_factory("bindings_modules_generated_event_modules_factory") { |
| 31 in_files = [ |
| 32 "$root_gen_dir/blink/EventModulesInterfaces.in", |
| 33 ] |
| 34 outputs = [ |
| 35 "$blink_modules_output_dir/EventModules.cpp", |
| 36 "$blink_modules_output_dir/EventModulesHeaders.h", |
| 37 "$blink_modules_output_dir/EventModulesInterfaces.h", |
| 38 ] |
| 39 } |
| 40 |
| 41 # GYP version: EventModulesNames action in bindings_modules_generated |
| 42 make_names("bindings_modules_generated_event_modules_names") { |
| 43 in_files = [ |
| 44 "$root_gen_dir/blink/EventModulesInterfaces.in", |
| 45 ] |
| 46 outputs = [ |
| 47 "$blink_modules_output_dir/EventModulesNames.cpp", |
| 48 "$blink_modules_output_dir/EventModulesNames.h", |
| 49 ] |
| 50 } |
| 51 |
| 52 # GYP version: EventTargetModulesFactory action in bindings_modules_generated |
| 53 make_event_factory("bindings_modules_generated_event_target_modules_factory") { |
| 54 in_files = [ |
| 55 "../../modules/EventTargetModulesFactory.in", |
| 56 ] |
| 57 outputs = [ |
| 58 "$blink_modules_output_dir/EventTargetModulesHeaders.h", |
| 59 "$blink_modules_output_dir/EventTargetModulesInterfaces.h", |
| 60 ] |
| 61 } |
| 62 |
| 63 # GYP version: EventTargetModulesNames action in bindings_modules_generated |
| 64 make_names("bindings_modules_generated_event_target_modules_names") { |
| 65 in_files = [ |
| 66 "../../modules/EventTargetModulesFactory.in", |
| 67 ] |
| 68 outputs = [ |
| 69 "$blink_modules_output_dir/EventTargetModulesNames.cpp", |
| 70 "$blink_modules_output_dir/EventTargetModulesNames.h", |
| 71 ] |
| 72 } |
| 73 |
| 74 # ------------------------------------------------------------------------------ |
| 75 |
| 76 # GYP version: Source/bindings/modules/generated.gyp:interfaces_info_individual_
modules |
| 77 compute_interfaces_info_individual("interfaces_info_individual_modules") { |
| 78 sources_static = modules_static_idl_files |
| 79 # No generated files currently, will add with constructors |
| 80 sources_generated = [] |
| 81 component_dir = "modules" |
| 82 output_file = |
| 83 "$bindings_modules_output_dir/InterfacesInfoModulesIndividual.pickle" |
| 84 } |
| 85 |
| 86 # GYP version: Source/bindings/modules/generated.gyp:interfaces_info |
| 87 action("interfaces_info") { |
| 88 script = "$bindings_scripts_dir/compute_interfaces_info_overall.py" |
| 89 |
| 90 source_prereqs = [ |
| 91 "$bindings_core_output_dir/InterfacesInfoCoreIndividual.pickle", |
| 92 "$bindings_modules_output_dir/InterfacesInfoModulesIndividual.pickle", |
| 93 ] |
| 94 outputs = [ |
| 95 "$bindings_modules_output_dir/InterfacesInfoModules.pickle", |
| 96 ] |
| 97 |
| 98 args = [ |
| 99 "--write-file-only-if-changed=1", |
| 100 "--", |
| 101 rebase_path( |
| 102 "$bindings_core_output_dir/InterfacesInfoCoreIndividual.pickle", |
| 103 root_build_dir), |
| 104 rebase_path( |
| 105 "$bindings_modules_output_dir/InterfacesInfoModulesIndividual.pickle", |
| 106 root_build_dir), |
| 107 rebase_path( |
| 108 "$bindings_modules_output_dir/InterfacesInfoModules.pickle", |
| 109 root_build_dir), |
| 110 ] |
| 111 |
| 112 deps = [ |
| 113 ":interfaces_info_individual_modules", |
| 114 "//third_party/WebKit/Source/bindings/core:interfaces_info_individual_core", |
| 115 ] |
| 116 } |
| 117 |
| 118 |
OLD | NEW |