aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKostya Kortchinsky <kostyak@google.com>2018-06-12 15:25:09 -0700
committerKostya Kortchinsky <kostyak@google.com>2018-06-19 09:44:06 -0700
commit37990b5b7ea943f8f1fb5fe02e296bcc5be68c34 (patch)
treed05072ab8fba4b593bb0a82e6596856b143b18eb
parent4c94507bef940b81309e8fb3e8ee573d765cba73 (diff)
downloadprebuilts_clang_host_linux-x86-ndk-release-r18.tar.gz
prebuilts_clang_host_linux-x86-ndk-release-r18.tar.bz2
prebuilts_clang_host_linux-x86-ndk-release-r18.zip
This patch adds the libclang_rt.scudo.{}.so shared library prebuilts for arm, aarch64, i686 & x86_64. This is required for the future use of Scudo as a possible sanitize option for Android binaries. Bug: 72112048 Test: aosp compiled with m -j Test: local experiment with scudo: true to ensure that a test target (tombstoned) could be linked with Scudo (in conjunction with https://android-review.googlesource.com/c/platform/build/soong/+/704391) Change-Id: I4d928d61e09017df340c5a500ba53a5b05ff5764
-rw-r--r--Android.bp40
1 files changed, 40 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 6478d32f..6d98814e 100644
--- a/Android.bp
+++ b/Android.bp
@@ -291,6 +291,46 @@ libclang_rt_prebuilt_library_static {
},
}
+libclang_rt_prebuilt_library_shared {
+ name: "libclang_rt.scudo-arm-android",
+ enabled: false,
+ arch: {
+ arm: {
+ enabled: true,
+ },
+ },
+}
+
+libclang_rt_prebuilt_library_shared {
+ name: "libclang_rt.scudo-aarch64-android",
+ enabled: false,
+ arch: {
+ arm64: {
+ enabled: true,
+ },
+ },
+}
+
+libclang_rt_prebuilt_library_shared {
+ name: "libclang_rt.scudo-i686-android",
+ enabled: false,
+ arch: {
+ x86: {
+ enabled: true,
+ },
+ },
+}
+
+libclang_rt_prebuilt_library_shared {
+ name: "libclang_rt.scudo-x86_64-android",
+ enabled: false,
+ arch: {
+ x86_64: {
+ enabled: true,
+ },
+ },
+}
+
// -----------------------------------------------------------------------------
// Export shared libraries for host tools (libLLVM, libclang, libc++). These
// are exported only when the LLVM_BUILD_HOST_TOOLS environment variable is set.