OLD | NEW |
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 20 matching lines...) Expand all Loading... |
31 'includes': [ | 31 'includes': [ |
32 '../Source/build/features.gypi', | 32 '../Source/build/features.gypi', |
33 ], | 33 ], |
34 'variables': { | 34 'variables': { |
35 # Duplicated in GN: //third_party/WebKit/public:mojo_bindings | 35 # Duplicated in GN: //third_party/WebKit/public:mojo_bindings |
36 'blink_mojo_sources': [ | 36 'blink_mojo_sources': [ |
37 'platform/mime_registry.mojom', | 37 'platform/mime_registry.mojom', |
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/geolocation/geolocation.mojom', | 40 'platform/modules/geolocation/geolocation.mojom', |
| 41 'platform/modules/indexeddb/indexed_db.mojom', |
41 'platform/modules/notifications/notification.mojom', | 42 'platform/modules/notifications/notification.mojom', |
42 'platform/modules/notifications/notification_service.mojom', | 43 'platform/modules/notifications/notification_service.mojom', |
43 'platform/modules/offscreencanvas/offscreen_canvas_surface.mojom', | 44 'platform/modules/offscreencanvas/offscreen_canvas_surface.mojom', |
44 'platform/modules/permissions/permission.mojom', | 45 'platform/modules/permissions/permission.mojom', |
45 'platform/modules/permissions/permission_status.mojom', | 46 'platform/modules/permissions/permission_status.mojom', |
46 'platform/modules/presentation/presentation.mojom', | 47 'platform/modules/presentation/presentation.mojom', |
47 'platform/modules/serviceworker/service_worker_event_status.mojom', | 48 'platform/modules/serviceworker/service_worker_event_status.mojom', |
48 'platform/modules/wake_lock/wake_lock_service.mojom', | 49 'platform/modules/wake_lock/wake_lock_service.mojom', |
49 ], | 50 ], |
| 51 'blink_mojom_typemaps': [ |
| 52 'platform/modules/indexeddb/indexeddb.typemap', |
| 53 ], |
50 # Duplicated in GN: //third_party/WebKit/public:android_mojo_bindings | 54 # Duplicated in GN: //third_party/WebKit/public:android_mojo_bindings |
51 'blink_android_mojo_sources': [ | 55 'blink_android_mojo_sources': [ |
52 'platform/modules/payments/payment_request.mojom', | 56 'platform/modules/payments/payment_request.mojom', |
53 ], | 57 ], |
54 }, | 58 }, |
55 'targets': [ | 59 'targets': [ |
56 { | 60 { |
57 # GN version: //third_party/WebKit/public:blink | 61 # GN version: //third_party/WebKit/public:blink |
58 'target_name': 'blink', | 62 'target_name': 'blink', |
59 'type': 'none', | 63 'type': 'none', |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 'mojom_files': [ | 117 'mojom_files': [ |
114 '<@(blink_mojo_sources)', | 118 '<@(blink_mojo_sources)', |
115 '<@(blink_android_mojo_sources)', | 119 '<@(blink_android_mojo_sources)', |
116 ], | 120 ], |
117 'mojom_typemaps': [ | 121 'mojom_typemaps': [ |
118 '<(DEPTH)/cc/ipc/surface_id.typemap', | 122 '<(DEPTH)/cc/ipc/surface_id.typemap', |
119 '<(DEPTH)/cc/ipc/surface_sequence.typemap', | 123 '<(DEPTH)/cc/ipc/surface_sequence.typemap', |
120 | 124 |
121 ], | 125 ], |
122 'for_blink': 'true', | 126 'for_blink': 'true', |
| 127 'mojom_typemaps': [ |
| 128 '<@(blink_mojom_typemaps)', |
| 129 ], |
| 130 }, |
| 131 'includes': [ |
| 132 '../../../mojo/mojom_bindings_generator_explicit.gypi', |
| 133 ], |
| 134 }, |
| 135 { |
| 136 # GN version: //third_party/WebKit/public:url_origin_bindings_blink_
mojom |
| 137 'target_name': 'url_origin_bindings_blink_mojom', |
| 138 'type': 'none', |
| 139 'variables': { |
| 140 'mojom_files': [ |
| 141 '<(DEPTH)/url/mojo/origin.mojom', |
| 142 ], |
| 143 'for_blink': 'true', |
| 144 'mojom_typemaps': [ |
| 145 'platform/core/mojo/origin.typemap', |
| 146 ], |
123 }, | 147 }, |
124 'dependencies' : [ | 148 'dependencies' : [ |
125 '<(DEPTH)/cc/ipc/cc_ipc.gyp:interfaces_blink', | 149 '<(DEPTH)/cc/ipc/cc_ipc.gyp:interfaces_blink', |
126 ], | 150 ], |
127 'includes': [ | 151 'includes': [ |
128 '../../../mojo/mojom_bindings_generator_explicit.gypi', | 152 '../../../mojo/mojom_bindings_generator_explicit.gypi', |
129 ], | 153 ], |
130 }, | 154 }, |
131 { | 155 { |
132 # GN version: //third_party/WebKit/public:mojo_bindings | 156 # GN version: //third_party/WebKit/public:mojo_bindings |
(...skipping 19 matching lines...) Expand all Loading... |
152 }, | 176 }, |
153 { | 177 { |
154 # GN version: //third_party/WebKit/public:mojo_bindings | 178 # GN version: //third_party/WebKit/public:mojo_bindings |
155 'target_name': 'mojo_bindings', | 179 'target_name': 'mojo_bindings', |
156 # Needed because of dependency on generated headers. | 180 # Needed because of dependency on generated headers. |
157 'hard_dependency': '1', | 181 'hard_dependency': '1', |
158 'type': 'static_library', | 182 'type': 'static_library', |
159 'dependencies': [ | 183 'dependencies': [ |
160 'mojo_bindings_blink_mojom', | 184 'mojo_bindings_blink_mojom', |
161 'mojo_bindings_mojom', | 185 'mojo_bindings_mojom', |
| 186 'url_origin_bindings_blink_mojom', |
162 '../../../mojo/mojo_public.gyp:mojo_cpp_bindings', | 187 '../../../mojo/mojo_public.gyp:mojo_cpp_bindings', |
163 '../../../device/bluetooth/bluetooth.gyp:bluetooth_mojom', | 188 '../../../device/bluetooth/bluetooth.gyp:bluetooth_mojom', |
164 '<(DEPTH)/cc/ipc/cc_ipc.gyp:interfaces', | 189 '<(DEPTH)/cc/ipc/cc_ipc.gyp:interfaces', |
165 '<(DEPTH)/cc/ipc/cc_ipc.gyp:interfaces_blink', | 190 '<(DEPTH)/cc/ipc/cc_ipc.gyp:interfaces_blink', |
166 ], | 191 ], |
167 }, | 192 }, |
168 ], | 193 ], |
169 'conditions': [ | 194 'conditions': [ |
170 ['OS == "android"', { | 195 ['OS == "android"', { |
171 'targets': [ | 196 'targets': [ |
(...skipping 13 matching lines...) Expand all Loading... |
185 'type': 'static_library', | 210 'type': 'static_library', |
186 'dependencies': [ | 211 'dependencies': [ |
187 'android_mojo_bindings_mojom', | 212 'android_mojo_bindings_mojom', |
188 '../../../mojo/mojo_public.gyp:mojo_bindings_java', | 213 '../../../mojo/mojo_public.gyp:mojo_bindings_java', |
189 ], | 214 ], |
190 }, | 215 }, |
191 ], | 216 ], |
192 }], | 217 }], |
193 ], | 218 ], |
194 } | 219 } |
OLD | NEW |