| 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("//sky/engine/bindings/core/idl.gni") | |
| 6 | |
| 7 import("//sky/engine/bindings/core/v8/generated.gni") | |
| 8 import("//sky/engine/bindings/scripts/scripts.gni") | |
| 9 import("//sky/engine/core/core.gni") | |
| 10 | |
| 11 visibility = [ "//sky/engine/*" ] | |
| 12 | |
| 13 # bindings_core_v8_generated in core/v8/generated.gyp | |
| 14 group("bindings_core_v8_generated") { | |
| 15 deps = [ | |
| 16 ":bindings_core_v8_generated_aggregate", | |
| 17 ":bindings_core_v8_generated_individual", | |
| 18 ] | |
| 19 } | |
| 20 | |
| 21 aggregate_generated_bindings("bindings_core_v8_generated_aggregate") { | |
| 22 sources = core_idl_files | |
| 23 component_dir = "core" | |
| 24 outputs = bindings_core_generated_aggregate_files | |
| 25 } | |
| 26 | |
| 27 idl_compiler("bindings_core_v8_generated_individual") { | |
| 28 sources = core_interface_idl_files | |
| 29 output_dir = bindings_core_v8_output_dir | |
| 30 } | |
| 31 | |
| 32 action("interfaces_info") { | |
| 33 script = "$bindings_scripts_dir/compute_interfaces_info_overall.py" | |
| 34 | |
| 35 inputs = [ | |
| 36 "$bindings_core_output_dir/InterfacesInfoCoreIndividual.pickle", | |
| 37 ] | |
| 38 outputs = [ | |
| 39 "$bindings_core_output_dir/InterfacesInfoAll.pickle", | |
| 40 ] | |
| 41 | |
| 42 args = [ | |
| 43 "--write-file-only-if-changed=1", | |
| 44 "--", | |
| 45 rebase_path("$bindings_core_output_dir/InterfacesInfoCoreIndividual.pickle", | |
| 46 root_build_dir), | |
| 47 rebase_path("$bindings_core_output_dir/InterfacesInfoAll.pickle", | |
| 48 root_build_dir), | |
| 49 ] | |
| 50 | |
| 51 deps = [ | |
| 52 "../:interfaces_info_individual_core", | |
| 53 ] | |
| 54 } | |
| OLD | NEW |