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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
| cc_defaults {
| name: "pixelflinger_defaults",
|
| cflags: [
| "-fstrict-aliasing",
| "-fomit-frame-pointer",
| "-Wall",
| "-Werror",
| "-Wno-unused-function",
| ],
| export_include_dirs: ["include"],
| header_libs: ["libbase_headers"],
| shared_libs: [
| "libcutils",
| "liblog",
| "libutils",
| ],
|
| arch: {
| arm: {
| neon: {
| cflags: ["-D__ARM_HAVE_NEON"],
| },
| },
| },
| }
|
| cc_library_static {
| name: "libpixelflinger-arm",
| defaults: ["pixelflinger_defaults"],
|
| srcs: [
| "fixed.cpp",
| "picker.cpp",
| "pixelflinger.cpp",
| "trap.cpp",
| "scanline.cpp",
| ],
|
| arch: {
| arm: {
| instruction_set: "arm",
| },
| },
| }
|
| // For the tests to use
| cc_library_headers {
| name: "libpixelflinger_internal",
| export_include_dirs: [
| "include",
| ".",
| ],
| }
|
| cc_library {
| name: "libpixelflinger",
| defaults: ["pixelflinger_defaults"],
|
| srcs: [
| "codeflinger/ARMAssemblerInterface.cpp",
| "codeflinger/ARMAssemblerProxy.cpp",
| "codeflinger/CodeCache.cpp",
| "codeflinger/GGLAssembler.cpp",
| "codeflinger/load_store.cpp",
| "codeflinger/blending.cpp",
| "codeflinger/texturing.cpp",
| "format.cpp",
| "clear.cpp",
| "raster.cpp",
| "buffer.cpp",
| ],
| whole_static_libs: ["libpixelflinger-arm"],
|
| arch: {
| arm: {
| srcs: [
| "codeflinger/ARMAssembler.cpp",
| "codeflinger/disassem.c",
| "col32cb16blend.S",
| "t32cb16blend.S",
| ],
|
| neon: {
| srcs: ["col32cb16blend_neon.S"],
| },
| },
| arm64: {
| srcs: [
| "codeflinger/Arm64Assembler.cpp",
| "codeflinger/Arm64Disassembler.cpp",
| "arch-arm64/col32cb16blend.S",
| "arch-arm64/t32cb16blend.S",
| ],
| },
| mips: {
| mips32r6: {
| srcs: [
| "codeflinger/MIPSAssembler.cpp",
| "codeflinger/mips_disassem.c",
| "arch-mips/t32cb16blend.S",
| ],
| },
| },
| mips64: {
| srcs: [
| "codeflinger/MIPSAssembler.cpp",
| "codeflinger/MIPS64Assembler.cpp",
| "codeflinger/mips64_disassem.c",
| "arch-mips64/col32cb16blend.S",
| "arch-mips64/t32cb16blend.S",
| ],
| },
| },
| }
|
|