From 0a37c2cb430a2b7e9ae7c51766e25ec9b542c94f Mon Sep 17 00:00:00 2001 From: Dan Willemsen Date: Tue, 3 Oct 2017 14:13:24 -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: I45c7b44cda6399ac0f6754e14aa2df1a539838f0 --- Android.bp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Android.bp b/Android.bp index 37b6f50..a7d74e3 100644 --- a/Android.bp +++ b/Android.bp @@ -16,12 +16,7 @@ cc_library_static { export_include_dirs: ["."], target: { - linux_glibc: { - sanitize: { - misc_undefined: ["integer"], - }, - }, - android: { + linux: { sanitize: { misc_undefined: ["integer"], }, -- cgit v1.2.3