Bug 910754 - Update SkUserConfig to cater for SkMutex/SkAtomics header locations r=snorp

This commit is contained in:
George Wright 2014-02-13 02:07:10 -05:00
parent 5a5d0aa86b
commit 2bea7ef8b3

View File

@ -188,5 +188,17 @@
*/
//#define SK_ATOMICS_PLATFORM_H "SkAtomics_xxx.h"
//#define SK_MUTEX_PLATFORM_H "SkMutex_xxx.h"
# if defined(SK_BUILD_FOR_WIN32)
# define SK_ATOMICS_PLATFORM_H "skia/SkAtomics_win.h"
# elif defined(SK_BUILD_FOR_ANDROID_FRAMEWORK)
# define SK_ATOMICS_PLATFORM_H "skia/SkAtomics_android.h"
# else
# define SK_ATOMICS_PLATFORM_H "skia/SkAtomics_sync.h"
# endif
# if defined(SK_BUILD_FOR_WIN32)
# define SK_MUTEX_PLATFORM_H "skia/SkMutex_win.h"
# else
# define SK_MUTEX_PLATFORM_H "skia/SkMutex_pthread.h"
# endif
#endif