Files
build_soong/cc
Jiyong Park 8222663f1b Fix: runtime apex is not instrumented with sanitizer
Fixing the problem that IsSanitizerEnabled always returns false due to
the different sanitizer names from config.SanitizerDevice() and
sanitizerType.String().

Bug: 123708856
Test: SANITIZE_TARGET=hwaddress m com.android.runtime.release
$ ls -al out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_hwasan_com.android.runtime.release/image.apex/lib | wc -l
34
$ ls -al out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_hwasan_com.android.runtime.release/image.apex/lib64 | wc -l
35
$ ls -al out/target/product/blueline/apex/com.android.runtime.release/lib | wc -l
34
$ ls -al out/target/product/blueline/apex/com.android.runtime.release/lib64 | wc -l
35

Test: inspect out/soong/build.ninja
- Variant of com.android.runtime.release is "android_common_hwasan_com.android.runtime.release"
- Dependencies of com.android.runtime.release are hwasan variants: e.g.,
  out/soong/.intermediates/bionic/libc/libc/android_arm64_armv8-2a_kryo385_core_shared_hwasan_com.android.runtime.release/libc.so

Test: ls out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_hwasan_com.android.runtime.release/image.apex/lib64/*.so  | xargs readelf -d | grep libclang_rt.hwasan | wc -l
29

Change-Id: Idbb1f68a3ea6bdd02351d6f6048c3eedb9cf32d2
2019-02-01 11:26:04 +09:00
..
2019-01-29 22:24:58 +00:00
2018-11-19 15:26:14 -08:00
2019-01-30 22:18:59 +08:00
2019-01-24 18:59:29 +00:00
2017-10-19 22:39:32 +09:00
2018-10-09 02:16:58 +00:00
2019-01-28 20:02:27 +09:00
2018-12-27 12:26:30 -08:00
2018-10-30 09:55:48 +09:00
2017-11-17 11:22:04 -08:00
2019-01-24 18:59:29 +00:00
2018-12-20 14:33:02 +09:00
2018-10-25 13:40:28 -07:00
2019-01-23 07:21:56 +00:00
2018-11-17 15:28:25 -08:00
2016-08-01 14:36:22 -07:00
2019-01-24 18:59:29 +00:00
2018-07-22 21:18:45 -07:00
2018-11-13 15:28:07 -08:00
2018-10-09 02:16:58 +00:00
2018-11-17 15:28:25 -08:00
2018-12-20 14:33:02 +09:00