summaryrefslogtreecommitdiffstats
path: root/skia/config/SkUserConfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'skia/config/SkUserConfig.h')
-rw-r--r--skia/config/SkUserConfig.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/skia/config/SkUserConfig.h b/skia/config/SkUserConfig.h
index d15882c..052c5c1 100644
--- a/skia/config/SkUserConfig.h
+++ b/skia/config/SkUserConfig.h
@@ -226,6 +226,24 @@ SK_API void SkDebugf_FileLine(const char* file, int line, bool fatal,
// tracing.
// #define SK_USER_TRACE_INCLUDE_FILE "skia/ext/skia_trace_shim.h"
+#ifndef SK_ATOMICS_PLATFORM_H
+# if defined(SK_BUILD_FOR_WIN)
+# define SK_ATOMICS_PLATFORM_H "third_party/skia/src/ports/SkAtomics_win.h"
+# elif defined(SK_BUILD_FOR_ANDROID_FRAMEWORK)
+# define SK_ATOMICS_PLATFORM_H "third_party/skia/src/ports/SkAtomics_android.h"
+# else
+# define SK_ATOMICS_PLATFORM_H "third_party/skia/src/ports/SkAtomics_sync.h"
+# endif
+#endif
+
+#ifndef SK_MUTEX_PLATFORM_H
+# if defined(SK_BUILD_FOR_WIN)
+# define SK_MUTEX_PLATFORM_H "third_party/skia/src/ports/SkMutex_win.h"
+# else
+# define SK_MUTEX_PLATFORM_H "third_party/skia/src/ports/SkMutex_pthread.h"
+# endif
+#endif
+
// ===== End Chrome-specific definitions =====
#endif