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
diff --git a/Android.bp b/Android.bp
index 37b6f50..a7d74e3 100644
--- a/Android.bp
+++ b/Android.bp
@@ -16,12 +16,7 @@
export_include_dirs: ["."],
target: {
- linux_glibc: {
- sanitize: {
- misc_undefined: ["integer"],
- },
- },
- android: {
+ linux: {
sanitize: {
misc_undefined: ["integer"],
},