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

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

Issue 2319623003: Reorganize Blink IDL build, delete obsolete GYP 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
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/core/core.gni")
7 import("//third_party/WebKit/Source/bindings/modules/modules.gni")
8 import("//third_party/WebKit/Source/bindings/scripts/scripts.gni") 6 import("//third_party/WebKit/Source/bindings/scripts/scripts.gni")
9 import("//third_party/WebKit/Source/build/scripts/scripts.gni") 7 import("//third_party/WebKit/Source/build/scripts/scripts.gni")
10 8
11 visibility = [ "//third_party/WebKit/*" ] 9 visibility = [ "//third_party/WebKit/*" ]
12 10
13 # GYP version: Source/bindings/modules/generated.gyp:bindings_modules_generated 11 # GYP version: Source/bindings/modules/generated.gyp:bindings_modules_generated
14 group("bindings_modules_generated") { 12 group("bindings_modules_generated") {
15 public_deps = [ 13 public_deps = [
16 ":bindings_modules_generated_event_modules_factory", 14 ":bindings_modules_generated_event_modules_factory",
17 ":bindings_modules_generated_event_modules_names", 15 ":bindings_modules_generated_event_modules_names",
18 ":bindings_modules_generated_event_target_modules_names", 16 ":bindings_modules_generated_event_target_modules_names",
19 ":modules_bindings_generated_event_interfaces", 17 ":modules_bindings_generated_event_interfaces",
20 ] 18 ]
21 } 19 }
22 20
23 # GYP version: event_interfaces action in bindings_modules_generated 21 # GYP version: event_interfaces action in bindings_modules_generated
24 generate_event_interfaces("modules_bindings_generated_event_interfaces") { 22 generate_event_interfaces("modules_bindings_generated_event_interfaces") {
25 sources = modules_event_idl_files 23 sources = [
24 "//third_party/WebKit/Source/modules/app_banner/BeforeInstallPromptEvent.idl ",
25 "//third_party/WebKit/Source/modules/background_sync/SyncEvent.idl",
26 "//third_party/WebKit/Source/modules/device_light/DeviceLightEvent.idl",
27 "//third_party/WebKit/Source/modules/device_orientation/DeviceMotionEvent.id l",
28 "//third_party/WebKit/Source/modules/device_orientation/DeviceOrientationEve nt.idl",
29 "//third_party/WebKit/Source/modules/encryptedmedia/MediaEncryptedEvent.idl" ,
30 "//third_party/WebKit/Source/modules/encryptedmedia/MediaKeyMessageEvent.idl ",
31 "//third_party/WebKit/Source/modules/gamepad/GamepadEvent.idl",
32 "//third_party/WebKit/Source/modules/indexeddb/IDBVersionChangeEvent.idl",
33 "//third_party/WebKit/Source/modules/mediarecorder/BlobEvent.idl",
34 "//third_party/WebKit/Source/modules/mediastream/MediaStreamEvent.idl",
35 "//third_party/WebKit/Source/modules/mediastream/MediaStreamTrackEvent.idl",
36 "//third_party/WebKit/Source/modules/notifications/NotificationEvent.idl",
37 "//third_party/WebKit/Source/modules/payments/PaymentRequestUpdateEvent.idl" ,
38 "//third_party/WebKit/Source/modules/peerconnection/RTCDTMFToneChangeEvent.i dl",
39 "//third_party/WebKit/Source/modules/peerconnection/RTCDataChannelEvent.idl" ,
40 "//third_party/WebKit/Source/modules/peerconnection/RTCIceCandidateEvent.idl ",
41 "//third_party/WebKit/Source/modules/presentation/PresentationConnectionAvai lableEvent.idl",
42 "//third_party/WebKit/Source/modules/presentation/PresentationConnectionClos eEvent.idl",
43 "//third_party/WebKit/Source/modules/push_messaging/PushEvent.idl",
44 "//third_party/WebKit/Source/modules/sensor/SensorErrorEvent.idl",
45 "//third_party/WebKit/Source/modules/sensor/SensorReadingEvent.idl",
46 "//third_party/WebKit/Source/modules/serviceworkers/ExtendableEvent.idl",
47 "//third_party/WebKit/Source/modules/serviceworkers/ExtendableMessageEvent.i dl",
48 "//third_party/WebKit/Source/modules/serviceworkers/FetchEvent.idl",
49 "//third_party/WebKit/Source/modules/serviceworkers/ForeignFetchEvent.idl",
50 "//third_party/WebKit/Source/modules/serviceworkers/InstallEvent.idl",
51 "//third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerMessageEven t.idl",
52 "//third_party/WebKit/Source/modules/speech/SpeechRecognitionError.idl",
53 "//third_party/WebKit/Source/modules/speech/SpeechRecognitionEvent.idl",
54 "//third_party/WebKit/Source/modules/speech/SpeechSynthesisEvent.idl",
55 "//third_party/WebKit/Source/modules/storage/StorageEvent.idl",
56 "//third_party/WebKit/Source/modules/vr/VRDisplayEvent.idl",
57 "//third_party/WebKit/Source/modules/webaudio/AudioProcessingEvent.idl",
58 "//third_party/WebKit/Source/modules/webaudio/OfflineAudioCompletionEvent.id l",
59 "//third_party/WebKit/Source/modules/webgl/WebGLContextEvent.idl",
60 "//third_party/WebKit/Source/modules/webmidi/MIDIConnectionEvent.idl",
61 "//third_party/WebKit/Source/modules/webmidi/MIDIMessageEvent.idl",
62 "//third_party/WebKit/Source/modules/websockets/CloseEvent.idl",
63 ]
26 output_file = "EventModulesInterfaces.in" 64 output_file = "EventModulesInterfaces.in"
27 suffix = "Modules" 65 suffix = "Modules"
28 } 66 }
29 67
30 # GYP version: EventModulesFactory action in bindings_modules_generated 68 # GYP version: EventModulesFactory action in bindings_modules_generated
31 make_event_factory("bindings_modules_generated_event_modules_factory") { 69 make_event_factory("bindings_modules_generated_event_modules_factory") {
32 in_files = [ "$root_gen_dir/blink/EventModulesInterfaces.in" ] 70 in_files = [ "$root_gen_dir/blink/EventModulesInterfaces.in" ]
33 outputs = [ 71 outputs = [
34 "$blink_modules_output_dir/EventModules.cpp", 72 "$blink_modules_output_dir/EventModules.cpp",
35 "$blink_modules_output_dir/EventModulesHeaders.h", 73 "$blink_modules_output_dir/EventModulesHeaders.h",
(...skipping 19 matching lines...) Expand all
55 make_names("bindings_modules_generated_event_target_modules_names") { 93 make_names("bindings_modules_generated_event_target_modules_names") {
56 in_files = [ "../../modules/EventTargetModulesFactory.in" ] 94 in_files = [ "../../modules/EventTargetModulesFactory.in" ]
57 outputs = [ 95 outputs = [
58 "$blink_modules_output_dir/EventTargetModulesNames.cpp", 96 "$blink_modules_output_dir/EventTargetModulesNames.cpp",
59 "$blink_modules_output_dir/EventTargetModulesNames.h", 97 "$blink_modules_output_dir/EventTargetModulesNames.h",
60 ] 98 ]
61 } 99 }
62 100
63 # ------------------------------------------------------------------------------ 101 # ------------------------------------------------------------------------------
64 102
65 # GYP version: Source/bindings/modules/generated.gyp:interfaces_info_individual_ modules 103 # In GYP, paths needed to be passed separately for static and generated files,
104 # as static files are listed in a temporary file (b/c too long for command
105 # line), but generated files must be passed at the command line, as their paths
106 # are not fixed at GYP time, when the temporary file is generated, because
107 # their paths depend on the build directory, which varies.
108 #
109 # FIXME: GN does not have this limitation and we can combine the lists.
66 compute_interfaces_info_individual("interfaces_info_individual_modules") { 110 compute_interfaces_info_individual("interfaces_info_individual_modules") {
67 sources_static = modules_static_idl_files 111 sources_static =
112 modules_definition_idl_files + modules_static_dependency_idl_files
68 sources_generated = modules_generated_dependency_idl_files 113 sources_generated = modules_generated_dependency_idl_files
69 interfaces_info_file = 114 interfaces_info_file =
70 "$bindings_modules_output_dir/InterfacesInfoOverallIndividual.pickle" 115 "$bindings_modules_output_dir/InterfacesInfoOverallIndividual.pickle"
71 component_info_file = 116 component_info_file =
72 "$bindings_modules_output_dir/ComponentInfoModules.pickle" 117 "$bindings_modules_output_dir/ComponentInfoModules.pickle"
73 deps = [ 118 deps = [
74 ":modules_core_global_constructors_idls", 119 ":modules_core_global_constructors_idls",
75 ":modules_global_constructors_idls", 120 ":modules_global_constructors_idls",
76 ] 121 ]
77 } 122 }
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 sources = modules_idl_files 179 sources = modules_idl_files
135 global_objects_file = 180 global_objects_file =
136 "$bindings_modules_output_dir/GlobalObjectsModules.pickle" 181 "$bindings_modules_output_dir/GlobalObjectsModules.pickle"
137 interfaces = modules_global_constructors_original_interfaces 182 interfaces = modules_global_constructors_original_interfaces
138 component = "Modules" 183 component = "Modules"
139 output_dir = blink_modules_output_dir 184 output_dir = blink_modules_output_dir
140 deps = [ 185 deps = [
141 ":modules_global_objects", 186 ":modules_global_objects",
142 ] 187 ]
143 } 188 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/bindings/core/v8/generated.gypi ('k') | third_party/WebKit/Source/bindings/modules/generated.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698