gecko-dev/gfx/angle/targets/translator/moz.build

239 строки
11 KiB
Plaintext

# Generated by update-angle.py
include('../../moz.build.common')
DEFINES['ANGLE_ENABLE_ESSL'] = True
DEFINES['ANGLE_ENABLE_GLSL'] = True
DEFINES['ANGLE_ENABLE_HLSL'] = True
#DEFINES['ANGLE_IS_64_BIT_CPU'] = True
#DEFINES['CERT_CHAIN_PARA_HAS_EXTRA_FIELDS'] = True
#DEFINES['CHROMIUM_BUILD'] = True
#DEFINES['COMPONENT_BUILD'] = True
DEFINES['DYNAMIC_ANNOTATIONS_ENABLED'] = '1'
DEFINES['EGL_EGLEXT_PROTOTYPES'] = True
#DEFINES['FIELDTRIAL_TESTING_ENABLED'] = True
#DEFINES['FULL_SAFE_BROWSING'] = True
DEFINES['GL_GLEXT_PROTOTYPES'] = True
DEFINES['NOMINMAX'] = True
#DEFINES['NO_TCMALLOC'] = True
DEFINES['NTDDI_VERSION'] = '0x0A000002'
#DEFINES['PSAPI_VERSION'] = '1'
#DEFINES['SAFE_BROWSING_CSD'] = True
#DEFINES['SAFE_BROWSING_DB_LOCAL'] = True
DEFINES['UNICODE'] = True
#DEFINES['USE_AURA'] = '1'
#DEFINES['V8_DEPRECATION_WARNINGS'] = True
#DEFINES['WIN32'] = True
#DEFINES['WIN32_LEAN_AND_MEAN'] = True
#DEFINES['WINAPI_FAMILY'] = 'WINAPI_FAMILY_DESKTOP_APP'
#DEFINES['WINVER'] = '0x0A00'
#DEFINES['WTF_USE_DYNAMIC_ANNOTATIONS'] = '1'
DEFINES['_ATL_NO_OPENGL'] = True
DEFINES['_CRT_RAND_S'] = True
DEFINES['_CRT_SECURE_NO_DEPRECATE'] = True
#DEFINES['_DEBUG'] = True
DEFINES['_HAS_EXCEPTIONS'] = '0'
DEFINES['_SCL_SECURE_NO_DEPRECATE'] = True
DEFINES['_SECURE_ATL'] = True
DEFINES['_UNICODE'] = True
#DEFINES['_USING_V110_SDK71_'] = True
#DEFINES['_WIN32_WINNT'] = '0x0A00'
#DEFINES['_WINDOWS'] = True
#DEFINES['__STD_C'] = True
LOCAL_INCLUDES += [
'../../checkout/include/',
'../../checkout/out/gen/angle/',
'../../checkout/src/',
'../../checkout/src/common/third_party/base/',
]
#CXXFLAGS += [
# '/bigobj',
# '/d2FastFail',
# '/D__DATE__=',
# '/D__TIME__=',
# '/D__TIMESTAMP__=',
# '/FS',
# '/GF',
# '/GR-',
# '/Gy',
# '/MDd',
# '/Ob0',
# '/Od',
# '/TP',
# '/utf-8',
# '/W4',
# '/wd4091',
# '/wd4100',
# '/wd4117',
# '/wd4121',
# '/wd4127',
# '/wd4244',
# '/wd4251',
# '/wd4275',
# '/wd4312',
# '/wd4324',
# '/wd4351',
# '/wd4355',
# '/wd4456',
# '/wd4457',
# '/wd4458',
# '/wd4459',
# '/wd4503',
# '/wd4505',
# '/wd4510',
# '/wd4512',
# '/wd4577',
# '/wd4589',
# '/wd4610',
# '/wd4611',
# '/wd4702',
# '/wd4718',
# '/wd4838',
# '/wd4995',
# '/wd4996',
# '/we4244',
# '/we4456',
# '/we4458',
# '/we4800',
# '/we4838',
# '/WX',
# '/Zc:sizedDealloc-',
# '/Zi',
#]
SOURCES += [
'../../checkout/src/compiler/translator/ASTMetadataHLSL.cpp',
'../../checkout/src/compiler/translator/blocklayout.cpp',
'../../checkout/src/compiler/translator/blocklayoutHLSL.cpp',
'../../checkout/src/compiler/translator/BuiltInFunctionEmulator.cpp',
'../../checkout/src/compiler/translator/BuiltInFunctionEmulatorGLSL.cpp',
'../../checkout/src/compiler/translator/BuiltInFunctionEmulatorHLSL.cpp',
'../../checkout/src/compiler/translator/CallDAG.cpp',
'../../checkout/src/compiler/translator/CodeGen.cpp',
'../../checkout/src/compiler/translator/CollectVariables.cpp',
'../../checkout/src/compiler/translator/Compiler.cpp',
'../../checkout/src/compiler/translator/ConstantUnion.cpp',
'../../checkout/src/compiler/translator/Declarator.cpp',
'../../checkout/src/compiler/translator/Diagnostics.cpp',
'../../checkout/src/compiler/translator/DirectiveHandler.cpp',
'../../checkout/src/compiler/translator/emulated_builtin_functions_hlsl_autogen.cpp',
'../../checkout/src/compiler/translator/ExtensionBehavior.cpp',
'../../checkout/src/compiler/translator/ExtensionGLSL.cpp',
'../../checkout/src/compiler/translator/FlagStd140Structs.cpp',
'../../checkout/src/compiler/translator/FunctionLookup.cpp',
'../../checkout/src/compiler/translator/glslang_lex.cpp',
'../../checkout/src/compiler/translator/glslang_tab.cpp',
'../../checkout/src/compiler/translator/HashNames.cpp',
'../../checkout/src/compiler/translator/ImageFunctionHLSL.cpp',
'../../checkout/src/compiler/translator/ImmutableString.cpp',
'../../checkout/src/compiler/translator/ImmutableStringBuilder.cpp',
'../../checkout/src/compiler/translator/InfoSink.cpp',
'../../checkout/src/compiler/translator/Initialize.cpp',
'../../checkout/src/compiler/translator/InitializeDll.cpp',
'../../checkout/src/compiler/translator/IntermNode.cpp',
'../../checkout/src/compiler/translator/IsASTDepthBelowLimit.cpp',
'../../checkout/src/compiler/translator/Operator.cpp',
'../../checkout/src/compiler/translator/OutputESSL.cpp',
'../../checkout/src/compiler/translator/OutputGLSL.cpp',
'../../checkout/src/compiler/translator/OutputGLSLBase.cpp',
'../../checkout/src/compiler/translator/OutputHLSL.cpp',
'../../checkout/src/compiler/translator/OutputTree.cpp',
'../../checkout/src/compiler/translator/ParseContext.cpp',
'../../checkout/src/compiler/translator/PoolAlloc.cpp',
'../../checkout/src/compiler/translator/QualifierTypes.cpp',
'../../checkout/src/compiler/translator/ResourcesHLSL.cpp',
'../../checkout/src/compiler/translator/ShaderLang.cpp',
'../../checkout/src/compiler/translator/ShaderVars.cpp',
'../../checkout/src/compiler/translator/StructureHLSL.cpp',
'../../checkout/src/compiler/translator/Symbol.cpp',
'../../checkout/src/compiler/translator/SymbolTable.cpp',
'../../checkout/src/compiler/translator/SymbolTable_autogen.cpp',
'../../checkout/src/compiler/translator/SymbolUniqueId.cpp',
'../../checkout/src/compiler/translator/TextureFunctionHLSL.cpp',
'../../checkout/src/compiler/translator/TranslatorESSL.cpp',
'../../checkout/src/compiler/translator/TranslatorGLSL.cpp',
'../../checkout/src/compiler/translator/TranslatorHLSL.cpp',
'../../checkout/src/compiler/translator/tree_ops/AddAndTrueToLoopCondition.cpp',
'../../checkout/src/compiler/translator/tree_ops/AddDefaultReturnStatements.cpp',
'../../checkout/src/compiler/translator/tree_ops/ArrayReturnValueToOutParameter.cpp',
'../../checkout/src/compiler/translator/tree_ops/BreakVariableAliasingInInnerLoops.cpp',
'../../checkout/src/compiler/translator/tree_ops/ClampFragDepth.cpp',
'../../checkout/src/compiler/translator/tree_ops/ClampPointSize.cpp',
'../../checkout/src/compiler/translator/tree_ops/DeclareAndInitBuiltinsForInstancedMultiview.cpp',
'../../checkout/src/compiler/translator/tree_ops/DeferGlobalInitializers.cpp',
'../../checkout/src/compiler/translator/tree_ops/EmulateGLFragColorBroadcast.cpp',
'../../checkout/src/compiler/translator/tree_ops/EmulatePrecision.cpp',
'../../checkout/src/compiler/translator/tree_ops/ExpandIntegerPowExpressions.cpp',
'../../checkout/src/compiler/translator/tree_ops/FoldExpressions.cpp',
'../../checkout/src/compiler/translator/tree_ops/InitializeVariables.cpp',
'../../checkout/src/compiler/translator/tree_ops/NameEmbeddedUniformStructs.cpp',
'../../checkout/src/compiler/translator/tree_ops/PruneEmptyCases.cpp',
'../../checkout/src/compiler/translator/tree_ops/PruneNoOps.cpp',
'../../checkout/src/compiler/translator/tree_ops/RecordConstantPrecision.cpp',
'../../checkout/src/compiler/translator/tree_ops/RegenerateStructNames.cpp',
'../../checkout/src/compiler/translator/tree_ops/RemoveArrayLengthMethod.cpp',
'../../checkout/src/compiler/translator/tree_ops/RemoveDynamicIndexing.cpp',
'../../checkout/src/compiler/translator/tree_ops/RemoveInvariantDeclaration.cpp',
'../../checkout/src/compiler/translator/tree_ops/RemovePow.cpp',
'../../checkout/src/compiler/translator/tree_ops/RemoveSwitchFallThrough.cpp',
'../../checkout/src/compiler/translator/tree_ops/RemoveUnreferencedVariables.cpp',
'../../checkout/src/compiler/translator/tree_ops/RewriteAtomicFunctionExpressions.cpp',
'../../checkout/src/compiler/translator/tree_ops/RewriteDoWhile.cpp',
'../../checkout/src/compiler/translator/tree_ops/RewriteElseBlocks.cpp',
'../../checkout/src/compiler/translator/tree_ops/RewriteRepeatedAssignToSwizzled.cpp',
'../../checkout/src/compiler/translator/tree_ops/RewriteStructSamplers.cpp',
'../../checkout/src/compiler/translator/tree_ops/RewriteTexelFetchOffset.cpp',
'../../checkout/src/compiler/translator/tree_ops/RewriteUnaryMinusOperatorFloat.cpp',
'../../checkout/src/compiler/translator/tree_ops/RewriteUnaryMinusOperatorInt.cpp',
'../../checkout/src/compiler/translator/tree_ops/ScalarizeVecAndMatConstructorArgs.cpp',
'../../checkout/src/compiler/translator/tree_ops/SeparateArrayConstructorStatements.cpp',
'../../checkout/src/compiler/translator/tree_ops/SeparateArrayInitialization.cpp',
'../../checkout/src/compiler/translator/tree_ops/SeparateDeclarations.cpp',
'../../checkout/src/compiler/translator/tree_ops/SeparateExpressionsReturningArrays.cpp',
'../../checkout/src/compiler/translator/tree_ops/SimplifyLoopConditions.cpp',
'../../checkout/src/compiler/translator/tree_ops/SplitSequenceOperator.cpp',
'../../checkout/src/compiler/translator/tree_ops/UnfoldShortCircuitAST.cpp',
'../../checkout/src/compiler/translator/tree_ops/UnfoldShortCircuitToIf.cpp',
'../../checkout/src/compiler/translator/tree_ops/UseInterfaceBlockFields.cpp',
'../../checkout/src/compiler/translator/tree_ops/VectorizeVectorScalarArithmetic.cpp',
'../../checkout/src/compiler/translator/tree_ops/WrapSwitchStatementsInBlocks.cpp',
'../../checkout/src/compiler/translator/tree_util/FindMain.cpp',
'../../checkout/src/compiler/translator/tree_util/FindSymbolNode.cpp',
'../../checkout/src/compiler/translator/tree_util/IntermNode_util.cpp',
'../../checkout/src/compiler/translator/tree_util/IntermNodePatternMatcher.cpp',
'../../checkout/src/compiler/translator/tree_util/IntermTraverse.cpp',
'../../checkout/src/compiler/translator/tree_util/ReplaceVariable.cpp',
'../../checkout/src/compiler/translator/tree_util/RunAtTheEndOfShader.cpp',
'../../checkout/src/compiler/translator/Types.cpp',
'../../checkout/src/compiler/translator/util.cpp',
'../../checkout/src/compiler/translator/UtilsHLSL.cpp',
'../../checkout/src/compiler/translator/ValidateGlobalInitializer.cpp',
'../../checkout/src/compiler/translator/ValidateLimitations.cpp',
'../../checkout/src/compiler/translator/ValidateMaxParameters.cpp',
'../../checkout/src/compiler/translator/ValidateOutputs.cpp',
'../../checkout/src/compiler/translator/ValidateSwitch.cpp',
'../../checkout/src/compiler/translator/ValidateVaryingLocations.cpp',
'../../checkout/src/compiler/translator/VariablePacker.cpp',
'../../checkout/src/compiler/translator/VersionGLSL.cpp',
'../../checkout/src/third_party/compiler/ArrayBoundsClamper.cpp',
]
USE_LIBS += [
'angle_common',
'preprocessor',
]
DIRS += [
'../angle_common',
'../preprocessor',
]
#LDFLAGS += [
# '/DEBUG',
# '/WX',
#]
Library('translator')