aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2017-10-03 14:16:05 -0700
committerDan Willemsen <dwillemsen@google.com>2017-10-16 14:01:38 -0700
commit98a4ebedce6758810ea5bebd30a44969574f147e (patch)
tree96d98e3bdd6b41a759e413aaff39369f33c003e4
parent707de56c3cbb0fcd33ec955c52a0fb1fdfacdab3 (diff)
downloadlibevent-98a4ebedce6758810ea5bebd30a44969574f147e.tar.gz
Use target.linux for all linux kernel based targets
Now in Android.bp files, target.linux applies to all targets running a linux kernel (android, linux_glibc, linux_bionic). So common flags/sources/etc can be combined instead of copying them to each target. Test: m Change-Id: I621d6be4c06a5ec5bc8c337fff28b5e7bae28927
-rw-r--r--Android.bp6
1 files changed, 1 insertions, 5 deletions
diff --git a/Android.bp b/Android.bp
index 32de970..1ceecd5 100644
--- a/Android.bp
+++ b/Android.bp
@@ -68,15 +68,11 @@ cc_library {
],
target: {
- android: {
- srcs: ["epoll.c"],
- },
- linux_glibc: {
+ linux: {
srcs: ["epoll.c"],
},
linux_bionic: {
enabled: true,
- srcs: ["epoll.c"],
},
darwin: {
srcs: ["kqueue.c"],