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/public/BUILD.gn

Issue 2285433002: Use compositor_frame typemap in Blink (Closed)
Patch Set: Do not write empty function in content 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 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("//mojo/public/tools/bindings/mojom.gni") 5 import("//mojo/public/tools/bindings/mojom.gni")
6 import("//third_party/WebKit/Source/config.gni") 6 import("//third_party/WebKit/Source/config.gni")
7 import("//tools/grit/grit_rule.gni") 7 import("//tools/grit/grit_rule.gni")
8 8
9 blink_headers_values = exec_script("//build/gypi_to_gn.py", 9 blink_headers_values = exec_script("//build/gypi_to_gn.py",
10 [ rebase_path("blink_headers.gypi") ], 10 [ rebase_path("blink_headers.gypi") ],
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 mojom("mojo_bindings") { 164 mojom("mojo_bindings") {
165 sources = [ 165 sources = [
166 "platform/mime_registry.mojom", 166 "platform/mime_registry.mojom",
167 "platform/modules/background_sync/background_sync.mojom", 167 "platform/modules/background_sync/background_sync.mojom",
168 "platform/modules/bluetooth/web_bluetooth.mojom", 168 "platform/modules/bluetooth/web_bluetooth.mojom",
169 "platform/modules/broadcastchannel/broadcast_channel.mojom", 169 "platform/modules/broadcastchannel/broadcast_channel.mojom",
170 "platform/modules/budget_service/budget_service.mojom", 170 "platform/modules/budget_service/budget_service.mojom",
171 "platform/modules/hyphenation/hyphenation.mojom", 171 "platform/modules/hyphenation/hyphenation.mojom",
172 "platform/modules/notifications/notification.mojom", 172 "platform/modules/notifications/notification.mojom",
173 "platform/modules/notifications/notification_service.mojom", 173 "platform/modules/notifications/notification_service.mojom",
174 "platform/modules/offscreencanvas/offscreen_canvas_surface.mojom",
175 "platform/modules/serviceworker/service_worker_event_status.mojom", 174 "platform/modules/serviceworker/service_worker_event_status.mojom",
176 "platform/modules/wake_lock/wake_lock_service.mojom", 175 "platform/modules/wake_lock/wake_lock_service.mojom",
177 ] 176 ]
178 public_deps = [ 177 public_deps = [
179 ":android_mojo_bindings", 178 ":android_mojo_bindings",
180 ":new_wrapper_types_mojo_bindings", 179 ":new_wrapper_types_mojo_bindings",
181 "//cc/ipc:interfaces_surfaceid_only",
182 "//device/bluetooth/public/interfaces:bluetooth_mojom_bluetooth_uuid", 180 "//device/bluetooth/public/interfaces:bluetooth_mojom_bluetooth_uuid",
183 "//url/mojo:url_mojom_origin", 181 "//url/mojo:url_mojom_origin",
184 ] 182 ]
185 183
186 use_new_wrapper_types = false 184 use_new_wrapper_types = false
187 185
188 # The chromium variant must be linked with content and use the same export 186 # The chromium variant must be linked with content and use the same export
189 # settings in component build because of the WebBluetoothDeviceId typemap 187 # settings in component build because of the WebBluetoothDeviceId typemap
190 # inside content. 188 # inside content.
191 export_class_attribute = "CONTENT_EXPORT" 189 export_class_attribute = "CONTENT_EXPORT"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 229
232 # See comment above. 230 # See comment above.
233 export_class_attribute = "CONTENT_EXPORT" 231 export_class_attribute = "CONTENT_EXPORT"
234 export_define = "CONTENT_IMPLEMENTATION=1" 232 export_define = "CONTENT_IMPLEMENTATION=1"
235 export_header = "content/common/content_export.h" 233 export_header = "content/common/content_export.h"
236 export_class_attribute_blink = "BLINK_PLATFORM_EXPORT" 234 export_class_attribute_blink = "BLINK_PLATFORM_EXPORT"
237 export_define_blink = "BLINK_PLATFORM_IMPLEMENTATION=1" 235 export_define_blink = "BLINK_PLATFORM_IMPLEMENTATION=1"
238 export_header_blink = "third_party/WebKit/public/platform/WebCommon.h" 236 export_header_blink = "third_party/WebKit/public/platform/WebCommon.h"
239 } 237 }
240 238
239 # The offscreen_canvas_mojo_bindings is separated from the rest of mojom files
240 # because its deps contain too many files in Chromium that would pollute the
241 # include paths in generated mojom-blink files for other services.
242 mojom("offscreen_canvas_mojo_bindings") {
243 sources = [
244 "platform/modules/offscreencanvas/offscreen_canvas_surface.mojom",
245 ]
246 deps = [
247 "//cc/ipc:interfaces",
pdr. 2016/08/30 23:55:52 It looks like you took a lot of care to only pull
248 ]
249
250 # See comment above
251 use_new_wrapper_types = true
yzshen1 2016/09/01 00:02:54 you could delete this line, true is the default va
xlai (Olivia) 2016/09/01 16:57:44 Done.
252 export_class_attribute = "CONTENT_EXPORT"
253 export_define = "CONTENT_IMPLEMENTATION=1"
254 export_header = "content/common/content_export.h"
255 export_class_attribute_blink = "BLINK_PLATFORM_EXPORT"
256 export_define_blink = "BLINK_PLATFORM_IMPLEMENTATION=1"
257 export_header_blink = "third_party/WebKit/public/platform/WebCommon.h"
258 }
259
241 group("generate_mojo_bindings") { 260 group("generate_mojo_bindings") {
242 deps = [ 261 deps = [
243 ":mojo_bindings_blink__generator", 262 ":mojo_bindings_blink__generator",
263 ":offscreen_canvas_mojo_bindings_blink__generator",
244 ] 264 ]
245 } 265 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698