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