Index: include/core/SkPostConfig.h |
diff --git a/include/core/SkPostConfig.h b/include/core/SkPostConfig.h |
index 2060789c990b56735512136a45b61818cc5eae53..6e54bfd8b369e98d264e26bc7bc18be3d6b24336 100644 |
--- a/include/core/SkPostConfig.h |
+++ b/include/core/SkPostConfig.h |
@@ -400,7 +400,9 @@ |
#endif |
#ifndef SK_BARRIERS_PLATFORM_H |
-# if defined(SK_CPU_ARM32) || defined(SK_CPU_ARM64) |
+# if SK_HAS_COMPILER_FEATURE(thread_sanitizer) |
+# define SK_BARRIERS_PLATFORM_H "../../src/ports/SkBarriers_tsan.h" |
+# elif defined(SK_CPU_ARM32) || defined(SK_CPU_ARM64) |
# define SK_BARRIERS_PLATFORM_H "../../src/ports/SkBarriers_arm.h" |
# else |
# define SK_BARRIERS_PLATFORM_H "../../src/ports/SkBarriers_x86.h" |