platform_build_soong/cc
Jiyong Park 3b1746a212 Fix: deps to sanitizer runtime libs are with correct 'image' variant
This change fixes a bug that sanitizer runtime libs for non-core variant
(e.g. recovery, vendor, etc.) are not installed. It happened because the
dependency to the sanitizer runtime lib was without 'image' variant,
which in most case caused only the core variant - which is the first in
the image variants - of the lib to be installed.

Fixing the issue by correctly selecting image variant depending on the
location of the lib having dependency to the runtime lib.

Bug: 123525879
Test: SANITIZE_TARGET=hwaddress m out/target/product/blueline/boot.img
Test: SANITIZE_TARGET=address m out/target/product/blueline/boot.img
libclang_rt.*.so is under
out/target/product/blueline/root/recovery/system/lib64

Change-Id: Iea7d718d4971e36521f0a3f712a454de944cd7ac
2019-01-31 01:58:26 +09:00
..
config Merge "config: swap to glibc 2.17" 2019-01-29 22:24:58 +00:00
libbuildversion Add dist support to Soong 2018-11-19 15:26:14 -08:00
androidmk.go Add prebuilt ABI checker support to soong 2019-01-23 10:15:02 +08:00
binary.go Add support for symlink_preferred_arch in apex 2019-01-29 03:21:47 +00:00
builder.go Fix a typo related to abidiffs 2019-01-28 14:30:04 +08:00
cc.go Fix: deps to sanitizer runtime libs are with correct 'image' variant 2019-01-31 01:58:26 +09:00
cc_test.go Support building for Fuchsia. 2019-01-24 18:59:29 +00:00
check.go Allow macro definition with space 2017-10-19 22:39:32 +09:00
cmakelists.go Remove GCC checks 2018-10-09 02:16:58 +00:00
compdb.go Update compdb to put full path to compiler 2019-01-29 17:27:37 +00:00
compiler.go Add __ANDROID_APEX__ 2019-01-28 20:02:27 +09:00
coverage.go Revert "Support coverage instrumentation for Linux host" 2018-04-23 22:44:39 +00:00
gen.go Remove incorrect file comments 2018-12-27 12:26:30 -08:00
gen_stub_libs.py APEX-specific symbols can be tagged as # apex 2018-12-16 02:12:13 +09:00
gen_test.go Fix using aidl files from filegroups 2017-11-17 11:22:08 -08:00
genrule.go Add support for versioned stubs. 2018-10-30 09:55:48 +09:00
genrule_test.go Allow cc_genrule srcs to vary by architecture 2018-10-23 18:40:37 +00:00
installer.go Change bool, and string properties to *bool, and *string for cc 2017-11-07 15:57:16 -08:00
kernel_headers.go Fix double space in include argument 2018-10-02 11:16:56 -07:00
library.go Add export_*_lib_headers to static and shared properties 2019-01-25 21:27:02 +00:00
library_test.go Add cc_library tests 2017-11-17 11:22:04 -08:00
linker.go Support building for Fuchsia. 2019-01-24 18:59:29 +00:00
llndk_library.go Add use_vendor to APEX module 2018-12-20 14:33:02 +09:00
lto.go Stop passing the gold plugin path to llvm-ar. 2018-11-08 20:13:16 -08:00
makevars.go Allow generating modules once per OS instead of once per Class 2018-10-22 15:46:03 -07:00
ndk_headers.go Allow NDK APIs to be marked as drafts. 2018-11-28 09:52:12 -08:00
ndk_library.go When a stub is built for APEX, it is generated with --apex 2018-12-16 02:13:14 +09:00
ndk_prebuilt.go Fix double space in include argument 2018-10-02 11:16:56 -07:00
ndk_sysroot.go Allow NDK APIs to be marked as drafts. 2018-11-28 09:52:12 -08:00
object.go Enable safe ICF with LLD. 2018-10-25 13:40:28 -07:00
pgo.go Take Enable_profile_use into account when checking if PGO is enabled 2018-05-07 15:16:36 -07:00
prebuilt.go Fix shared_libs for cc/prebuilt.go 2019-01-23 07:21:56 +00:00
proto.go Add nanopb-c support 2018-11-17 15:28:25 -08:00
pylintrc Don't warn for TODOish comments. 2016-08-01 14:36:22 -07:00
rs.go Use prebuilt llvm-rs-cc for unbundled build 2018-11-18 20:58:10 -08:00
sabi.go Remove flags from ClangLibToolingUnknownCflags 2018-10-16 17:52:12 +08:00
sanitize.go Fix: deps to sanitizer runtime libs are with correct 'image' variant 2019-01-31 01:58:26 +09:00
stl.go Support building for Fuchsia. 2019-01-24 18:59:29 +00:00
strip.go Use soong_cc_prebuilt.mk instead of prebuilt.mk for Soong cc modules 2018-09-10 23:12:12 -07:00
test.go Enable benchmarks on darwin 2018-11-13 15:28:07 -08:00
test_data_test.go Fix go vet issues 2018-07-22 21:18:45 -07:00
test_gen_stub_libs.py APEX-specific symbols can be tagged as # apex 2018-12-16 02:12:13 +09:00
tidy.go Disable cert-dcl16-c clang-tidy check for mingw32. 2018-12-10 16:28:56 -08:00
toolchain_library.go Remove GCC checks 2018-10-09 02:16:58 +00:00
util.go Add nanopb-c support 2018-11-17 15:28:25 -08:00
util_test.go Allow cc_prebuilt version suffix to include svn 2018-09-26 10:59:56 +08:00
vendor_public_library.go Allow platform modules to link to vendor public libraries 2018-03-30 12:59:06 +09:00
vndk.go Add use_vendor to APEX module 2018-12-20 14:33:02 +09:00
vndk_prebuilt.go Add prebuilt ABI checker support to soong 2019-01-23 10:15:02 +08:00
xom.go Disable AArch64 XOM when not using lld. 2018-11-28 09:17:26 -08:00