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

Unified Diff: include/core/SkPostConfig.h

Issue 398153002: Fix broken android framework builds where 32-bit MIPS compilers lack 64-bit __sync operators. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: cleanup Created 6 years, 5 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
Index: include/core/SkPostConfig.h
diff --git a/include/core/SkPostConfig.h b/include/core/SkPostConfig.h
index d513d20633a9433e7eaaa8d77102db82838c0821..2ad21c93252fb3ab2fa1d7d89bec248d1f157d01 100644
--- a/include/core/SkPostConfig.h
+++ b/include/core/SkPostConfig.h
@@ -388,6 +388,8 @@
#ifndef SK_ATOMICS_PLATFORM_H
# if defined(_MSC_VER)
# define SK_ATOMICS_PLATFORM_H "../../src/ports/SkAtomics_win.h"
+# elif defined(SK_BUILD_FOR_ANDROID_FRAMWORK) && defined(__mips__) && !defined(__LP64__)
scroggo 2014/07/16 19:16:25 FRAMEWORK* (you left out an 'E')
+# define SK_ATOMICS_PLATFORM_H "../../src/ports/SkAtomics_mips32.h"
# else
# define SK_ATOMICS_PLATFORM_H "../../src/ports/SkAtomics_sync.h"
# endif

Powered by Google App Engine
This is Rietveld 408576698