| 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
|
|
|