blob: 34481db3b646add9eea259dda23dcc9888f19291 [file] [log] [blame]
Mike Kleineb94e562016-10-26 18:37:24 -04001# 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
9none = [
10 "$_src/opts/SkBitmapProcState_opts_none.cpp",
11 "$_src/opts/SkBlitMask_opts_none.cpp",
12 "$_src/opts/SkBlitRow_opts_none.cpp",
13]
14
15armv7 = [
xiangze.zhangd2265e52016-11-17 18:39:38 -080016 "$_src/opts/SkBitmapProcState_opts_none.cpp",
Mike Kleineb94e562016-10-26 18:37:24 -040017 "$_src/opts/SkBlitMask_opts_arm.cpp",
18 "$_src/opts/SkBlitRow_opts_arm.cpp",
19]
20
21neon = [
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
28arm64 = [
29 "$_src/opts/SkBitmapProcState_arm_neon.cpp",
30 "$_src/opts/SkBitmapProcState_matrixProcs_neon.cpp",
xiangze.zhangd2265e52016-11-17 18:39:38 -080031 "$_src/opts/SkBitmapProcState_opts_none.cpp",
Mike Kleineb94e562016-10-26 18:37:24 -040032 "$_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
38crc32 = [ "$_src/opts/SkOpts_crc32.cpp" ]
39
Mike Kleineb94e562016-10-26 18:37:24 -040040sse2 = [
Mike Kleineb94e562016-10-26 18:37:24 -040041 "$_src/opts/SkBitmapProcState_opts_SSE2.cpp",
42 "$_src/opts/SkBlitRow_opts_SSE2.cpp",
43 "$_src/opts/opts_check_x86.cpp",
44]
45
46ssse3 = [
47 "$_src/opts/SkBitmapProcState_opts_SSSE3.cpp",
48 "$_src/opts/SkOpts_ssse3.cpp",
49]
50
51sse41 = [ "$_src/opts/SkOpts_sse41.cpp" ]
52sse42 = [ "$_src/opts/SkOpts_sse42.cpp" ]
53avx = [ "$_src/opts/SkOpts_avx.cpp" ]
54hsw = [ "$_src/opts/SkOpts_hsw.cpp" ]