diff options
author | Kostya Kortchinsky <kostyak@google.com> | 2018-06-12 15:25:09 -0700 |
---|---|---|
committer | Kostya Kortchinsky <kostyak@google.com> | 2018-06-19 09:44:06 -0700 |
commit | 37990b5b7ea943f8f1fb5fe02e296bcc5be68c34 (patch) | |
tree | d05072ab8fba4b593bb0a82e6596856b143b18eb | |
parent | 4c94507bef940b81309e8fb3e8ee573d765cba73 (diff) | |
download | prebuilts_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 |
Add the Scudo shared library prebuilt modules.ndk-r18bndk-r18-beta2ndk-r18-beta1android-p-preview-5android-p-preview-4android-o-mr1-iot-release-1.0.2android-n-iot-release-smart-displayndk-release-r18
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.bp | 40 |
1 files changed, 40 insertions, 0 deletions
@@ -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. |