blob: 02a95cbad5d0649426feb6b966ad5ab53d763d14 [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
40mips_dsp = [
41 "$_src/opts/SkBitmapProcState_opts_mips_dsp.cpp",
42 "$_src/opts/SkBlitMask_opts_none.cpp",
43 "$_src/opts/SkBlitRow_opts_mips_dsp.cpp",
44]
45
46sse2 = [
Mike Kleineb94e562016-10-26 18:37:24 -040047 "$_src/opts/SkBitmapProcState_opts_SSE2.cpp",
48 "$_src/opts/SkBlitRow_opts_SSE2.cpp",
49 "$_src/opts/opts_check_x86.cpp",
50]
51
52ssse3 = [
53 "$_src/opts/SkBitmapProcState_opts_SSSE3.cpp",
54 "$_src/opts/SkOpts_ssse3.cpp",
55]
56
57sse41 = [ "$_src/opts/SkOpts_sse41.cpp" ]
58sse42 = [ "$_src/opts/SkOpts_sse42.cpp" ]
59avx = [ "$_src/opts/SkOpts_avx.cpp" ]
60hsw = [ "$_src/opts/SkOpts_hsw.cpp" ]