aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2017-10-17 07:46:13 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-10-17 07:46:13 +0000
commit5ac18fffc9ac1de276bba7aab04c83bc4b02c419 (patch)
tree8ffef86d38120713b080d37a809ec9f78c1fc0cb
parent7fab447f2f912dfd3c6a22ee6d00e6d104121210 (diff)
parentddbf95f2048f1b3d7bd8e54621acc11227261907 (diff)
downloadlibusb-5ac18fffc9ac1de276bba7aab04c83bc4b02c419.tar.gz
Merge "Use target.linux for all linux kernel based targets" am: a628a5956c am: 8008b1867c am: cd089e7cc7
am: ddbf95f204 Change-Id: I8f96cb315e0dd5b3f38cc3df776d27401776780d
-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",
],