Geoff Lang | 1773282 | 2013-08-29 13:46:49 -0400 | [diff] [blame] | 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. |
| 4 | |
| 5 | { |
Brett Wilson | 04bac60 | 2014-07-16 14:19:18 -0700 | [diff] [blame] | 6 | 'variables': |
| 7 | { |
Daniel Bratell | 73941de | 2015-02-25 14:34:49 +0100 | [diff] [blame] | 8 | # These file lists are shared with the GN build. |
Brett Wilson | 04bac60 | 2014-07-16 14:19:18 -0700 | [diff] [blame] | 9 | 'angle_translator_lib_sources': |
| 10 | [ |
| 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', |
Jamie Madill | 13cfd27 | 2014-07-17 14:16:28 -0400 | [diff] [blame] | 21 | '../include/GLSLANG/ShaderVars.h', |
Brett Wilson | 04bac60 | 2014-07-16 14:19:18 -0700 | [diff] [blame] | 22 | '../include/KHR/khrplatform.h', |
| 23 | '../include/angle_gl.h', |
Brett Wilson | 04bac60 | 2014-07-16 14:19:18 -0700 | [diff] [blame] | 24 | 'compiler/translator/BaseTypes.h', |
| 25 | 'compiler/translator/BuiltInFunctionEmulator.cpp', |
| 26 | 'compiler/translator/BuiltInFunctionEmulator.h', |
Olli Etuaho | 5c9cd3d | 2014-12-18 13:04:25 +0200 | [diff] [blame] | 27 | 'compiler/translator/BuiltInFunctionEmulatorGLSL.cpp', |
| 28 | 'compiler/translator/BuiltInFunctionEmulatorGLSL.h', |
Corentin Wallez | 71d147f | 2015-02-11 11:15:24 -0800 | [diff] [blame] | 29 | 'compiler/translator/CallDAG.cpp', |
| 30 | 'compiler/translator/CallDAG.h', |
Brett Wilson | 04bac60 | 2014-07-16 14:19:18 -0700 | [diff] [blame] | 31 | 'compiler/translator/CodeGen.cpp', |
| 32 | 'compiler/translator/Common.h', |
| 33 | 'compiler/translator/Compiler.cpp', |
| 34 | 'compiler/translator/Compiler.h', |
| 35 | 'compiler/translator/ConstantUnion.h', |
Brett Wilson | 04bac60 | 2014-07-16 14:19:18 -0700 | [diff] [blame] | 36 | 'compiler/translator/Diagnostics.cpp', |
| 37 | 'compiler/translator/Diagnostics.h', |
| 38 | 'compiler/translator/DirectiveHandler.cpp', |
| 39 | 'compiler/translator/DirectiveHandler.h', |
Olli Etuaho | 853dc1a | 2014-11-06 17:25:48 +0200 | [diff] [blame] | 40 | 'compiler/translator/EmulatePrecision.cpp', |
| 41 | 'compiler/translator/EmulatePrecision.h', |
Brett Wilson | 04bac60 | 2014-07-16 14:19:18 -0700 | [diff] [blame] | 42 | 'compiler/translator/ExtensionBehavior.h', |
| 43 | 'compiler/translator/FlagStd140Structs.cpp', |
| 44 | 'compiler/translator/FlagStd140Structs.h', |
| 45 | 'compiler/translator/ForLoopUnroll.cpp', |
| 46 | 'compiler/translator/ForLoopUnroll.h', |
| 47 | 'compiler/translator/HashNames.h', |
| 48 | 'compiler/translator/InfoSink.cpp', |
| 49 | 'compiler/translator/InfoSink.h', |
| 50 | 'compiler/translator/Initialize.cpp', |
| 51 | 'compiler/translator/Initialize.h', |
| 52 | 'compiler/translator/InitializeDll.cpp', |
| 53 | 'compiler/translator/InitializeDll.h', |
| 54 | 'compiler/translator/InitializeGlobals.h', |
| 55 | 'compiler/translator/InitializeParseContext.cpp', |
| 56 | 'compiler/translator/InitializeParseContext.h', |
| 57 | 'compiler/translator/InitializeVariables.cpp', |
| 58 | 'compiler/translator/InitializeVariables.h', |
Daniel Bratell | 73941de | 2015-02-25 14:34:49 +0100 | [diff] [blame] | 59 | 'compiler/translator/IntermNode.h', |
| 60 | 'compiler/translator/IntermNode.cpp', |
Brett Wilson | 04bac60 | 2014-07-16 14:19:18 -0700 | [diff] [blame] | 61 | 'compiler/translator/IntermTraverse.cpp', |
Jamie Madill | b1a85f4 | 2014-08-19 15:23:24 -0400 | [diff] [blame] | 62 | 'compiler/translator/Intermediate.h', |
Brett Wilson | 04bac60 | 2014-07-16 14:19:18 -0700 | [diff] [blame] | 63 | 'compiler/translator/Intermediate.cpp', |
| 64 | 'compiler/translator/LoopInfo.cpp', |
| 65 | 'compiler/translator/LoopInfo.h', |
| 66 | 'compiler/translator/MMap.h', |
| 67 | 'compiler/translator/NodeSearch.h', |
Olli Etuaho | 1033e1d | 2015-02-12 12:03:13 +0200 | [diff] [blame] | 68 | 'compiler/translator/Operator.cpp', |
| 69 | 'compiler/translator/Operator.h', |
Brett Wilson | 04bac60 | 2014-07-16 14:19:18 -0700 | [diff] [blame] | 70 | 'compiler/translator/OutputESSL.cpp', |
| 71 | 'compiler/translator/OutputESSL.h', |
| 72 | 'compiler/translator/OutputGLSL.cpp', |
| 73 | 'compiler/translator/OutputGLSL.h', |
| 74 | 'compiler/translator/OutputGLSLBase.cpp', |
| 75 | 'compiler/translator/OutputGLSLBase.h', |
Brett Wilson | 04bac60 | 2014-07-16 14:19:18 -0700 | [diff] [blame] | 76 | 'compiler/translator/ParseContext.cpp', |
| 77 | 'compiler/translator/ParseContext.h', |
| 78 | 'compiler/translator/PoolAlloc.cpp', |
| 79 | 'compiler/translator/PoolAlloc.h', |
| 80 | 'compiler/translator/Pragma.h', |
| 81 | 'compiler/translator/QualifierAlive.cpp', |
| 82 | 'compiler/translator/QualifierAlive.h', |
Zhenyao Mo | e740add | 2014-07-18 17:01:01 -0700 | [diff] [blame] | 83 | 'compiler/translator/RegenerateStructNames.cpp', |
| 84 | 'compiler/translator/RegenerateStructNames.h', |
Brett Wilson | 04bac60 | 2014-07-16 14:19:18 -0700 | [diff] [blame] | 85 | 'compiler/translator/RenameFunction.h', |
Brett Wilson | 04bac60 | 2014-07-16 14:19:18 -0700 | [diff] [blame] | 86 | 'compiler/translator/ScalarizeVecAndMatConstructorArgs.cpp', |
| 87 | 'compiler/translator/ScalarizeVecAndMatConstructorArgs.h', |
| 88 | 'compiler/translator/SearchSymbol.cpp', |
| 89 | 'compiler/translator/SearchSymbol.h', |
Brett Wilson | 04bac60 | 2014-07-16 14:19:18 -0700 | [diff] [blame] | 90 | 'compiler/translator/SymbolTable.cpp', |
| 91 | 'compiler/translator/SymbolTable.h', |
| 92 | 'compiler/translator/TranslatorESSL.cpp', |
| 93 | 'compiler/translator/TranslatorESSL.h', |
| 94 | 'compiler/translator/TranslatorGLSL.cpp', |
| 95 | 'compiler/translator/TranslatorGLSL.h', |
Brett Wilson | 04bac60 | 2014-07-16 14:19:18 -0700 | [diff] [blame] | 96 | 'compiler/translator/Types.cpp', |
| 97 | 'compiler/translator/Types.h', |
Brett Wilson | 04bac60 | 2014-07-16 14:19:18 -0700 | [diff] [blame] | 98 | 'compiler/translator/UnfoldShortCircuitAST.cpp', |
| 99 | 'compiler/translator/UnfoldShortCircuitAST.h', |
Brett Wilson | 04bac60 | 2014-07-16 14:19:18 -0700 | [diff] [blame] | 100 | 'compiler/translator/ValidateLimitations.cpp', |
| 101 | 'compiler/translator/ValidateLimitations.h', |
| 102 | 'compiler/translator/ValidateOutputs.cpp', |
| 103 | 'compiler/translator/ValidateOutputs.h', |
Olli Etuaho | ac5274d | 2015-02-20 10:19:08 +0200 | [diff] [blame] | 104 | 'compiler/translator/ValidateSwitch.cpp', |
| 105 | 'compiler/translator/ValidateSwitch.h', |
Brett Wilson | 04bac60 | 2014-07-16 14:19:18 -0700 | [diff] [blame] | 106 | 'compiler/translator/VariableInfo.cpp', |
| 107 | 'compiler/translator/VariableInfo.h', |
| 108 | 'compiler/translator/VariablePacker.cpp', |
| 109 | 'compiler/translator/VariablePacker.h', |
| 110 | 'compiler/translator/VersionGLSL.cpp', |
| 111 | 'compiler/translator/VersionGLSL.h', |
Jamie Madill | 9e0478f | 2015-01-13 11:13:54 -0500 | [diff] [blame] | 112 | 'compiler/translator/blocklayout.cpp', |
| 113 | 'compiler/translator/blocklayout.h', |
Brett Wilson | 04bac60 | 2014-07-16 14:19:18 -0700 | [diff] [blame] | 114 | 'compiler/translator/compilerdebug.cpp', |
| 115 | 'compiler/translator/compilerdebug.h', |
| 116 | 'compiler/translator/depgraph/DependencyGraph.cpp', |
| 117 | 'compiler/translator/depgraph/DependencyGraph.h', |
| 118 | 'compiler/translator/depgraph/DependencyGraphBuilder.cpp', |
| 119 | 'compiler/translator/depgraph/DependencyGraphBuilder.h', |
| 120 | 'compiler/translator/depgraph/DependencyGraphOutput.cpp', |
| 121 | 'compiler/translator/depgraph/DependencyGraphOutput.h', |
| 122 | 'compiler/translator/depgraph/DependencyGraphTraverse.cpp', |
| 123 | 'compiler/translator/glslang.h', |
| 124 | 'compiler/translator/glslang.l', |
| 125 | 'compiler/translator/glslang.y', |
| 126 | 'compiler/translator/glslang_lex.cpp', |
| 127 | 'compiler/translator/glslang_tab.cpp', |
| 128 | 'compiler/translator/glslang_tab.h', |
| 129 | 'compiler/translator/intermOut.cpp', |
| 130 | 'compiler/translator/intermediate.h', |
| 131 | 'compiler/translator/length_limits.h', |
Brett Wilson | 04bac60 | 2014-07-16 14:19:18 -0700 | [diff] [blame] | 132 | 'compiler/translator/parseConst.cpp', |
| 133 | 'compiler/translator/timing/RestrictFragmentShaderTiming.cpp', |
| 134 | 'compiler/translator/timing/RestrictFragmentShaderTiming.h', |
| 135 | 'compiler/translator/timing/RestrictVertexShaderTiming.cpp', |
| 136 | 'compiler/translator/timing/RestrictVertexShaderTiming.h', |
| 137 | 'compiler/translator/util.cpp', |
| 138 | 'compiler/translator/util.h', |
| 139 | 'third_party/compiler/ArrayBoundsClamper.cpp', |
| 140 | 'third_party/compiler/ArrayBoundsClamper.h', |
| 141 | ], |
Daniel Bratell | 73941de | 2015-02-25 14:34:49 +0100 | [diff] [blame] | 142 | 'angle_translator_lib_hlsl_sources': |
| 143 | [ |
Corentin Wallez | f4eab3b | 2015-03-18 12:55:45 -0700 | [diff] [blame] | 144 | 'compiler/translator/ASTMetadataHLSL.cpp', |
| 145 | 'compiler/translator/ASTMetadataHLSL.h', |
Daniel Bratell | 73941de | 2015-02-25 14:34:49 +0100 | [diff] [blame] | 146 | 'compiler/translator/blocklayoutHLSL.cpp', |
| 147 | 'compiler/translator/blocklayoutHLSL.h', |
| 148 | 'compiler/translator/BuiltInFunctionEmulatorHLSL.cpp', |
| 149 | 'compiler/translator/BuiltInFunctionEmulatorHLSL.h', |
Daniel Bratell | 73941de | 2015-02-25 14:34:49 +0100 | [diff] [blame] | 150 | 'compiler/translator/OutputHLSL.cpp', |
| 151 | 'compiler/translator/OutputHLSL.h', |
Olli Etuaho | 2cd7a0e | 2015-02-27 13:57:32 +0200 | [diff] [blame] | 152 | 'compiler/translator/RemoveSwitchFallThrough.cpp', |
| 153 | 'compiler/translator/RemoveSwitchFallThrough.h', |
Daniel Bratell | 73941de | 2015-02-25 14:34:49 +0100 | [diff] [blame] | 154 | 'compiler/translator/RewriteElseBlocks.cpp', |
| 155 | 'compiler/translator/RewriteElseBlocks.h', |
Olli Etuaho | fc0e2bc | 2015-04-16 13:39:56 +0300 | [diff] [blame^] | 156 | 'compiler/translator/SeparateDeclarations.cpp', |
| 157 | 'compiler/translator/SeparateDeclarations.h', |
Olli Etuaho | b2d6a9b | 2015-03-30 16:00:53 +0300 | [diff] [blame] | 158 | 'compiler/translator/SimplifyArrayAssignment.cpp', |
| 159 | 'compiler/translator/SimplifyArrayAssignment.h', |
Daniel Bratell | 73941de | 2015-02-25 14:34:49 +0100 | [diff] [blame] | 160 | 'compiler/translator/StructureHLSL.cpp', |
| 161 | 'compiler/translator/StructureHLSL.h', |
| 162 | 'compiler/translator/TranslatorHLSL.cpp', |
| 163 | 'compiler/translator/TranslatorHLSL.h', |
| 164 | 'compiler/translator/UnfoldShortCircuit.cpp', |
| 165 | 'compiler/translator/UnfoldShortCircuit.h', |
| 166 | 'compiler/translator/UniformHLSL.cpp', |
| 167 | 'compiler/translator/UniformHLSL.h', |
| 168 | 'compiler/translator/UtilsHLSL.cpp', |
| 169 | 'compiler/translator/UtilsHLSL.h', |
| 170 | ], |
Brett Wilson | 04bac60 | 2014-07-16 14:19:18 -0700 | [diff] [blame] | 171 | 'angle_preprocessor_sources': |
| 172 | [ |
| 173 | 'compiler/preprocessor/DiagnosticsBase.cpp', |
| 174 | 'compiler/preprocessor/DiagnosticsBase.h', |
| 175 | 'compiler/preprocessor/DirectiveHandlerBase.cpp', |
| 176 | 'compiler/preprocessor/DirectiveHandlerBase.h', |
| 177 | 'compiler/preprocessor/DirectiveParser.cpp', |
| 178 | 'compiler/preprocessor/DirectiveParser.h', |
| 179 | 'compiler/preprocessor/ExpressionParser.cpp', |
| 180 | 'compiler/preprocessor/ExpressionParser.h', |
| 181 | 'compiler/preprocessor/ExpressionParser.y', |
| 182 | 'compiler/preprocessor/Input.cpp', |
| 183 | 'compiler/preprocessor/Input.h', |
| 184 | 'compiler/preprocessor/Lexer.cpp', |
| 185 | 'compiler/preprocessor/Lexer.h', |
| 186 | 'compiler/preprocessor/Macro.cpp', |
| 187 | 'compiler/preprocessor/Macro.h', |
| 188 | 'compiler/preprocessor/MacroExpander.cpp', |
| 189 | 'compiler/preprocessor/MacroExpander.h', |
| 190 | 'compiler/preprocessor/Preprocessor.cpp', |
| 191 | 'compiler/preprocessor/Preprocessor.h', |
| 192 | 'compiler/preprocessor/SourceLocation.h', |
| 193 | 'compiler/preprocessor/Token.cpp', |
| 194 | 'compiler/preprocessor/Token.h', |
| 195 | 'compiler/preprocessor/Tokenizer.cpp', |
| 196 | 'compiler/preprocessor/Tokenizer.h', |
| 197 | 'compiler/preprocessor/Tokenizer.l', |
| 198 | 'compiler/preprocessor/numeric_lex.h', |
| 199 | 'compiler/preprocessor/pp_utils.h', |
| 200 | ], |
| 201 | }, |
| 202 | # Everything below this is duplicated in the GN build. If you change |
| 203 | # anything also change angle/BUILD.gn |
Geoff Lang | 1773282 | 2013-08-29 13:46:49 -0400 | [diff] [blame] | 204 | 'targets': |
| 205 | [ |
| 206 | { |
| 207 | 'target_name': 'preprocessor', |
| 208 | 'type': 'static_library', |
Geoff Lang | d095bda | 2014-04-07 14:21:14 -0400 | [diff] [blame] | 209 | 'includes': [ '../build/common_defines.gypi', ], |
Brett Wilson | 04bac60 | 2014-07-16 14:19:18 -0700 | [diff] [blame] | 210 | 'sources': [ '<@(angle_preprocessor_sources)', ], |
Cooper Partin | 88d3b8c | 2014-10-08 10:41:56 -0700 | [diff] [blame] | 211 | 'conditions': |
| 212 | [ |
| 213 | ['angle_build_winrt==1', |
| 214 | { |
| 215 | 'msvs_enable_winrt' : '1', |
| 216 | }], |
| 217 | ['angle_build_winphone==1', |
| 218 | { |
| 219 | 'msvs_enable_winphone' : '1', |
| 220 | }], |
| 221 | ], |
Geoff Lang | 1773282 | 2013-08-29 13:46:49 -0400 | [diff] [blame] | 222 | }, |
Geoff Lang | 1773282 | 2013-08-29 13:46:49 -0400 | [diff] [blame] | 223 | { |
Jamie Madill | 006ed1e | 2014-04-28 15:47:39 -0400 | [diff] [blame] | 224 | 'target_name': 'translator_lib', |
| 225 | 'type': 'static_library', |
Jamie Madill | 562e81b | 2015-01-14 14:31:02 -0500 | [diff] [blame] | 226 | 'dependencies': [ 'preprocessor', 'angle_common' ], |
Jamie Madill | 8cc03bf | 2014-04-11 13:33:57 -0400 | [diff] [blame] | 227 | 'includes': [ '../build/common_defines.gypi', ], |
| 228 | 'include_dirs': |
| 229 | [ |
| 230 | '.', |
| 231 | '../include', |
| 232 | ], |
Jamie Madill | a2ad4e8 | 2014-07-17 14:16:32 -0400 | [diff] [blame] | 233 | 'defines': |
| 234 | [ |
| 235 | # define the static translator to indicate exported |
| 236 | # classes are (in fact) locally defined |
| 237 | 'ANGLE_TRANSLATOR_STATIC', |
| 238 | ], |
Jamie Madill | 8cc03bf | 2014-04-11 13:33:57 -0400 | [diff] [blame] | 239 | 'sources': |
| 240 | [ |
Brett Wilson | 04bac60 | 2014-07-16 14:19:18 -0700 | [diff] [blame] | 241 | '<@(angle_translator_lib_sources)', |
Jamie Madill | 8cc03bf | 2014-04-11 13:33:57 -0400 | [diff] [blame] | 242 | ], |
Jamie Madill | 8cc03bf | 2014-04-11 13:33:57 -0400 | [diff] [blame] | 243 | 'msvs_settings': |
| 244 | { |
| 245 | 'VCLibrarianTool': |
| 246 | { |
| 247 | 'AdditionalOptions': ['/ignore:4221'] |
| 248 | }, |
| 249 | }, |
Cooper Partin | 88d3b8c | 2014-10-08 10:41:56 -0700 | [diff] [blame] | 250 | 'conditions': |
| 251 | [ |
| 252 | ['angle_build_winrt==1', |
| 253 | { |
| 254 | 'msvs_enable_winrt' : '1', |
| 255 | }], |
| 256 | ['angle_build_winphone==1', |
| 257 | { |
| 258 | 'msvs_enable_winphone' : '1', |
| 259 | }], |
Daniel Bratell | 73941de | 2015-02-25 14:34:49 +0100 | [diff] [blame] | 260 | ['angle_enable_hlsl==1', |
| 261 | { |
| 262 | 'defines': |
| 263 | [ |
| 264 | 'ANGLE_ENABLE_HLSL', |
| 265 | ], |
| 266 | 'direct_dependent_settings': |
| 267 | { |
| 268 | 'defines': |
| 269 | [ |
| 270 | 'ANGLE_ENABLE_HLSL', |
| 271 | ], |
| 272 | }, |
| 273 | 'sources': |
| 274 | [ |
| 275 | '<@(angle_translator_lib_hlsl_sources)', |
| 276 | ], |
| 277 | }], |
Cooper Partin | 88d3b8c | 2014-10-08 10:41:56 -0700 | [diff] [blame] | 278 | ], |
Jamie Madill | 8cc03bf | 2014-04-11 13:33:57 -0400 | [diff] [blame] | 279 | }, |
Geoff Lang | 2b6008c | 2013-10-08 10:44:05 -0400 | [diff] [blame] | 280 | |
Jamie Madill | 8cc03bf | 2014-04-11 13:33:57 -0400 | [diff] [blame] | 281 | { |
Jamie Madill | 006ed1e | 2014-04-28 15:47:39 -0400 | [diff] [blame] | 282 | 'target_name': 'translator', |
| 283 | 'type': '<(component)', |
Jamie Madill | 562e81b | 2015-01-14 14:31:02 -0500 | [diff] [blame] | 284 | 'dependencies': [ 'translator_lib', 'angle_common' ], |
Jamie Madill | 006ed1e | 2014-04-28 15:47:39 -0400 | [diff] [blame] | 285 | 'includes': [ '../build/common_defines.gypi', ], |
| 286 | 'include_dirs': |
| 287 | [ |
| 288 | '.', |
| 289 | '../include', |
| 290 | ], |
| 291 | 'defines': |
| 292 | [ |
| 293 | 'ANGLE_TRANSLATOR_IMPLEMENTATION', |
| 294 | ], |
| 295 | 'sources': |
| 296 | [ |
Jamie Madill | a2ad4e8 | 2014-07-17 14:16:32 -0400 | [diff] [blame] | 297 | 'compiler/translator/ShaderLang.cpp', |
| 298 | 'compiler/translator/ShaderVars.cpp' |
Jamie Madill | 006ed1e | 2014-04-28 15:47:39 -0400 | [diff] [blame] | 299 | ], |
Cooper Partin | 88d3b8c | 2014-10-08 10:41:56 -0700 | [diff] [blame] | 300 | 'conditions': |
| 301 | [ |
| 302 | ['angle_build_winrt==1', |
| 303 | { |
| 304 | 'msvs_enable_winrt' : '1', |
| 305 | }], |
| 306 | ['angle_build_winphone==1', |
| 307 | { |
| 308 | 'msvs_enable_winphone' : '1', |
| 309 | }], |
| 310 | ], |
Jamie Madill | 006ed1e | 2014-04-28 15:47:39 -0400 | [diff] [blame] | 311 | }, |
| 312 | |
| 313 | { |
Jamie Madill | 8cc03bf | 2014-04-11 13:33:57 -0400 | [diff] [blame] | 314 | 'target_name': 'translator_static', |
| 315 | 'type': 'static_library', |
Jamie Madill | 006ed1e | 2014-04-28 15:47:39 -0400 | [diff] [blame] | 316 | 'dependencies': [ 'translator_lib' ], |
Jamie Madill | 8cc03bf | 2014-04-11 13:33:57 -0400 | [diff] [blame] | 317 | 'includes': [ '../build/common_defines.gypi', ], |
| 318 | 'include_dirs': |
| 319 | [ |
| 320 | '.', |
| 321 | '../include', |
| 322 | ], |
Geoff Lang | 1773282 | 2013-08-29 13:46:49 -0400 | [diff] [blame] | 323 | 'defines': |
| 324 | [ |
Geoff Lang | 31f0dc0 | 2013-10-08 13:29:13 -0400 | [diff] [blame] | 325 | 'ANGLE_TRANSLATOR_STATIC', |
Geoff Lang | 1773282 | 2013-08-29 13:46:49 -0400 | [diff] [blame] | 326 | ], |
Geoff Lang | 2b6008c | 2013-10-08 10:44:05 -0400 | [diff] [blame] | 327 | 'direct_dependent_settings': |
| 328 | { |
| 329 | 'defines': |
| 330 | [ |
| 331 | 'ANGLE_TRANSLATOR_STATIC', |
| 332 | ], |
| 333 | }, |
Jamie Madill | d51df46 | 2014-02-26 14:18:17 -0500 | [diff] [blame] | 334 | 'sources': |
| 335 | [ |
Jamie Madill | a2ad4e8 | 2014-07-17 14:16:32 -0400 | [diff] [blame] | 336 | 'compiler/translator/ShaderLang.cpp', |
| 337 | 'compiler/translator/ShaderVars.cpp' |
Jamie Madill | d51df46 | 2014-02-26 14:18:17 -0500 | [diff] [blame] | 338 | ], |
Cooper Partin | 88d3b8c | 2014-10-08 10:41:56 -0700 | [diff] [blame] | 339 | 'conditions': |
| 340 | [ |
| 341 | ['angle_build_winrt==1', |
| 342 | { |
| 343 | 'msvs_enable_winrt' : '1', |
| 344 | }], |
| 345 | ['angle_build_winphone==1', |
| 346 | { |
| 347 | 'msvs_enable_winphone' : '1', |
| 348 | }], |
| 349 | ], |
Geoff Lang | 1773282 | 2013-08-29 13:46:49 -0400 | [diff] [blame] | 350 | }, |
| 351 | ], |
| 352 | } |