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

Side by Side Diff: third_party/WebKit/public/BUILD.gn

Issue 1832703002: Mojo: Simplify typemap usage. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojo-bindings-variant-import
Patch Set: add missing mash dependency Created 4 years, 8 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/Source/web/BUILD.gn ('k') | third_party/WebKit/public/blink.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 output_dir = "$root_gen_dir/blink/public/resources" 170 output_dir = "$root_gen_dir/blink/public/resources"
171 use_qualified_include = true 171 use_qualified_include = true
172 source = "blink_image_resources.grd" 172 source = "blink_image_resources.grd"
173 outputs = [ 173 outputs = [
174 "grit/blink_image_resources.h", 174 "grit/blink_image_resources.h",
175 "blink_image_resources_100_percent.pak", 175 "blink_image_resources_100_percent.pak",
176 "blink_image_resources_200_percent.pak", 176 "blink_image_resources_200_percent.pak",
177 ] 177 ]
178 } 178 }
179 179
180 # GYP version: WebKit/public/blink.gyp:mojo_bindings_blink_mojom 180 # GYP versions: WebKit/public/blink.gyp:mojo_bindings_mojom,
181 mojom("mojo_bindings_blink") { 181 # WebKit/public/blink.gyp:mojo_bindings_blink_mojom
182 sources = [
183 "platform/modules/bluetooth/web_bluetooth.mojom",
184 "platform/modules/geolocation/geolocation.mojom",
185 "platform/modules/notifications/notification.mojom",
186 "platform/modules/payments/payment_request.mojom",
187 "platform/modules/permissions/permission.mojom",
188 "platform/modules/permissions/permission_status.mojom",
189 "platform/modules/wake_lock/wake_lock_service.mojom",
190 ]
191 for_blink = true
192 variant = "wtf"
193 }
194
195 # GYP version: WebKit/public/blink.gyp:mojo_bindings_mojom
196 mojom("mojo_bindings") { 182 mojom("mojo_bindings") {
197 sources = [ 183 sources = [
198 "platform/modules/bluetooth/web_bluetooth.mojom", 184 "platform/modules/bluetooth/web_bluetooth.mojom",
199 "platform/modules/geolocation/geolocation.mojom", 185 "platform/modules/geolocation/geolocation.mojom",
200 "platform/modules/notifications/notification.mojom", 186 "platform/modules/notifications/notification.mojom",
201 "platform/modules/permissions/permission.mojom", 187 "platform/modules/permissions/permission.mojom",
202 "platform/modules/permissions/permission_status.mojom", 188 "platform/modules/permissions/permission_status.mojom",
203 "platform/modules/wake_lock/wake_lock_service.mojom", 189 "platform/modules/wake_lock/wake_lock_service.mojom",
204 ] 190 ]
191 public_deps = [
192 ":android_mojo_bindings",
193 ]
205 } 194 }
206 195
207 if (is_android) { 196 # GYP version: WebKit/public/blink.gyp:android_mojo_bindings_java
208 # GYP version: WebKit/public/blink.gyp:android_mojo_bindings_java 197 mojom("android_mojo_bindings") {
209 mojom("android_mojo_bindings") { 198 sources = [
210 sources = [ 199 "platform/modules/payments/payment_request.mojom",
211 "platform/modules/payments/payment_request.mojom", 200 ]
212 ]
213 }
214 } 201 }
215 202
216 group("generate_mojo_bindings") { 203 group("generate_mojo_bindings") {
217 deps = [ 204 deps = [
218 ":mojo_bindings__generator", 205 ":mojo_bindings__generator",
219 ":mojo_bindings_blink__generator", 206 ":mojo_bindings_wtf__generator",
220 ] 207 ]
221 } 208 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/BUILD.gn ('k') | third_party/WebKit/public/blink.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698