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

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

Issue 2181163003: [Presentation API] Convert presentation.mojom to new wrapper types. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Respond to dcheng@ comments Created 4 years, 4 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/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # 1 #
2 # Copyright (C) 2013 Google Inc. All rights reserved. 2 # Copyright (C) 2013 Google Inc. All rights reserved.
3 # 3 #
4 # Redistribution and use in source and binary forms, with or without 4 # Redistribution and use in source and binary forms, with or without
5 # modification, are permitted provided that the following conditions are 5 # modification, are permitted provided that the following conditions are
6 # met: 6 # met:
7 # 7 #
8 # * Redistributions of source code must retain the above copyright 8 # * Redistributions of source code must retain the above copyright
9 # notice, this list of conditions and the following disclaimer. 9 # notice, this list of conditions and the following disclaimer.
10 # * Redistributions in binary form must reproduce the above 10 # * Redistributions in binary form must reproduce the above
(...skipping 27 matching lines...) Expand all
38 'platform/modules/background_sync/background_sync.mojom', 38 'platform/modules/background_sync/background_sync.mojom',
39 'platform/modules/bluetooth/web_bluetooth.mojom', 39 'platform/modules/bluetooth/web_bluetooth.mojom',
40 'platform/modules/broadcastchannel/broadcast_channel.mojom', 40 'platform/modules/broadcastchannel/broadcast_channel.mojom',
41 'platform/modules/geolocation/geolocation.mojom', 41 'platform/modules/geolocation/geolocation.mojom',
42 'platform/modules/hyphenation/hyphenation.mojom', 42 'platform/modules/hyphenation/hyphenation.mojom',
43 'platform/modules/notifications/notification.mojom', 43 'platform/modules/notifications/notification.mojom',
44 'platform/modules/notifications/notification_service.mojom', 44 'platform/modules/notifications/notification_service.mojom',
45 'platform/modules/offscreencanvas/offscreen_canvas_surface.mojom', 45 'platform/modules/offscreencanvas/offscreen_canvas_surface.mojom',
46 'platform/modules/permissions/permission.mojom', 46 'platform/modules/permissions/permission.mojom',
47 'platform/modules/permissions/permission_status.mojom', 47 'platform/modules/permissions/permission_status.mojom',
48 'platform/modules/presentation/presentation.mojom',
49 'platform/modules/serviceworker/service_worker_event_status.mojom', 48 'platform/modules/serviceworker/service_worker_event_status.mojom',
50 'platform/modules/wake_lock/wake_lock_service.mojom', 49 'platform/modules/wake_lock/wake_lock_service.mojom',
51 'platform/modules/webshare/webshare.mojom', 50 'platform/modules/webshare/webshare.mojom',
52 ], 51 ],
53 # Duplicated in GN: //third_party/WebKit/public:android_mojo_bindings 52 # Duplicated in GN: //third_party/WebKit/public:android_mojo_bindings
54 'blink_android_mojo_sources': [ 53 'blink_android_mojo_sources': [
55 'platform/modules/payments/payment_request.mojom', 54 'platform/modules/payments/payment_request.mojom',
56 ], 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 ],
57 'blink_typemap_sources': [ 60 'blink_typemap_sources': [
58 '<(DEPTH)/cc/ipc/surface_id.typemap', 61 '<(DEPTH)/cc/ipc/surface_id.typemap',
59 '<(DEPTH)/cc/ipc/surface_sequence.typemap', 62 '<(DEPTH)/cc/ipc/surface_sequence.typemap',
60 ], 63 ],
61 }, 64 },
62 'targets': [ 65 'targets': [
63 { 66 {
64 # GN version: //third_party/WebKit/public:blink 67 # GN version: //third_party/WebKit/public:blink
65 'target_name': 'blink', 68 'target_name': 'blink',
66 'type': 'none', 69 'type': 'none',
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 }, 133 },
131 'dependencies' : [ 134 'dependencies' : [
132 '<(DEPTH)/cc/ipc/cc_ipc.gyp:interfaces_blink', 135 '<(DEPTH)/cc/ipc/cc_ipc.gyp:interfaces_blink',
133 '<(DEPTH)/url/url.gyp:url_mojom_for_blink', 136 '<(DEPTH)/url/url.gyp:url_mojom_for_blink',
134 ], 137 ],
135 'includes': [ 138 'includes': [
136 '../../../mojo/mojom_bindings_generator_explicit.gypi', 139 '../../../mojo/mojom_bindings_generator_explicit.gypi',
137 ], 140 ],
138 }, 141 },
139 { 142 {
143 # GN version: //third_party/WebKit/public:new_wrapper_types_mojo_bin dings_blink
144 # (generated by //third_party/WebKit/public:new_wrapper_types_mojo_b indings)
145 'target_name': 'new_wrapper_types_mojo_bindings_blink_mojom',
146 'type': 'none',
147 'variables': {
148 'mojom_files': [
149 '<@(blink_new_wrapper_types_mojo_sources)',
150 ],
151 'mojom_typemaps': [
152 '../Source/platform/mojo/SecurityOrigin.typemap',
153 '<@(blink_typemap_sources)',
154 ],
155 'for_blink': 'true',
156 },
157 'dependencies' : [
158 '<(DEPTH)/cc/ipc/cc_ipc.gyp:interfaces_blink',
159 '<(DEPTH)/url/url.gyp:url_mojom_for_blink',
160 ],
161 'includes': [
162 '../../../mojo/mojom_bindings_generator_explicit.gypi',
163 ],
164 },
165 {
140 # GN version: //third_party/WebKit/public:mojo_bindings 166 # GN version: //third_party/WebKit/public:mojo_bindings
141 'target_name': 'mojo_bindings_mojom', 167 'target_name': 'mojo_bindings_mojom',
142 'type': 'none', 168 'type': 'none',
143 'variables': { 169 'variables': {
144 'mojom_files': [ 170 'mojom_files': [
145 '<@(blink_mojo_sources)', 171 '<@(blink_mojo_sources)',
146 '<@(blink_android_mojo_sources)', 172 '<@(blink_android_mojo_sources)',
147 ], 173 ],
148 'mojom_typemaps': [ 174 'mojom_typemaps': [
149 '../../../device/bluetooth/public/interfaces/bluetooth_uuid. typemap', 175 '../../../device/bluetooth/public/interfaces/bluetooth_uuid. typemap',
150 '<(DEPTH)/url/mojo/origin.typemap', 176 '<(DEPTH)/url/mojo/origin.typemap',
151 '<@(blink_typemap_sources)', 177 '<@(blink_typemap_sources)',
152 ], 178 ],
153 'use_new_wrapper_types': 'false', 179 'use_new_wrapper_types': 'false',
154 }, 180 },
155 'dependencies' : [ 181 'dependencies' : [
156 '<(DEPTH)/cc/ipc/cc_ipc.gyp:interfaces', 182 '<(DEPTH)/cc/ipc/cc_ipc.gyp:interfaces',
157 '<(DEPTH)/url/url.gyp:url_mojom', 183 '<(DEPTH)/url/url.gyp:url_mojom',
158 ], 184 ],
159 'includes': [ 185 'includes': [
160 '../../../mojo/mojom_bindings_generator_explicit.gypi', 186 '../../../mojo/mojom_bindings_generator_explicit.gypi',
161 ], 187 ],
162 }, 188 },
163 { 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 {
164 # GN version: //third_party/WebKit/public:mojo_bindings 211 # GN version: //third_party/WebKit/public:mojo_bindings
165 'target_name': 'mojo_bindings', 212 'target_name': 'mojo_bindings',
166 # Needed because of dependency on generated headers. 213 # Needed because of dependency on generated headers.
167 'hard_dependency': '1', 214 'hard_dependency': '1',
168 'type': 'static_library', 215 'type': 'static_library',
169 'dependencies': [ 216 'dependencies': [
170 'mojo_bindings_blink_mojom', 217 'mojo_bindings_blink_mojom',
171 'mojo_bindings_mojom', 218 'mojo_bindings_mojom',
219 'new_wrapper_types_mojo_bindings_blink_mojom',
220 'new_wrapper_types_mojo_bindings_mojom',
172 '../../../mojo/mojo_public.gyp:mojo_cpp_bindings', 221 '../../../mojo/mojo_public.gyp:mojo_cpp_bindings',
173 '../../../device/bluetooth/bluetooth.gyp:bluetooth_mojom', 222 '../../../device/bluetooth/bluetooth.gyp:bluetooth_mojom',
174 '<(DEPTH)/cc/ipc/cc_ipc.gyp:interfaces', 223 '<(DEPTH)/cc/ipc/cc_ipc.gyp:interfaces',
175 '<(DEPTH)/cc/ipc/cc_ipc.gyp:interfaces_blink', 224 '<(DEPTH)/cc/ipc/cc_ipc.gyp:interfaces_blink',
176 ], 225 ],
177 }, 226 },
178 ], 227 ],
179 'conditions': [ 228 'conditions': [
180 ['OS == "android"', { 229 ['OS == "android"', {
181 'targets': [ 230 'targets': [
(...skipping 14 matching lines...) Expand all
196 'type': 'static_library', 245 'type': 'static_library',
197 'dependencies': [ 246 'dependencies': [
198 'android_mojo_bindings_mojom', 247 'android_mojo_bindings_mojom',
199 '../../../mojo/mojo_public.gyp:mojo_bindings_java', 248 '../../../mojo/mojo_public.gyp:mojo_bindings_java',
200 ], 249 ],
201 }, 250 },
202 ], 251 ],
203 }], 252 }],
204 ], 253 ],
205 } 254 }
OLDNEW
« no previous file with comments | « third_party/WebKit/public/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698