OLD | NEW |
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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 "platform/modules/notifications/notification_service.mojom", | 173 "platform/modules/notifications/notification_service.mojom", |
174 "platform/modules/offscreencanvas/offscreen_canvas_surface.mojom", | 174 "platform/modules/offscreencanvas/offscreen_canvas_surface.mojom", |
175 "platform/modules/serviceworker/service_worker_event_status.mojom", | 175 "platform/modules/serviceworker/service_worker_event_status.mojom", |
176 "platform/modules/wake_lock/wake_lock_service.mojom", | 176 "platform/modules/wake_lock/wake_lock_service.mojom", |
177 ] | 177 ] |
178 public_deps = [ | 178 public_deps = [ |
179 ":android_mojo_bindings", | 179 ":android_mojo_bindings", |
180 ":new_wrapper_types_mojo_bindings", | 180 ":new_wrapper_types_mojo_bindings", |
181 "//cc/ipc:interfaces_surfaceid_only", | 181 "//cc/ipc:interfaces_surfaceid_only", |
182 "//device/bluetooth/public/interfaces:bluetooth_mojom_bluetooth_uuid", | 182 "//device/bluetooth/public/interfaces:bluetooth_mojom_bluetooth_uuid", |
| 183 "//mojo/common:common_custom_types", |
183 "//url/mojo:url_mojom_origin", | 184 "//url/mojo:url_mojom_origin", |
184 ] | 185 ] |
185 | 186 |
186 use_new_wrapper_types = false | 187 use_new_wrapper_types = false |
187 | 188 |
188 # The chromium variant must be linked with content and use the same export | 189 # The chromium variant must be linked with content and use the same export |
189 # settings in component build because of the WebBluetoothDeviceId typemap | 190 # settings in component build because of the WebBluetoothDeviceId typemap |
190 # inside content. | 191 # inside content. |
191 export_class_attribute = "CONTENT_EXPORT" | 192 export_class_attribute = "CONTENT_EXPORT" |
192 export_define = "CONTENT_IMPLEMENTATION=1" | 193 export_define = "CONTENT_IMPLEMENTATION=1" |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
236 export_class_attribute_blink = "BLINK_PLATFORM_EXPORT" | 237 export_class_attribute_blink = "BLINK_PLATFORM_EXPORT" |
237 export_define_blink = "BLINK_PLATFORM_IMPLEMENTATION=1" | 238 export_define_blink = "BLINK_PLATFORM_IMPLEMENTATION=1" |
238 export_header_blink = "third_party/WebKit/public/platform/WebCommon.h" | 239 export_header_blink = "third_party/WebKit/public/platform/WebCommon.h" |
239 } | 240 } |
240 | 241 |
241 group("generate_mojo_bindings") { | 242 group("generate_mojo_bindings") { |
242 deps = [ | 243 deps = [ |
243 ":mojo_bindings_blink__generator", | 244 ":mojo_bindings_blink__generator", |
244 ] | 245 ] |
245 } | 246 } |
OLD | NEW |