Index: gyp/opts.gyp |
diff --git a/gyp/opts.gyp b/gyp/opts.gyp |
index 00a0ef50d676d39dc6347243d957f478ebf647e3..bfbf6b51099611a720975ad57c7ad5aebac56488 100644 |
--- a/gyp/opts.gyp |
+++ b/gyp/opts.gyp |
@@ -220,10 +220,19 @@ |
'../src/utils', |
], |
'sources': [ |
- '../src/opts/SkBlitRow_opts_SSE4.cpp', |
'../src/opts/SkBlurImage_opts_SSE4.cpp', |
], |
'conditions': [ |
+ [ 'skia_arch_width == 64', { |
+ 'sources': [ |
+ '../src/opts/SkBlitRow_opts_SSE4_x64_asm.S', |
+ ], |
+ }], |
+ [ 'skia_arch_width == 32', { |
+ 'sources': [ |
+ '../src/opts/SkBlitRow_opts_SSE4_asm.S', |
+ ], |
+ }], |
[ 'skia_os == "win"', { |
'defines' : [ 'SK_CPU_SSE_LEVEL=41' ], |
}], |