From 98a4ebedce6758810ea5bebd30a44969574f147e Mon Sep 17 00:00:00 2001 From: Dan Willemsen Date: Tue, 3 Oct 2017 14:16:05 -0700 Subject: 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 --- Android.bp | 6 +----- 1 file changed, 1 insertion(+), 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"], -- cgit v1.2.3