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

Side by Side Diff: third_party/WebKit/public/blink.gyp

Issue 2323393004: Complete removing Blink gyp files. (Closed)
Patch Set: Windows 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 | « third_party/WebKit/public/all.gyp ('k') | third_party/WebKit/public/blink_devtools.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #
2 # Copyright (C) 2013 Google Inc. All rights reserved.
3 #
4 # Redistribution and use in source and binary forms, with or without
5 # modification, are permitted provided that the following conditions are
6 # met:
7 #
8 # * Redistributions of source code must retain the above copyright
9 # notice, this list of conditions and the following disclaimer.
10 # * Redistributions in binary form must reproduce the above
11 # copyright notice, this list of conditions and the following disclaimer
12 # in the documentation and/or other materials provided with the
13 # distribution.
14 # * Neither the name of Google Inc. nor the names of its
15 # contributors may be used to endorse or promote products derived from
16 # this software without specific prior written permission.
17 #
18 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 #
30 {
31 'includes': [
32 '../Source/build/features.gypi',
33 ],
34 'variables': {
35 # Duplicated in GN: //third_party/WebKit/public:mojo_bindings
36 'blink_mojo_sources': [
37 'platform/mime_registry.mojom',
38 'platform/modules/background_sync/background_sync.mojom',
39 'platform/modules/broadcastchannel/broadcast_channel.mojom',
40 'platform/modules/budget_service/budget_service.mojom',
41 'platform/modules/geolocation/geolocation.mojom',
42 'platform/modules/hyphenation/hyphenation.mojom',
43 'platform/modules/notifications/notification.mojom',
44 'platform/modules/notifications/notification_service.mojom',
45 'platform/modules/offscreencanvas/offscreen_canvas_surface.mojom',
46 'platform/modules/permissions/permission.mojom',
47 'platform/modules/permissions/permission_status.mojom',
48 'platform/modules/serviceworker/service_worker_event_status.mojom',
49 'platform/modules/wake_lock/wake_lock_service.mojom',
50 'platform/modules/webshare/webshare.mojom',
51 ],
52 # Duplicated in GN: //third_party/WebKit/public:android_mojo_bindings
53 'blink_android_mojo_sources': [
54 'platform/modules/payments/payment_request.mojom',
55 ],
56 # Duplicated in GN: //third_party/WebKit/public:new_wrapper_types_mojo_b indings
57 'blink_new_wrapper_types_mojo_sources': [
58 'platform/modules/presentation/presentation.mojom',
59 ],
60 'blink_typemap_sources': [
61 '<(DEPTH)/cc/ipc/surface_id.typemap',
62 '<(DEPTH)/cc/ipc/surface_sequence.typemap',
63 ],
64 },
65 'targets': [
66 {
67 # GN version: //third_party/WebKit/public:blink
68 'target_name': 'blink',
69 'type': 'none',
70 'dependencies': [
71 'mojo_bindings',
72 '../Source/platform/blink_platform.gyp:blink_platform',
73 '../Source/web/web.gyp:blink_web',
74 '<(DEPTH)/mojo/mojo_edk.gyp:mojo_system_impl',
75 'blink_headers.gyp:blink_headers',
76 'blink_minimal',
77 ],
78 'export_dependent_settings': [
79 '../Source/web/web.gyp:blink_web',
80 '../Source/platform/blink_platform.gyp:blink_platform',
81 'blink_minimal',
82
83 # public/platform/Platform.h in 'blink_headers' depends on Mojo
84 # APIs, and the dependent of this target needs to link Mojo.
85 '<(DEPTH)/mojo/mojo_edk.gyp:mojo_system_impl',
86 ],
87 },
88 {
89 # This target provides a minimal set of Blink APIs such as WebString to use in
90 # places that cannot link against the full Blink library.
91 # FIXME: We really shouldn't have this at all and should instead rem ove all uses
92 # of Blink's API types from places that can't link against Blink. cr bug.com/248653
93 #
94 # GN version: //third_party/WebKit/public:blink_minimal
95 'target_name': 'blink_minimal',
96 'type': 'none',
97 'dependencies': [
98 '../Source/platform/blink_platform.gyp:blink_common',
99 ],
100 'export_dependent_settings': [
101 '../Source/platform/blink_platform.gyp:blink_common',
102 ],
103 },
104 {
105 # GN version: //third_party/WebKit/public:test_support
106 'target_name': 'blink_test_support',
107 'type': 'none',
108 'dependencies': [
109 '../Source/platform/blink_platform_tests.gyp:blink_platform_test _support',
110 '../Source/web/web.gyp:blink_web_test_support',
111 ],
112 'export_dependent_settings': [
113 '../Source/platform/blink_platform_tests.gyp:blink_platform_test _support',
114 '../Source/web/web.gyp:blink_web_test_support',
115 ],
116 },
117 {
118 # GN version: //third_party/WebKit/public:mojo_bindings_blink
119 # (generated by //third_party/WebKit/public:mojo_bindings)
120 'target_name': 'mojo_bindings_blink_mojom',
121 'type': 'none',
122 'variables': {
123 'mojom_files': [
124 '<@(blink_mojo_sources)',
125 '<@(blink_android_mojo_sources)',
126 'platform/modules/bluetooth/web_bluetooth.mojom',
127 ],
128 'mojom_typemaps': [
129 '../Source/platform/mojo/SecurityOrigin.typemap',
130 '<@(blink_typemap_sources)',
131 ],
132 'for_blink': 'true',
133 'use_new_wrapper_types': 'false',
134 },
135 'dependencies' : [
136 '<(DEPTH)/cc/ipc/cc_ipc.gyp:interfaces_blink',
137 '<(DEPTH)/url/url.gyp:url_mojom_for_blink',
138 ],
139 'includes': [
140 '../../../mojo/mojom_bindings_generator_explicit.gypi',
141 ],
142 },
143 {
144 # GN version: //third_party/WebKit/public:new_wrapper_types_mojo_bin dings_blink
145 # (generated by //third_party/WebKit/public:new_wrapper_types_mojo_b indings)
146 'target_name': 'new_wrapper_types_mojo_bindings_blink_mojom',
147 'type': 'none',
148 'variables': {
149 'mojom_files': [
150 '<@(blink_new_wrapper_types_mojo_sources)',
151 ],
152 'mojom_typemaps': [
153 '../Source/platform/mojo/SecurityOrigin.typemap',
154 '<@(blink_typemap_sources)',
155 ],
156 'for_blink': 'true',
157 },
158 'dependencies' : [
159 '<(DEPTH)/cc/ipc/cc_ipc.gyp:interfaces_blink',
160 '<(DEPTH)/url/url.gyp:url_mojom_for_blink',
161 ],
162 'includes': [
163 '../../../mojo/mojom_bindings_generator_explicit.gypi',
164 ],
165 },
166 {
167 # GN version: //third_party/WebKit/public:mojo_bindings
168 'target_name': 'mojo_bindings_mojom',
169 'type': 'none',
170 'variables': {
171 'mojom_files': [
172 '<@(blink_mojo_sources)',
173 '<@(blink_android_mojo_sources)',
174 ],
175 'mojom_typemaps': [
176 '<(DEPTH)/url/mojo/origin.typemap',
177 '<@(blink_typemap_sources)',
178 ],
179 'use_new_wrapper_types': 'false',
180 },
181 'dependencies' : [
182 '<(DEPTH)/cc/ipc/cc_ipc.gyp:interfaces',
183 '<(DEPTH)/url/url.gyp:url_mojom',
184 ],
185 'includes': [
186 '../../../mojo/mojom_bindings_generator_explicit.gypi',
187 ],
188 },
189 {
190 # GN version: //third_party/WebKit/public:new_wrapper_types_mojo_bin dings
191 'target_name': 'new_wrapper_types_mojo_bindings_mojom',
192 'type': 'none',
193 'variables': {
194 'mojom_files': [
195 '<@(blink_new_wrapper_types_mojo_sources)',
196 ],
197 'mojom_typemaps': [
198 '<(DEPTH)/url/mojo/origin.typemap',
199 '<@(blink_typemap_sources)',
200 ],
201 },
202 'dependencies' : [
203 '<(DEPTH)/cc/ipc/cc_ipc.gyp:interfaces',
204 '<(DEPTH)/url/url.gyp:url_mojom',
205 ],
206 'includes': [
207 '../../../mojo/mojom_bindings_generator_explicit.gypi',
208 ],
209 },
210 {
211 # GN version: //third_party/WebKit/public:mojo_bindings
212 'target_name': 'mojo_bindings',
213 # Needed because of dependency on generated headers.
214 'hard_dependency': '1',
215 'type': 'static_library',
216 'dependencies': [
217 'mojo_bindings_blink_mojom',
218 'mojo_bindings_mojom',
219 'new_wrapper_types_mojo_bindings_blink_mojom',
220 'new_wrapper_types_mojo_bindings_mojom',
221 '../../../device/bluetooth/bluetooth.gyp:bluetooth_mojom',
222 '../../../mojo/mojo_public.gyp:mojo_cpp_bindings',
223 '<(DEPTH)/cc/ipc/cc_ipc.gyp:interfaces',
224 '<(DEPTH)/cc/ipc/cc_ipc.gyp:interfaces_blink',
225 ],
226 },
227 ],
228 'conditions': [
229 ['OS == "android"', {
230 'targets': [
231 {
232 'target_name': 'android_mojo_bindings_mojom',
233 'type': 'none',
234 'variables': {
235 'mojom_files': ['<@(blink_android_mojo_sources)'],
236 'use_new_wrapper_types': 'false',
237 },
238 'includes': [
239 '../../../mojo/mojom_bindings_generator_explicit.gypi',
240 ],
241 },
242 {
243 # GN version: //third_party/WebKit/public:android_mojo_bindi ngs_java
244 'target_name': 'android_mojo_bindings_java',
245 'type': 'static_library',
246 'dependencies': [
247 'android_mojo_bindings_mojom',
248 '../../../mojo/mojo_public.gyp:mojo_bindings_java',
249 ],
250 },
251 ],
252 }],
253 ],
254 }
OLDNEW
« no previous file with comments | « third_party/WebKit/public/all.gyp ('k') | third_party/WebKit/public/blink_devtools.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698