aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2017-10-17 00:47:19 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-10-17 00:47:19 +0000
commita628a5956cb68b96055ae8f48d1911d64818c6cb (patch)
tree8ffef86d38120713b080d37a809ec9f78c1fc0cb
parent15c76ed42c7a51f8b42bd7faf0b56f29c21fc1dd (diff)
parent84716218975c0c565ad17b3c0fd866aad7a6ccb2 (diff)
downloadlibusb-a628a5956cb68b96055ae8f48d1911d64818c6cb.tar.gz
Merge "Use target.linux for all linux kernel based targets"
-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",
],