Link hwasan static library to native tests.
They are executables, but they are not EXECUTABLES. Bug: 112438058 Test: make SANITIZE_TARGET=hwaddress tests Change-Id: I0f5d8d6259d7df4196bde50ec553b73099f2c8ac
This commit is contained in:
parent
e0e0cadb21
commit
ed90746cbd
|
@ -180,7 +180,7 @@ endif
|
|||
|
||||
ifneq ($(filter hwaddress,$(my_sanitize)),)
|
||||
my_shared_libraries += $($(LOCAL_2ND_ARCH_VAR_PREFIX)HWADDRESS_SANITIZER_RUNTIME_LIBRARY)
|
||||
ifeq ($(LOCAL_MODULE_CLASS),EXECUTABLES)
|
||||
ifneq ($(filter EXECUTABLES NATIVE_TESTS,$(LOCAL_MODULE_CLASS)),)
|
||||
ifeq ($(LOCAL_FORCE_STATIC_EXECUTABLE),true)
|
||||
my_static_libraries := $(my_static_libraries) $($(LOCAL_2ND_ARCH_VAR_PREFIX)HWADDRESS_SANITIZER_STATIC_LIBRARY)
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue