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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
| cc_defaults {
| cpp_std: "c++11",
| cppflags: [
| "-DAMD_EXTENSIONS",
| "-DENABLE_HLSL",
| "-DGLSLANG_OSINCLUDE_UNIX",
| "-DNV_EXTENSIONS",
| "-Wall",
| "-Werror",
| "-fno-exceptions",
| ],
| export_include_dirs: [
| ".",
| ],
| name: "deqp_glslang_defaults",
| rtti: false,
| sdk_version: "27",
| stl: "libc++_static",
| }
|
| cc_library_static {
| defaults: [
| "deqp_glslang_defaults",
| ],
| export_include_dirs: [
| "glslang/OSDependent",
| ],
| name: "deqp_OSDependent",
| srcs: [
| "glslang/OSDependent/Unix/ossource.cpp",
| ],
| }
|
| cc_library_static {
| defaults: [
| "deqp_glslang_defaults",
| ],
| export_include_dirs: [
| "OGLCompilersDLL",
| ],
| local_include_dirs: [
| "OGLCompilersDLL",
| ],
| name: "deqp_OGLCompiler",
| srcs: [
| "OGLCompilersDLL/InitializeDll.cpp",
| ],
| }
|
| cc_library_static {
| cppflags: [
| "-Wno-implicit-fallthrough",
| ],
| defaults: [
| "deqp_glslang_defaults",
| ],
| local_include_dirs: [
| ".",
| "hlsl",
| ],
| name: "deqp_HLSL",
| srcs: [
| "hlsl/hlslAttributes.cpp",
| "hlsl/hlslGrammar.cpp",
| "hlsl/hlslOpMap.cpp",
| "hlsl/hlslParseables.cpp",
| "hlsl/hlslParseHelper.cpp",
| "hlsl/hlslScanContext.cpp",
| "hlsl/hlslTokenStream.cpp",
| ],
| }
|
| cc_library_static {
| cppflags: [
| "-Wno-implicit-fallthrough",
| "-Wno-missing-field-initializers",
| "-Wno-unused-variable",
| ],
| defaults: [
| "deqp_glslang_defaults",
| ],
| local_include_dirs: [
| "glslang/MachineIndependent",
| ],
| name: "deqp_glslang",
| srcs: [
| "glslang/GenericCodeGen/CodeGen.cpp",
| "glslang/GenericCodeGen/Link.cpp",
| "glslang/MachineIndependent/attribute.cpp",
| "glslang/MachineIndependent/Constant.cpp",
| "glslang/MachineIndependent/glslang_tab.cpp",
| "glslang/MachineIndependent/InfoSink.cpp",
| "glslang/MachineIndependent/Initialize.cpp",
| "glslang/MachineIndependent/Intermediate.cpp",
| "glslang/MachineIndependent/intermOut.cpp",
| "glslang/MachineIndependent/IntermTraverse.cpp",
| "glslang/MachineIndependent/iomapper.cpp",
| "glslang/MachineIndependent/limits.cpp",
| "glslang/MachineIndependent/linkValidate.cpp",
| "glslang/MachineIndependent/parseConst.cpp",
| "glslang/MachineIndependent/ParseContextBase.cpp",
| "glslang/MachineIndependent/ParseHelper.cpp",
| "glslang/MachineIndependent/PoolAlloc.cpp",
| "glslang/MachineIndependent/propagateNoContraction.cpp",
| "glslang/MachineIndependent/reflection.cpp",
| "glslang/MachineIndependent/RemoveTree.cpp",
| "glslang/MachineIndependent/Scan.cpp",
| "glslang/MachineIndependent/ShaderLang.cpp",
| "glslang/MachineIndependent/SymbolTable.cpp",
| "glslang/MachineIndependent/Versions.cpp",
| "glslang/MachineIndependent/preprocessor/PpAtom.cpp",
| "glslang/MachineIndependent/preprocessor/PpContext.cpp",
| "glslang/MachineIndependent/preprocessor/Pp.cpp",
| "glslang/MachineIndependent/preprocessor/PpScanner.cpp",
| "glslang/MachineIndependent/preprocessor/PpTokens.cpp",
| ],
| static_libs: [
| "deqp_OSDependent",
| "deqp_OGLCompiler",
| "deqp_HLSL",
| ],
| }
|
| cc_library_static {
| cppflags: [
| "-Wno-implicit-fallthrough",
| "-Wno-unused-parameter",
| ],
| defaults: [
| "deqp_glslang_defaults",
| ],
| export_include_dirs: [
| "SPIRV",
| ],
| local_include_dirs: [
| "SPIRV",
| ],
| name: "deqp_SPIRV",
| srcs: [
| "SPIRV/GlslangToSpv.cpp",
| "SPIRV/InReadableOrder.cpp",
| "SPIRV/Logger.cpp",
| "SPIRV/SPVRemapper.cpp",
| "SPIRV/SpvBuilder.cpp",
| "SPIRV/SpvPostProcess.cpp",
| "SPIRV/SpvTools.cpp",
| "SPIRV/disassemble.cpp",
| "SPIRV/doc.cpp",
| ],
| static_libs: [
| "deqp_glslang",
| ],
| }
|
|