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

Unified Diff: device/usb/BUILD.gn

Issue 2821813002: Use Mojo enum types in the C++ USB interface (Closed)
Patch Set: Fix circular dependency Created 3 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/BUILD.gn
diff --git a/device/usb/BUILD.gn b/device/usb/BUILD.gn
index 76fa59e24d4b5e78d7b007d8e1b679c1a8efd7f1..0b6ad32f4e2affa30f7ae414614b67578fe177dd 100644
--- a/device/usb/BUILD.gn
+++ b/device/usb/BUILD.gn
@@ -62,6 +62,11 @@ static_library("usb") {
"//components/device_event_log",
"//device/base",
"//net",
+
+ # Depend on the header generation target only to avoid the circular
+ # dependency caused by both using enums defined in the mojom headers and
+ # typemappings linking against this target.
+ "public/interfaces:interfaces__generator",
]
if (use_udev) {

Powered by Google App Engine
This is Rietveld 408576698