1 # Copyright (c) 2013 The ANGLE Project Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
8 # This file list is shared with the GN build.
9 'angle_translator_lib_sources':
11 '../include/EGL/egl.h',
12 '../include/EGL/eglext.h',
13 '../include/EGL/eglplatform.h',
14 '../include/GLES2/gl2.h',
15 '../include/GLES2/gl2ext.h',
16 '../include/GLES2/gl2platform.h',
17 '../include/GLES3/gl3.h',
18 '../include/GLES3/gl3ext.h',
19 '../include/GLES3/gl3platform.h',
20 '../include/GLSLANG/ShaderLang.h',
21 '../include/GLSLANG/ShaderVars.h',
22 '../include/KHR/khrplatform.h',
23 '../include/angle_gl.h',
24 'common/RefCountObject.cpp',
25 'common/RefCountObject.h',
26 'common/angleutils.h',
27 'common/blocklayout.cpp',
28 'common/blocklayout.h',
31 'common/event_tracer.cpp',
32 'common/event_tracer.h',
33 'common/mathutil.cpp',
38 'common/utilities.cpp',
41 'compiler/translator/BaseTypes.h',
42 'compiler/translator/BuiltInFunctionEmulator.cpp',
43 'compiler/translator/BuiltInFunctionEmulator.h',
44 'compiler/translator/CodeGen.cpp',
45 'compiler/translator/Common.h',
46 'compiler/translator/Compiler.cpp',
47 'compiler/translator/Compiler.h',
48 'compiler/translator/ConstantUnion.h',
49 'compiler/translator/DetectCallDepth.cpp',
50 'compiler/translator/DetectCallDepth.h',
51 'compiler/translator/DetectDiscontinuity.cpp',
52 'compiler/translator/DetectDiscontinuity.h',
53 'compiler/translator/Diagnostics.cpp',
54 'compiler/translator/Diagnostics.h',
55 'compiler/translator/DirectiveHandler.cpp',
56 'compiler/translator/DirectiveHandler.h',
57 'compiler/translator/ExtensionBehavior.h',
58 'compiler/translator/FlagStd140Structs.cpp',
59 'compiler/translator/FlagStd140Structs.h',
60 'compiler/translator/ForLoopUnroll.cpp',
61 'compiler/translator/ForLoopUnroll.h',
62 'compiler/translator/HashNames.h',
63 'compiler/translator/InfoSink.cpp',
64 'compiler/translator/InfoSink.h',
65 'compiler/translator/Initialize.cpp',
66 'compiler/translator/Initialize.h',
67 'compiler/translator/InitializeDll.cpp',
68 'compiler/translator/InitializeDll.h',
69 'compiler/translator/InitializeGlobals.h',
70 'compiler/translator/InitializeParseContext.cpp',
71 'compiler/translator/InitializeParseContext.h',
72 'compiler/translator/InitializeVariables.cpp',
73 'compiler/translator/InitializeVariables.h',
74 'compiler/translator/IntermTraverse.cpp',
75 'compiler/translator/Intermediate.cpp',
76 'compiler/translator/LoopInfo.cpp',
77 'compiler/translator/LoopInfo.h',
78 'compiler/translator/MMap.h',
79 'compiler/translator/NodeSearch.h',
80 'compiler/translator/OutputESSL.cpp',
81 'compiler/translator/OutputESSL.h',
82 'compiler/translator/OutputGLSL.cpp',
83 'compiler/translator/OutputGLSL.h',
84 'compiler/translator/OutputGLSLBase.cpp',
85 'compiler/translator/OutputGLSLBase.h',
86 'compiler/translator/OutputHLSL.cpp',
87 'compiler/translator/OutputHLSL.h',
88 'compiler/translator/ParseContext.cpp',
89 'compiler/translator/ParseContext.h',
90 'compiler/translator/PoolAlloc.cpp',
91 'compiler/translator/PoolAlloc.h',
92 'compiler/translator/Pragma.h',
93 'compiler/translator/QualifierAlive.cpp',
94 'compiler/translator/QualifierAlive.h',
95 'compiler/translator/RegenerateStructNames.cpp',
96 'compiler/translator/RegenerateStructNames.h',
97 'compiler/translator/RemoveTree.cpp',
98 'compiler/translator/RemoveTree.h',
99 'compiler/translator/RenameFunction.h',
100 'compiler/translator/RewriteElseBlocks.cpp',
101 'compiler/translator/RewriteElseBlocks.h',
102 'compiler/translator/ScalarizeVecAndMatConstructorArgs.cpp',
103 'compiler/translator/ScalarizeVecAndMatConstructorArgs.h',
104 'compiler/translator/SearchSymbol.cpp',
105 'compiler/translator/SearchSymbol.h',
106 'compiler/translator/StructureHLSL.cpp',
107 'compiler/translator/StructureHLSL.h',
108 'compiler/translator/SymbolTable.cpp',
109 'compiler/translator/SymbolTable.h',
110 'compiler/translator/TranslatorESSL.cpp',
111 'compiler/translator/TranslatorESSL.h',
112 'compiler/translator/TranslatorGLSL.cpp',
113 'compiler/translator/TranslatorGLSL.h',
114 'compiler/translator/TranslatorHLSL.cpp',
115 'compiler/translator/TranslatorHLSL.h',
116 'compiler/translator/Types.cpp',
117 'compiler/translator/Types.h',
118 'compiler/translator/UnfoldShortCircuit.cpp',
119 'compiler/translator/UnfoldShortCircuit.h',
120 'compiler/translator/UnfoldShortCircuitAST.cpp',
121 'compiler/translator/UnfoldShortCircuitAST.h',
122 'compiler/translator/UniformHLSL.cpp',
123 'compiler/translator/UniformHLSL.h',
124 'compiler/translator/UtilsHLSL.cpp',
125 'compiler/translator/UtilsHLSL.h',
126 'compiler/translator/ValidateLimitations.cpp',
127 'compiler/translator/ValidateLimitations.h',
128 'compiler/translator/ValidateOutputs.cpp',
129 'compiler/translator/ValidateOutputs.h',
130 'compiler/translator/VariableInfo.cpp',
131 'compiler/translator/VariableInfo.h',
132 'compiler/translator/VariablePacker.cpp',
133 'compiler/translator/VariablePacker.h',
134 'compiler/translator/VersionGLSL.cpp',
135 'compiler/translator/VersionGLSL.h',
136 'compiler/translator/compilerdebug.cpp',
137 'compiler/translator/compilerdebug.h',
138 'compiler/translator/depgraph/DependencyGraph.cpp',
139 'compiler/translator/depgraph/DependencyGraph.h',
140 'compiler/translator/depgraph/DependencyGraphBuilder.cpp',
141 'compiler/translator/depgraph/DependencyGraphBuilder.h',
142 'compiler/translator/depgraph/DependencyGraphOutput.cpp',
143 'compiler/translator/depgraph/DependencyGraphOutput.h',
144 'compiler/translator/depgraph/DependencyGraphTraverse.cpp',
145 'compiler/translator/glslang.h',
146 'compiler/translator/glslang.l',
147 'compiler/translator/glslang.y',
148 'compiler/translator/glslang_lex.cpp',
149 'compiler/translator/glslang_tab.cpp',
150 'compiler/translator/glslang_tab.h',
151 'compiler/translator/intermOut.cpp',
152 'compiler/translator/intermediate.h',
153 'compiler/translator/length_limits.h',
154 'compiler/translator/localintermediate.h',
155 'compiler/translator/parseConst.cpp',
156 'compiler/translator/timing/RestrictFragmentShaderTiming.cpp',
157 'compiler/translator/timing/RestrictFragmentShaderTiming.h',
158 'compiler/translator/timing/RestrictVertexShaderTiming.cpp',
159 'compiler/translator/timing/RestrictVertexShaderTiming.h',
160 'compiler/translator/util.cpp',
161 'compiler/translator/util.h',
162 'third_party/compiler/ArrayBoundsClamper.cpp',
163 'third_party/compiler/ArrayBoundsClamper.h',
165 'angle_preprocessor_sources':
167 'compiler/preprocessor/DiagnosticsBase.cpp',
168 'compiler/preprocessor/DiagnosticsBase.h',
169 'compiler/preprocessor/DirectiveHandlerBase.cpp',
170 'compiler/preprocessor/DirectiveHandlerBase.h',
171 'compiler/preprocessor/DirectiveParser.cpp',
172 'compiler/preprocessor/DirectiveParser.h',
173 'compiler/preprocessor/ExpressionParser.cpp',
174 'compiler/preprocessor/ExpressionParser.h',
175 'compiler/preprocessor/ExpressionParser.y',
176 'compiler/preprocessor/Input.cpp',
177 'compiler/preprocessor/Input.h',
178 'compiler/preprocessor/Lexer.cpp',
179 'compiler/preprocessor/Lexer.h',
180 'compiler/preprocessor/Macro.cpp',
181 'compiler/preprocessor/Macro.h',
182 'compiler/preprocessor/MacroExpander.cpp',
183 'compiler/preprocessor/MacroExpander.h',
184 'compiler/preprocessor/Preprocessor.cpp',
185 'compiler/preprocessor/Preprocessor.h',
186 'compiler/preprocessor/SourceLocation.h',
187 'compiler/preprocessor/Token.cpp',
188 'compiler/preprocessor/Token.h',
189 'compiler/preprocessor/Tokenizer.cpp',
190 'compiler/preprocessor/Tokenizer.h',
191 'compiler/preprocessor/Tokenizer.l',
192 'compiler/preprocessor/numeric_lex.h',
193 'compiler/preprocessor/pp_utils.h',
196 # Everything below this is duplicated in the GN build. If you change
197 # anything also change angle/BUILD.gn
201 'target_name': 'preprocessor',
202 'type': 'static_library',
203 'includes': [ '../build/common_defines.gypi', ],
204 'sources': [ '<@(angle_preprocessor_sources)', ],
207 'target_name': 'translator_lib',
208 'type': 'static_library',
209 'dependencies': [ 'preprocessor' ],
210 'includes': [ '../build/common_defines.gypi', ],
218 # define the static translator to indicate exported
219 # classes are (in fact) locally defined
220 'ANGLE_TRANSLATOR_STATIC',
224 '<@(angle_translator_lib_sources)',
230 'AdditionalOptions': ['/ignore:4221']
236 'target_name': 'translator',
237 'type': '<(component)',
238 'dependencies': [ 'translator_lib' ],
239 'includes': [ '../build/common_defines.gypi', ],
247 'ANGLE_TRANSLATOR_IMPLEMENTATION',
251 'compiler/translator/ShaderLang.cpp',
252 'compiler/translator/ShaderVars.cpp'
257 'target_name': 'translator_static',
258 'type': 'static_library',
259 'dependencies': [ 'translator_lib' ],
260 'includes': [ '../build/common_defines.gypi', ],
268 'ANGLE_TRANSLATOR_STATIC',
270 'direct_dependent_settings':
274 'ANGLE_TRANSLATOR_STATIC',
279 'compiler/translator/ShaderLang.cpp',
280 'compiler/translator/ShaderVars.cpp'