forked from openkylin/platform_build
Cleanup ASan build implementation.
We already link the shared prebuilt from the toolchain. This is redundant and the wrong version. Test: make checkbuild Bug: http://b/74067984 Change-Id: Ie315b7fd8195414717d3fbe6dad1f12577ef3e35
This commit is contained in:
parent
7c9ea2b881
commit
a0530aa94d
|
@ -345,9 +345,6 @@ ifneq ($(filter address,$(my_global_sanitize) $(my_sanitize)),)
|
||||||
my_shared_libraries := $($(LOCAL_2ND_ARCH_VAR_PREFIX)ADDRESS_SANITIZER_RUNTIME_LIBRARY) \
|
my_shared_libraries := $($(LOCAL_2ND_ARCH_VAR_PREFIX)ADDRESS_SANITIZER_RUNTIME_LIBRARY) \
|
||||||
$(my_shared_libraries)
|
$(my_shared_libraries)
|
||||||
endif
|
endif
|
||||||
ifeq (,$(filter $(LOCAL_MODULE),$(ADDRESS_SANITIZER_CONFIG_EXTRA_STATIC_LIBRARIES)))
|
|
||||||
my_static_libraries += $(ADDRESS_SANITIZER_CONFIG_EXTRA_STATIC_LIBRARIES)
|
|
||||||
endif
|
|
||||||
|
|
||||||
# Do not add unnecessary dependency in shared libraries.
|
# Do not add unnecessary dependency in shared libraries.
|
||||||
ifeq ($(LOCAL_MODULE_CLASS),SHARED_LIBRARIES)
|
ifeq ($(LOCAL_MODULE_CLASS),SHARED_LIBRARIES)
|
||||||
|
|
Loading…
Reference in New Issue