am 808f0541: am 77128117: Merge "Set up dependency on ADDRESS_SANITIZER_LINKER"

* commit '808f0541bba725c4fdc9d2b425a305eeeb024e39':
  Set up dependency on ADDRESS_SANITIZER_LINKER
This commit is contained in:
Ying Wang 2015-08-18 00:18:48 +00:00 committed by Android Git Automerger
commit f4ff2b119c

View file

@ -108,7 +108,10 @@ ifneq ($(filter address,$(my_sanitize)),)
$(ADDRESS_SANITIZER_CONFIG_EXTRA_SHARED_LIBRARIES)
my_static_libraries += $(ADDRESS_SANITIZER_CONFIG_EXTRA_STATIC_LIBRARIES)
my_ldflags += -Wl,-rpath,$($(LOCAL_2ND_ARCH_VAR_PREFIX)ADDRESS_SANITIZER_RPATH)
my_linker := $($(LOCAL_2ND_ARCH_VAR_PREFIX)ADDRESS_SANITIZER_LINKER)
# Make sure linker_asan get installed.
$(LOCAL_INSTALLED_MODULE) : | $(PRODUCT_OUT)$($(LOCAL_2ND_ARCH_VAR_PREFIX)ADDRESS_SANITIZER_LINKER)
endif
endif