diff --git a/libc/Android.bp b/libc/Android.bp index 49b75c103..a761e3bb5 100644 --- a/libc/Android.bp +++ b/libc/Android.bp @@ -62,6 +62,8 @@ cc_defaults { cppflags: [], include_dirs: [ "bionic/libc/async_safe/include", + // For android_filesystem_config.h. + "system/core/libcutils/include", ], header_libs: [ diff --git a/tests/Android.bp b/tests/Android.bp index 586ef344e..8760256d9 100644 --- a/tests/Android.bp +++ b/tests/Android.bp @@ -44,6 +44,7 @@ cc_defaults { // For glibc. "-D__STDC_LIMIT_MACROS", ], + header_libs: ["libcutils_headers"], // Ensure that the tests exercise shadow call stack support and // the hint space PAC/BTI instructions. arch: {