Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(80)

Side by Side Diff: Source/bindings/core/BUILD.gn

Issue 633913002: Update bindings gn files for binding modularization. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Added templates Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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/core/core.gni") 5 import("//third_party/WebKit/Source/bindings/core/core.gni")
6 import("//third_party/WebKit/Source/bindings/core/idl.gni") 6 import("//third_party/WebKit/Source/bindings/core/idl.gni")
7 import("//third_party/WebKit/Source/bindings/scripts/scripts.gni") 7 import("//third_party/WebKit/Source/bindings/scripts/scripts.gni")
8 8
9 visibility = [ "//third_party/WebKit/*" ] 9 visibility = [ "//third_party/WebKit/*" ]
10 10
11 core_idl_files_list = "$target_gen_dir/core_idl_files.tmp"
12 write_file(core_idl_files_list,
13 rebase_path(core_idl_files, root_build_dir))
14
11 # GYP version: Source/bindings/core/generated.gyp:interfaces_info_individual_cor e 15 # GYP version: Source/bindings/core/generated.gyp:interfaces_info_individual_cor e
12 compute_interfaces_info_individual("interfaces_info_individual_core") { 16 compute_interfaces_info_individual("interfaces_info_individual_core") {
13 sources_static = core_static_idl_files 17 sources_static = core_static_idl_files
14 sources_generated = core_generated_idl_files 18 sources_generated = core_generated_idl_files
15 output_file = 19 output_file =
16 "$bindings_core_output_dir/InterfacesInfoCoreIndividual.pickle" 20 "$bindings_core_output_dir/InterfacesInfoCoreIndividual.pickle"
21 deps = [
22 "//third_party/WebKit/Source/bindings/core:core_global_constructors_idls",
23 ]
17 } 24 }
25
26 # GYP version: Source/bindings/core/generated.gyp:core_global_objects
27 compute_global_objects("core_global_objects") {
28 sources = core_idl_files
29 sources_generated = []
30 output_file = "$bindings_core_output_dir/GlobalObjectsCore.pickle"
31 }
32
33 # GYP version: Source/bindings/core/generated.gyp:core_global_constructors_idls
34 generate_global_constructors("core_global_constructors_idls") {
35 sources = core_idl_files
36 global_objects_file = "$bindings_core_output_dir/GlobalObjectsCore.pickle"
37 interfaces = [
38 "Window",
39 "SharedWorkerGlobalScope",
40 "DedicatedWorkerGlobalScope",
41 ]
42 output_idl_files = core_global_constructors_generated_idl_files
43 output_header_files = core_global_constructors_generated_header_files
44 deps = [ ":core_global_objects" ]
45 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698