Merge "Link tsan shared library when tsan is used."

This commit is contained in:
Yabin Cui
2017-10-20 17:56:00 +00:00
committed by Gerrit Code Review

View File

@@ -137,6 +137,8 @@ ifneq ($(filter thread,$(my_sanitize)),)
else
$(error $(LOCAL_PATH): $(LOCAL_MODULE): TSAN cannot be used for 32-bit modules.)
endif
else
my_shared_libraries += $(TSAN_RUNTIME_LIBRARY)
endif
endif