Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7b0836d4 authored by Yabin Cui's avatar Yabin Cui Committed by android-build-merger
Browse files

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

am: c29a1160

Change-Id: I30ed3425a2a1f1a2b9831ecb612cccabc03116a1
parents f55aae72 c29a1160
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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