Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1953)

Unified Diff: include/core/SkPostConfig.h

Issue 306373002: Add SkBarriers_tsan.h. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: elif Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/ports/SkBarriers_tsan.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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"
« no previous file with comments | « no previous file | src/ports/SkBarriers_tsan.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698