aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2017-10-17 00:55:40 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-10-17 00:55:40 +0000
commit8008b1867cd3207e2c7175c876a81a1f7490e522 (patch)
tree8ffef86d38120713b080d37a809ec9f78c1fc0cb
parent5b61229604eec2ad0e47f9cb2305105928dd61de (diff)
parenta628a5956cb68b96055ae8f48d1911d64818c6cb (diff)
downloadlibusb-8008b1867cd3207e2c7175c876a81a1f7490e522.tar.gz
Merge "Use target.linux for all linux kernel based targets"
am: a628a5956c Change-Id: If3280b493c76d626a224995776ef14515a87883f
-rw-r--r--Android.bp11
1 files changed, 3 insertions, 8 deletions
diff --git a/Android.bp b/Android.bp
index 7d2ea31..f19d333 100644
--- a/Android.bp
+++ b/Android.bp
@@ -23,14 +23,16 @@ cc_library {
],
target: {
- android: {
+ linux: {
srcs: [
"libusb/os/linux_usbfs.c",
"libusb/os/poll_posix.c",
"libusb/os/threads_posix.c",
"libusb/os/linux_netlink.c",
],
+ },
+ android: {
local_include_dirs: [
"android",
],
@@ -59,13 +61,6 @@ cc_library {
},
linux_glibc: {
- srcs: [
- "libusb/os/linux_usbfs.c",
- "libusb/os/poll_posix.c",
- "libusb/os/threads_posix.c",
- "libusb/os/linux_netlink.c",
- ],
-
local_include_dirs: [
"linux",
],