diff options
Diffstat (limited to 'gyp')
-rw-r--r-- | gyp/opts.gyp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/gyp/opts.gyp b/gyp/opts.gyp index 00a0ef50d6..bfbf6b5109 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' ], }], |