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

Unified Diff: device/usb/BUILD.gn

Issue 2821813002: Use Mojo enum types in the C++ USB interface (Closed)
Patch Set: Fix up //device/usb dependencies in //extensions/browser/api 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
« no previous file with comments | « chrome/browser/devtools/device/usb/android_usb_device.cc ('k') | device/usb/fake_usb_device_handle.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/usb/BUILD.gn
diff --git a/device/usb/BUILD.gn b/device/usb/BUILD.gn
index 76fa59e24d4b5e78d7b007d8e1b679c1a8efd7f1..83ff8c1140bc23212fd36d2f795a394176212f8e 100644
--- a/device/usb/BUILD.gn
+++ b/device/usb/BUILD.gn
@@ -57,13 +57,22 @@ static_library("usb") {
deps = [
":usb_device_ids",
- "//base",
"//base/third_party/dynamic_annotations",
"//components/device_event_log",
"//device/base",
"//net",
]
+ public_deps = [
+ "//base",
+ "//url",
+
+ # 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) {
sources += [
"usb_service_linux.cc",
« no previous file with comments | « chrome/browser/devtools/device/usb/android_usb_device.cc ('k') | device/usb/fake_usb_device_handle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698