• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1package(default_visibility = ["//:__subpackages__"])
2
3filegroup(
4    name = "srcs",
5    srcs = [
6        "GLSL.std.450.h",
7        "SkSLAnalysis.cpp",
8        "SkSLAnalysis.h",
9        "SkSLBuiltinTypes.cpp",
10        "SkSLBuiltinTypes.h",
11        "SkSLCompiler.cpp",
12        "SkSLCompiler.h",
13        "SkSLConstantFolder.cpp",
14        "SkSLConstantFolder.h",
15        "SkSLContext.cpp",
16        "SkSLContext.h",
17        "SkSLDSLParser.cpp",
18        "SkSLDSLParser.h",
19        "SkSLDehydrator.cpp",
20        "SkSLDehydrator.h",
21        "SkSLErrorReporter.cpp",
22        "SkSLFileOutputStream.h",
23        "SkSLInliner.cpp",
24        "SkSLInliner.h",
25        "SkSLIntrinsicList.h",
26        "SkSLIntrinsicMap.cpp",
27        "SkSLIntrinsicMap.h",
28        "SkSLLexer.cpp",
29        "SkSLLexer.h",
30        "SkSLMangler.cpp",
31        "SkSLMangler.h",
32        "SkSLMemoryLayout.h",
33        "SkSLMemoryPool.h",
34        "SkSLModifiersPool.h",
35        "SkSLOperators.cpp",
36        "SkSLOperators.h",
37        "SkSLOutputStream.cpp",
38        "SkSLOutputStream.h",
39        "SkSLParsedModule.h",
40        "SkSLPool.cpp",
41        "SkSLPool.h",
42        "SkSLProgramSettings.h",
43        "SkSLRehydrator.cpp",
44        "SkSLRehydrator.h",
45        "SkSLSampleUsage.cpp",
46        "SkSLString.cpp",
47        "SkSLStringStream.h",
48        "SkSLThreadContext.cpp",
49        "SkSLThreadContext.h",
50        "SkSLUtil.cpp",
51        "SkSLUtil.h",
52        "analysis/SkSLCanExitWithoutReturningValue.cpp",
53        "analysis/SkSLCheckProgramUnrolledSize.cpp",
54        "analysis/SkSLGetLoopUnrollInfo.cpp",
55        "analysis/SkSLIsConstantExpression.cpp",
56        "analysis/SkSLProgramUsage.cpp",
57        "analysis/SkSLProgramVisitor.h",
58        "analysis/SkSLSwitchCaseContainsExit.cpp",
59        "codegen/SkSLCodeGenerator.h",
60        "codegen/SkSLGLSLCodeGenerator.cpp",
61        "codegen/SkSLGLSLCodeGenerator.h",
62        "codegen/SkSLMetalCodeGenerator.cpp",
63        "codegen/SkSLMetalCodeGenerator.h",
64        "codegen/SkSLPipelineStageCodeGenerator.cpp",
65        "codegen/SkSLPipelineStageCodeGenerator.h",
66        "codegen/SkSLSPIRVCodeGenerator.cpp",
67        "codegen/SkSLSPIRVCodeGenerator.h",
68        "codegen/SkSLSPIRVtoHLSL.cpp",
69        "codegen/SkSLSPIRVtoHLSL.h",
70        "codegen/SkSLVMCodeGenerator.cpp",
71        "codegen/SkSLVMCodeGenerator.h",
72        "dsl/DSLBlock.cpp",
73        "dsl/DSLCase.cpp",
74        "dsl/DSLCore.cpp",
75        "dsl/DSLExpression.cpp",
76        "dsl/DSLFunction.cpp",
77        "dsl/DSLLayout.cpp",
78        "dsl/DSLRuntimeEffects.cpp",
79        "dsl/DSLStatement.cpp",
80        "dsl/DSLSymbols.cpp",
81        "dsl/DSLType.cpp",
82        "dsl/DSLVar.cpp",
83        "dsl/priv/DSLFPs.cpp",
84        "dsl/priv/DSLFPs.h",
85        "dsl/priv/DSLWriter.cpp",
86        "dsl/priv/DSLWriter.h",
87        "dsl/priv/DSL_priv.h",
88        "ir/SkSLBinaryExpression.cpp",
89        "ir/SkSLBinaryExpression.h",
90        "ir/SkSLBlock.cpp",
91        "ir/SkSLBlock.h",
92        "ir/SkSLBreakStatement.h",
93        "ir/SkSLChildCall.cpp",
94        "ir/SkSLChildCall.h",
95        "ir/SkSLCodeStringExpression.h",
96        "ir/SkSLConstructor.cpp",
97        "ir/SkSLConstructor.h",
98        "ir/SkSLConstructorArray.cpp",
99        "ir/SkSLConstructorArray.h",
100        "ir/SkSLConstructorArrayCast.cpp",
101        "ir/SkSLConstructorArrayCast.h",
102        "ir/SkSLConstructorCompound.cpp",
103        "ir/SkSLConstructorCompound.h",
104        "ir/SkSLConstructorCompoundCast.cpp",
105        "ir/SkSLConstructorCompoundCast.h",
106        "ir/SkSLConstructorDiagonalMatrix.cpp",
107        "ir/SkSLConstructorDiagonalMatrix.h",
108        "ir/SkSLConstructorMatrixResize.cpp",
109        "ir/SkSLConstructorMatrixResize.h",
110        "ir/SkSLConstructorScalarCast.cpp",
111        "ir/SkSLConstructorScalarCast.h",
112        "ir/SkSLConstructorSplat.cpp",
113        "ir/SkSLConstructorSplat.h",
114        "ir/SkSLConstructorStruct.cpp",
115        "ir/SkSLConstructorStruct.h",
116        "ir/SkSLContinueStatement.h",
117        "ir/SkSLDiscardStatement.h",
118        "ir/SkSLDoStatement.cpp",
119        "ir/SkSLDoStatement.h",
120        "ir/SkSLExpression.cpp",
121        "ir/SkSLExpression.h",
122        "ir/SkSLExpressionStatement.cpp",
123        "ir/SkSLExpressionStatement.h",
124        "ir/SkSLExtension.h",
125        "ir/SkSLExternalFunction.h",
126        "ir/SkSLExternalFunctionCall.h",
127        "ir/SkSLExternalFunctionReference.h",
128        "ir/SkSLField.h",
129        "ir/SkSLFieldAccess.cpp",
130        "ir/SkSLFieldAccess.h",
131        "ir/SkSLForStatement.cpp",
132        "ir/SkSLForStatement.h",
133        "ir/SkSLFunctionCall.cpp",
134        "ir/SkSLFunctionCall.h",
135        "ir/SkSLFunctionDeclaration.cpp",
136        "ir/SkSLFunctionDeclaration.h",
137        "ir/SkSLFunctionDefinition.cpp",
138        "ir/SkSLFunctionDefinition.h",
139        "ir/SkSLFunctionPrototype.h",
140        "ir/SkSLFunctionReference.h",
141        "ir/SkSLIfStatement.cpp",
142        "ir/SkSLIfStatement.h",
143        "ir/SkSLIndexExpression.cpp",
144        "ir/SkSLIndexExpression.h",
145        "ir/SkSLInlineMarker.h",
146        "ir/SkSLInterfaceBlock.h",
147        "ir/SkSLLiteral.h",
148        "ir/SkSLMethodReference.h",
149        "ir/SkSLModifiers.cpp",
150        "ir/SkSLModifiersDeclaration.h",
151        "ir/SkSLNop.h",
152        "ir/SkSLPoison.h",
153        "ir/SkSLPostfixExpression.cpp",
154        "ir/SkSLPostfixExpression.h",
155        "ir/SkSLPrefixExpression.cpp",
156        "ir/SkSLPrefixExpression.h",
157        "ir/SkSLProgram.h",
158        "ir/SkSLReturnStatement.h",
159        "ir/SkSLSetting.cpp",
160        "ir/SkSLSetting.h",
161        "ir/SkSLStructDefinition.h",
162        "ir/SkSLSwitchCase.h",
163        "ir/SkSLSwitchStatement.cpp",
164        "ir/SkSLSwitchStatement.h",
165        "ir/SkSLSwizzle.cpp",
166        "ir/SkSLSwizzle.h",
167        "ir/SkSLSymbolAlias.h",
168        "ir/SkSLSymbolTable.cpp",
169        "ir/SkSLSymbolTable.h",
170        "ir/SkSLTernaryExpression.cpp",
171        "ir/SkSLTernaryExpression.h",
172        "ir/SkSLType.cpp",
173        "ir/SkSLType.h",
174        "ir/SkSLTypeReference.cpp",
175        "ir/SkSLTypeReference.h",
176        "ir/SkSLUnresolvedFunction.h",
177        "ir/SkSLVarDeclarations.cpp",
178        "ir/SkSLVarDeclarations.h",
179        "ir/SkSLVariable.cpp",
180        "ir/SkSLVariable.h",
181        "ir/SkSLVariableReference.cpp",
182        "ir/SkSLVariableReference.h",
183        "lex/DFA.h",
184        "lex/DFAState.h",
185        "lex/LexUtil.h",
186        "lex/NFA.cpp",
187        "lex/NFA.h",
188        "lex/NFAState.h",
189        "lex/NFAtoDFA.h",
190        "lex/RegexNode.cpp",
191        "lex/RegexNode.h",
192        "lex/RegexParser.cpp",
193        "lex/RegexParser.h",
194        "lex/TransitionTable.cpp",
195        "lex/TransitionTable.h",
196        "spirv.h",
197        "transform/SkSLBuiltinVariableScanner.cpp",
198        "transform/SkSLEliminateDeadFunctions.cpp",
199        "transform/SkSLEliminateDeadGlobalVariables.cpp",
200        "transform/SkSLEliminateDeadLocalVariables.cpp",
201        "transform/SkSLEliminateUnreachableCode.cpp",
202        "transform/SkSLProgramWriter.h",
203        "transform/SkSLTransform.h",
204    ],
205)
206
207filegroup(
208    name = "txts",
209    srcs = [
210        "generated/sksl_frag.dehydrated.sksl",
211        "generated/sksl_gpu.dehydrated.sksl",
212        "generated/sksl_public.dehydrated.sksl",
213        "generated/sksl_rt_shader.dehydrated.sksl",
214        "generated/sksl_vert.dehydrated.sksl",
215    ],
216)
217