Turn on some basic tsan annotations.
The most useful bit here is that tsan now knows the names of our threads.
Change-Id: I8eef8f31e954ffc373555b392d6d9678d76ead34
diff --git a/build/Android.executable.mk b/build/Android.executable.mk
index 2d9bd23..cc71aac 100644
--- a/build/Android.executable.mk
+++ b/build/Android.executable.mk
@@ -75,6 +75,11 @@
LOCAL_SHARED_LIBRARIES += libart
else # debug
LOCAL_SHARED_LIBRARIES += libartd
+ ifeq ($$(art_target_or_host),target)
+ LOCAL_SHARED_LIBRARIES += libdynamic_annotations
+ else
+ LOCAL_SHARED_LIBRARIES += libdynamic_annotations-host
+ endif
endif
ifeq ($$(art_target_or_host),target)
@@ -111,4 +116,3 @@
$(eval $(call build-art-executable,oatdump,$(OATDUMP_SRC_FILES),host,debug))
$(eval $(call build-art-executable,oatexec,$(OATEXEC_SRC_FILES),host,debug))
endif
-