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

Unified Diff: device/usb/public/interfaces/BUILD.gn

Issue 1850023002: Consume Mojo services directly in Blink's WebUSB implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: device/usb/public/interfaces/BUILD.gn
diff --git a/device/usb/public/interfaces/BUILD.gn b/device/usb/public/interfaces/BUILD.gn
index 7f12a8402a8c5939159b51df29c3037713e31ab8..802e10e7beb144e659a260a1730ebe03cb0e4faf 100644
--- a/device/usb/public/interfaces/BUILD.gn
+++ b/device/usb/public/interfaces/BUILD.gn
@@ -4,10 +4,18 @@
import("//mojo/public/tools/bindings/mojom.gni")
+mojom_files = [
+ "chooser_service.mojom",
+ "device.mojom",
+ "device_manager.mojom",
+]
+
mojom("interfaces") {
- sources = [
- "chooser_service.mojom",
- "device.mojom",
- "device_manager.mojom",
- ]
+ sources = mojom_files
+}
+
+mojom("for_blink") {
+ sources = mojom_files
+ for_blink = true
+ variant = "blink"
}

Powered by Google App Engine
This is Rietveld 408576698