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

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

Issue 2638233002: Convert make_names and make_event_factory to use json5 config format. (Closed)
Patch Set: fix PLATFORM_EXPORT Created 3 years, 10 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/generate_event_interfaces.py » ('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 Tfe Chromium Authors. All rights reserved. 1 # Copyright 2014 Tfe 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/modules/modules.gni") 5 import("//third_party/WebKit/Source/modules/modules.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/build/scripts/scripts.gni") 7 import("//third_party/WebKit/Source/build/scripts/scripts.gni")
8 8
9 group("bindings_modules_generated") { 9 group("bindings_modules_generated") {
10 visibility = [ "//third_party/WebKit/*" ] 10 visibility = [ "//third_party/WebKit/*" ]
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 "//third_party/WebKit/Source/modules/speech/SpeechSynthesisEvent.idl", 50 "//third_party/WebKit/Source/modules/speech/SpeechSynthesisEvent.idl",
51 "//third_party/WebKit/Source/modules/storage/StorageEvent.idl", 51 "//third_party/WebKit/Source/modules/storage/StorageEvent.idl",
52 "//third_party/WebKit/Source/modules/vr/VRDisplayEvent.idl", 52 "//third_party/WebKit/Source/modules/vr/VRDisplayEvent.idl",
53 "//third_party/WebKit/Source/modules/webaudio/AudioProcessingEvent.idl", 53 "//third_party/WebKit/Source/modules/webaudio/AudioProcessingEvent.idl",
54 "//third_party/WebKit/Source/modules/webaudio/OfflineAudioCompletionEvent.id l", 54 "//third_party/WebKit/Source/modules/webaudio/OfflineAudioCompletionEvent.id l",
55 "//third_party/WebKit/Source/modules/webgl/WebGLContextEvent.idl", 55 "//third_party/WebKit/Source/modules/webgl/WebGLContextEvent.idl",
56 "//third_party/WebKit/Source/modules/webmidi/MIDIConnectionEvent.idl", 56 "//third_party/WebKit/Source/modules/webmidi/MIDIConnectionEvent.idl",
57 "//third_party/WebKit/Source/modules/webmidi/MIDIMessageEvent.idl", 57 "//third_party/WebKit/Source/modules/webmidi/MIDIMessageEvent.idl",
58 "//third_party/WebKit/Source/modules/websockets/CloseEvent.idl", 58 "//third_party/WebKit/Source/modules/websockets/CloseEvent.idl",
59 ] 59 ]
60 output_file = "EventModulesInterfaces.in" 60 output_file = "EventModulesInterfaces.json5"
61 suffix = "Modules" 61 suffix = "Modules"
62 } 62 }
63 63
64 make_event_factory("event_modules") { 64 make_event_factory("event_modules") {
65 visibility = [ ":*" ] 65 visibility = [ ":*" ]
66 in_files = [ "$root_gen_dir/blink/EventModulesInterfaces.in" ] 66 in_files = [ "$root_gen_dir/blink/EventModulesInterfaces.json5" ]
67 outputs = [ 67 outputs = [
68 "$blink_modules_output_dir/EventModules.cpp", 68 "$blink_modules_output_dir/EventModules.cpp",
69 "$blink_modules_output_dir/EventModulesHeaders.h", 69 "$blink_modules_output_dir/EventModulesHeaders.h",
70 ] 70 ]
71 deps = make_core_generated_deps + [ "//third_party/WebKit/Source/bindings/modu les:modules_bindings_generated_event_interfaces" ] 71 deps = make_core_generated_deps + [ "//third_party/WebKit/Source/bindings/modu les:modules_bindings_generated_event_interfaces" ]
72 deps += [ 72 deps += [
73 "//device/generic_sensor/public/interfaces:interfaces_blink", 73 "//device/generic_sensor/public/interfaces:interfaces_blink",
74 "//device/vr:mojo_bindings_blink", 74 "//device/vr:mojo_bindings_blink",
75 "//media/midi:mojo_blink", 75 "//media/midi:mojo_blink",
76 ] 76 ]
77 } 77 }
78 78
79 make_names("event_modules_names") { 79 make_names("event_modules_names") {
80 visibility = [ ":*" ] 80 visibility = [ ":*" ]
81 in_files = [ "$root_gen_dir/blink/EventModulesInterfaces.in" ] 81 in_files = [ "$root_gen_dir/blink/EventModulesInterfaces.json5" ]
82 outputs = [ 82 outputs = [
83 "$blink_modules_output_dir/EventModulesNames.cpp", 83 "$blink_modules_output_dir/EventModulesNames.cpp",
84 "$blink_modules_output_dir/EventModulesNames.h", 84 "$blink_modules_output_dir/EventModulesNames.h",
85 ] 85 ]
86 deps = make_core_generated_deps + [ "//third_party/WebKit/Source/bindings/modu les:modules_bindings_generated_event_interfaces" ] 86 deps = make_core_generated_deps + [ "//third_party/WebKit/Source/bindings/modu les:modules_bindings_generated_event_interfaces" ]
87 } 87 }
88 88
89 make_names("event_target_modules_names") { 89 make_names("event_target_modules_names") {
90 visibility = [ ":*" ] 90 visibility = [ ":*" ]
91 in_files = [ "../../modules/EventTargetModulesFactory.in" ] 91 in_files = [ "../../modules/EventTargetModulesFactory.json5" ]
92 outputs = [ 92 outputs = [
93 "$blink_modules_output_dir/EventTargetModulesNames.cpp", 93 "$blink_modules_output_dir/EventTargetModulesNames.cpp",
94 "$blink_modules_output_dir/EventTargetModulesNames.h", 94 "$blink_modules_output_dir/EventTargetModulesNames.h",
95 ] 95 ]
96 } 96 }
97 97
98 # ------------------------------------------------------------------------------ 98 # ------------------------------------------------------------------------------
99 99
100 compute_interfaces_info_individual("interfaces_info_individual_modules") { 100 compute_interfaces_info_individual("interfaces_info_individual_modules") {
101 sources = modules_definition_idl_files + modules_static_dependency_idl_files + 101 sources = modules_definition_idl_files + modules_static_dependency_idl_files +
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 188
189 deps = [ 189 deps = [
190 ":event_modules", 190 ":event_modules",
191 ":event_modules_names", 191 ":event_modules_names",
192 ":event_target_modules_names", 192 ":event_target_modules_names",
193 "//third_party/WebKit/Source/core", 193 "//third_party/WebKit/Source/core",
194 "//third_party/WebKit/Source/wtf", 194 "//third_party/WebKit/Source/wtf",
195 "//v8", 195 "//v8",
196 ] 196 ]
197 } 197 }
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/scripts/generate_event_interfaces.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698