summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiyong Park <jiyong@google.com>2020-09-18 16:22:13 +0900
committerJiyong Park <jiyong@google.com>2020-09-18 16:22:41 +0900
commit78b225a0d2512f03c51d666c7ed74b1c644d3dc9 (patch)
treef9909564bd6b3c4338b5b007d63b71b832b7cf28
parent0535db6ad370576d8ed78b89c756045dbd7d29e2 (diff)
downloadlibnl-78b225a0d2512f03c51d666c7ed74b1c644d3dc9.tar.gz
Don't use include/linux-private on bionic targets
target.host covers both linux_glibc and linux_bionic. Including the headers in the directory for linux_bionic causes missing type errors because the headers were not written with bionic in mind. Includ the headers only for linux_glibc. linux_bionic doesn't need extra headers because android (the device target which also uses bionic) is built as such. Bug: 159685774 Test: HOST_CROSS_OS=linux_bionic HOST_CROSS_ARCH=arm64 m \ out/soong/host/linux_bionic-arm64/bin/run_cvd Change-Id: I4a223759e6665ed740e3fa3c9c2dabf60828c9bf
-rw-r--r--Android.bp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp
index 892f3f13..58122ef7 100644
--- a/Android.bp
+++ b/Android.bp
@@ -11,7 +11,7 @@ cc_library {
darwin: {
enabled: false,
},
- host: {
+ linux_glibc: {
local_include_dirs: [
"include/linux-private",
],