aboutsummaryrefslogtreecommitdiffhomepage
path: root/gn/opts.gni
blob: 34481db3b646add9eea259dda23dcc9888f19291 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# Copyright 2016 Google Inc.
#
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

# Things are easiest for everyone if these source paths are absolute.
_src = get_path_info("../src", "abspath")

none = [
  "$_src/opts/SkBitmapProcState_opts_none.cpp",
  "$_src/opts/SkBlitMask_opts_none.cpp",
  "$_src/opts/SkBlitRow_opts_none.cpp",
]

armv7 = [
  "$_src/opts/SkBitmapProcState_opts_none.cpp",
  "$_src/opts/SkBlitMask_opts_arm.cpp",
  "$_src/opts/SkBlitRow_opts_arm.cpp",
]

neon = [
  "$_src/opts/SkBitmapProcState_arm_neon.cpp",
  "$_src/opts/SkBitmapProcState_matrixProcs_neon.cpp",
  "$_src/opts/SkBlitMask_opts_arm_neon.cpp",
  "$_src/opts/SkBlitRow_opts_arm_neon.cpp",
]

arm64 = [
  "$_src/opts/SkBitmapProcState_arm_neon.cpp",
  "$_src/opts/SkBitmapProcState_matrixProcs_neon.cpp",
  "$_src/opts/SkBitmapProcState_opts_none.cpp",
  "$_src/opts/SkBlitMask_opts_arm.cpp",
  "$_src/opts/SkBlitMask_opts_arm_neon.cpp",
  "$_src/opts/SkBlitRow_opts_arm.cpp",
  "$_src/opts/SkBlitRow_opts_arm_neon.cpp",
]

crc32 = [ "$_src/opts/SkOpts_crc32.cpp" ]

sse2 = [
  "$_src/opts/SkBitmapProcState_opts_SSE2.cpp",
  "$_src/opts/SkBlitRow_opts_SSE2.cpp",
  "$_src/opts/opts_check_x86.cpp",
]

ssse3 = [
  "$_src/opts/SkBitmapProcState_opts_SSSE3.cpp",
  "$_src/opts/SkOpts_ssse3.cpp",
]

sse41 = [ "$_src/opts/SkOpts_sse41.cpp" ]
sse42 = [ "$_src/opts/SkOpts_sse42.cpp" ]
avx = [ "$_src/opts/SkOpts_avx.cpp" ]
hsw = [ "$_src/opts/SkOpts_hsw.cpp" ]