Mike Klein | eb94e56 | 2016-10-26 18:37:24 -0400 | [diff] [blame] | 1 | # Copyright 2016 Google Inc. |
| 2 | # |
| 3 | # Use of this source code is governed by a BSD-style license that can be |
| 4 | # found in the LICENSE file. |
| 5 | |
| 6 | # Things are easiest for everyone if these source paths are absolute. |
| 7 | _src = get_path_info("../src", "abspath") |
| 8 | |
| 9 | none = [ |
| 10 | "$_src/opts/SkBitmapProcState_opts_none.cpp", |
| 11 | "$_src/opts/SkBlitMask_opts_none.cpp", |
| 12 | "$_src/opts/SkBlitRow_opts_none.cpp", |
| 13 | ] |
| 14 | |
| 15 | armv7 = [ |
xiangze.zhang | d2265e5 | 2016-11-17 18:39:38 -0800 | [diff] [blame] | 16 | "$_src/opts/SkBitmapProcState_opts_none.cpp", |
Mike Klein | eb94e56 | 2016-10-26 18:37:24 -0400 | [diff] [blame] | 17 | "$_src/opts/SkBlitMask_opts_arm.cpp", |
| 18 | "$_src/opts/SkBlitRow_opts_arm.cpp", |
| 19 | ] |
| 20 | |
| 21 | neon = [ |
| 22 | "$_src/opts/SkBitmapProcState_arm_neon.cpp", |
| 23 | "$_src/opts/SkBitmapProcState_matrixProcs_neon.cpp", |
| 24 | "$_src/opts/SkBlitMask_opts_arm_neon.cpp", |
| 25 | "$_src/opts/SkBlitRow_opts_arm_neon.cpp", |
| 26 | ] |
| 27 | |
| 28 | arm64 = [ |
| 29 | "$_src/opts/SkBitmapProcState_arm_neon.cpp", |
| 30 | "$_src/opts/SkBitmapProcState_matrixProcs_neon.cpp", |
xiangze.zhang | d2265e5 | 2016-11-17 18:39:38 -0800 | [diff] [blame] | 31 | "$_src/opts/SkBitmapProcState_opts_none.cpp", |
Mike Klein | eb94e56 | 2016-10-26 18:37:24 -0400 | [diff] [blame] | 32 | "$_src/opts/SkBlitMask_opts_arm.cpp", |
| 33 | "$_src/opts/SkBlitMask_opts_arm_neon.cpp", |
| 34 | "$_src/opts/SkBlitRow_opts_arm.cpp", |
| 35 | "$_src/opts/SkBlitRow_opts_arm_neon.cpp", |
| 36 | ] |
| 37 | |
| 38 | crc32 = [ "$_src/opts/SkOpts_crc32.cpp" ] |
| 39 | |
Mike Klein | eb94e56 | 2016-10-26 18:37:24 -0400 | [diff] [blame] | 40 | sse2 = [ |
Mike Klein | eb94e56 | 2016-10-26 18:37:24 -0400 | [diff] [blame] | 41 | "$_src/opts/SkBitmapProcState_opts_SSE2.cpp", |
| 42 | "$_src/opts/SkBlitRow_opts_SSE2.cpp", |
| 43 | "$_src/opts/opts_check_x86.cpp", |
| 44 | ] |
| 45 | |
| 46 | ssse3 = [ |
| 47 | "$_src/opts/SkBitmapProcState_opts_SSSE3.cpp", |
| 48 | "$_src/opts/SkOpts_ssse3.cpp", |
| 49 | ] |
| 50 | |
| 51 | sse41 = [ "$_src/opts/SkOpts_sse41.cpp" ] |
| 52 | sse42 = [ "$_src/opts/SkOpts_sse42.cpp" ] |
| 53 | avx = [ "$_src/opts/SkOpts_avx.cpp" ] |
| 54 | hsw = [ "$_src/opts/SkOpts_hsw.cpp" ] |