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

Side by Side Diff: third_party/WebKit/Source/bindings/modules/v8/BUILD.gn

Issue 2350843003: Remove GYP annotations from third_party GN files. (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/scripts/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/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 import("//third_party/WebKit/Source/modules/modules_idl_files.gni") 8 import("//third_party/WebKit/Source/modules/modules_idl_files.gni")
9 9
10 visibility = [ "//third_party/WebKit/*" ] 10 visibility = [ "//third_party/WebKit/*" ]
11 11
12 # bindings_modules_generated in modules/v8/generated.gyp
13 group("bindings_modules_generated") { 12 group("bindings_modules_generated") {
14 public_deps = [ 13 public_deps = [
15 ":bindings_modules_impl_generated", 14 ":bindings_modules_impl_generated",
16 ":bindings_modules_v8_generated_init_partial", 15 ":bindings_modules_v8_generated_init_partial",
17 ":generate_bindings_modules_v8_interfaces", 16 ":generate_bindings_modules_v8_interfaces",
18 ":generate_bindings_modules_v8_partial_interfaces", 17 ":generate_bindings_modules_v8_partial_interfaces",
19 ] 18 ]
20 } 19 }
21 20
22 idl_compiler("generate_bindings_modules_v8_interfaces") { 21 idl_compiler("generate_bindings_modules_v8_interfaces") {
23 # Note in GYP this is modules_interface_idl_files but this variable is just
24 # defined to modules_definition_idl_files.
25 sources = modules_definition_idl_files 22 sources = modules_definition_idl_files
26 output_dir = bindings_modules_v8_output_dir 23 output_dir = bindings_modules_v8_output_dir
27 output_name_suffix = "" 24 output_name_suffix = ""
28 target_component = "modules" 25 target_component = "modules"
29 } 26 }
30 27
31 idl_impl("bindings_modules_impl_generated") { 28 idl_impl("bindings_modules_impl_generated") {
32 sources = modules_dictionary_idl_files 29 sources = modules_dictionary_idl_files
33 outputs = bindings_modules_generated_union_type_files + 30 outputs = bindings_modules_generated_union_type_files +
34 generated_modules_dictionary_files 31 generated_modules_dictionary_files
35 output_dir = bindings_modules_v8_output_dir 32 output_dir = bindings_modules_v8_output_dir
36 target_component = "modules" 33 target_component = "modules"
37 } 34 }
38 35
39 idl_compiler("generate_bindings_modules_v8_partial_interfaces") { 36 idl_compiler("generate_bindings_modules_v8_partial_interfaces") {
40 # Note in GYP this is modules_interface_idl_files but this variable is just
41 # defined to modules_definition_idl_files.
42 sources = core_idl_with_modules_dependency_files + 37 sources = core_idl_with_modules_dependency_files +
43 webcore_testing_idl_with_modules_dependency_files 38 webcore_testing_idl_with_modules_dependency_files
44 output_dir = bindings_modules_v8_output_dir 39 output_dir = bindings_modules_v8_output_dir
45 output_name_suffix = "Partial" 40 output_name_suffix = "Partial"
46 target_component = "modules" 41 target_component = "modules"
47 } 42 }
48 43
49 # GYP version: Source/bindings/modules/v8/generated.gyp:bindings_modules_v8_gene rated_init_partial
50 action("bindings_modules_v8_generated_init_partial") { 44 action("bindings_modules_v8_generated_init_partial") {
51 script = "$bindings_scripts_dir/generate_init_partial_interfaces.py" 45 script = "$bindings_scripts_dir/generate_init_partial_interfaces.py"
52 46
53 inputs = [ 47 inputs = [
54 "$bindings_modules_output_dir/InterfacesInfoOverall.pickle", 48 "$bindings_modules_output_dir/InterfacesInfoOverall.pickle",
55 ] 49 ]
56 outputs = [ 50 outputs = [
57 bindings_modules_generated_init_partial_interfaces_file, 51 bindings_modules_generated_init_partial_interfaces_file,
58 ] 52 ]
59 53
60 # Put the IDL file list in a response file to avoid command-line limits. 54 # Put the IDL file list in a response file to avoid command-line limits.
61 response_file_contents = 55 response_file_contents =
62 rebase_path(core_idl_with_modules_dependency_files, root_build_dir) 56 rebase_path(core_idl_with_modules_dependency_files, root_build_dir)
63 57
64 args = [ 58 args = [
65 "--idl-files-list", 59 "--idl-files-list",
66 "{{response_file_name}}", 60 "{{response_file_name}}",
67 "--output", 61 "--output",
68 rebase_path(bindings_modules_generated_init_partial_interfaces_file, 62 rebase_path(bindings_modules_generated_init_partial_interfaces_file,
69 root_build_dir), 63 root_build_dir),
70 "--write-file-only-if-changed=1", 64 "--write-file-only-if-changed=1",
71 ] 65 ]
72 66
73 deps = [ 67 deps = [
74 "//third_party/WebKit/Source/bindings/modules:interfaces_info", 68 "//third_party/WebKit/Source/bindings/modules:interfaces_info",
75 ] 69 ]
76 } 70 }
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/scripts/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698