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

Unified Diff: skia/skia.gyp

Issue 11292003: [MIPS] Add build support in Skia for MIPS. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 2 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/skia.gyp
diff --git a/skia/skia.gyp b/skia/skia.gyp
index 747427c40043d4718c1d63057990636eb05327e8..16e48914b9d1ada72ad64a00a898c6bb3a3227ee 100644
--- a/skia/skia.gyp
+++ b/skia/skia.gyp
@@ -353,7 +353,7 @@
'__ARM_HAVE_NEON',
],
}],
- [ 'target_arch == "arm"', {
+ [ 'target_arch == "arm" or target_arch == "mipsel"', {
'sources!': [
'../third_party/skia/src/opts/opts_check_SSE2.cpp'
],
@@ -665,7 +665,8 @@
'../third_party/skia/src/core',
],
'conditions': [
- [ 'os_posix == 1 and OS != "mac" and OS != "android" and target_arch != "arm"', {
+ [ 'os_posix == 1 and OS != "mac" and OS != "android" and \
+ target_arch != "arm" and target_arch != "mipsel"', {
'cflags': [
'-msse2',
],
@@ -675,7 +676,7 @@
'SK_BUILD_FOR_ANDROID_NDK',
],
}],
- [ 'target_arch != "arm"', {
+ [ 'target_arch != "arm" and target_arch != "mipsel"', {
'sources': [
'../third_party/skia/src/opts/SkBitmapProcState_opts_SSE2.cpp',
'../third_party/skia/src/opts/SkBlitRect_opts_SSE2.cpp',
@@ -690,8 +691,8 @@
],
}],
],
- },
- { # arm
+ }],
+ [ 'target_arch == "arm"', {
'conditions': [
[ 'armv7 == 1', {
'defines': [
@@ -752,6 +753,16 @@
'../third_party/skia/src/opts/SkBlitRow_opts_arm.cpp',
],
}],
+ [ 'target_arch == "mipsel"',{
+ 'cflags': [
+ '-fomit-frame-pointer',
+ ],
+ 'sources': [
+ '../third_party/skia/src/opts/SkBitmapProcState_opts_none.cpp',
+ '../third_party/skia/src/opts/SkBlitRow_opts_none.cpp',
+ '../third_party/skia/src/opts/SkUtils_opts_none.cpp',
+ ],
+ }],
],
},
# For the same lame reasons as what is done for skia_opts, we have to
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698