aboutsummaryrefslogtreecommitdiff
path: root/tests/Android.bp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Android.bp')
-rw-r--r--tests/Android.bp18
1 files changed, 17 insertions, 1 deletions
diff --git a/tests/Android.bp b/tests/Android.bp
index 2ea6087c3..a54ffb835 100644
--- a/tests/Android.bp
+++ b/tests/Android.bp
@@ -62,7 +62,10 @@ cc_defaults {
// For glibc.
"-D__STDC_LIMIT_MACROS",
],
- header_libs: ["libcutils_headers"],
+ header_libs: [
+ "libcutils_headers",
+ "gwp_asan_headers"
+ ],
// Ensure that the tests exercise shadow call stack support and
// the hint space PAC/BTI instructions.
arch: {
@@ -595,6 +598,18 @@ cc_test_library {
],
}
+cc_test_library {
+ name: "libBionicGwpAsanTests",
+ defaults: ["bionic_tests_defaults"],
+ srcs: [
+ "gwp_asan_test.cpp",
+ ],
+ include_dirs: [
+ "bionic/libc",
+ ],
+ static_libs: ["libbase"],
+}
+
// -----------------------------------------------------------------------------
// Fortify tests.
// -----------------------------------------------------------------------------
@@ -759,6 +774,7 @@ cc_test_library {
"libBionicStandardTests",
"libBionicElfTlsTests",
"libBionicFramePointerTests",
+ "libBionicGwpAsanTests",
"libfortify1-tests-clang",
"libfortify1-new-tests-clang",
"libfortify2-tests-clang",