Shader translator needs option to clamp uniform array accesses in vertex shaders
[WebKit-https.git] / Source / ThirdParty / ANGLE / Target.pri
1 # -------------------------------------------------------------------
2 # Target file for the ANGLE static library
3 #
4 # See 'Tools/qmake/README' for an overview of the build system
5 # -------------------------------------------------------------------
6
7 TEMPLATE = lib
8 TARGET = ANGLE
9
10 include(ANGLE.pri)
11
12 CONFIG += staticlib
13
14 INCLUDEPATH += \
15     $$SOURCE_DIR/src \
16     $$SOURCE_DIR/src/compiler/preprocessor/new \
17     $$SOURCE_DIR/include
18
19 HEADERS += \
20     src/compiler/ArrayBoundsClamper.h \
21     src/compiler/BaseTypes.h \
22     src/compiler/BuiltInFunctionEmulator.h \
23     src/compiler/Common.h \
24     src/compiler/ConstantUnion.h \
25     src/compiler/debug.h \
26     src/compiler/depgraph/DependencyGraph.h \
27     src/compiler/depgraph/DependencyGraphBuilder.h \
28     src/compiler/depgraph/DependencyGraphOutput.h \
29     src/compiler/DetectDiscontinuity.h \
30     src/compiler/DetectRecursion.h \
31     src/compiler/Diagnostics.h \
32     src/compiler/DirectiveHandler.h \
33     src/compiler/ExtensionBehavior.h \
34     src/compiler/ForLoopUnroll.h \
35     src/compiler/glslang.h \
36     src/compiler/InfoSink.h \
37     src/compiler/InitializeDll.h \
38     src/compiler/InitializeGlobals.h \
39     src/compiler/Initialize.h \
40     src/compiler/InitializeParseContext.h \
41     src/compiler/intermediate.h \
42     src/compiler/localintermediate.h \
43     src/compiler/MMap.h \
44     src/compiler/MapLongVariableNames.h \
45     src/compiler/osinclude.h \
46     src/compiler/Pragma.h \
47     src/compiler/preprocessor/atom.h \
48     src/compiler/preprocessor/compile.h \
49     src/compiler/preprocessor/cpp.h \
50     src/compiler/preprocessor/length_limits.h \
51     src/compiler/preprocessor/memory.h \
52     src/compiler/preprocessor/new/Diagnostics.h \
53     src/compiler/preprocessor/new/DirectiveHandler.h \
54     src/compiler/preprocessor/new/DirectiveParser.h \
55     src/compiler/preprocessor/new/Input.h \
56     src/compiler/preprocessor/new/Lexer.h \
57     src/compiler/preprocessor/new/Macro.h \
58     src/compiler/preprocessor/new/MacroExpander.h \
59     src/compiler/preprocessor/new/Preprocessor.h \
60     src/compiler/preprocessor/new/SourceLocation.h \
61     src/compiler/preprocessor/new/Token.h \
62     src/compiler/preprocessor/new/Tokenizer.h \
63     src/compiler/preprocessor/parser.h \
64     src/compiler/preprocessor/preprocess.h \
65     src/compiler/preprocessor/scanner.h \
66     src/compiler/preprocessor/slglobals.h \
67     src/compiler/preprocessor/symbols.h \
68     src/compiler/preprocessor/tokens.h \
69     src/compiler/OutputESSL.h \
70     src/compiler/OutputGLSL.h \
71     src/compiler/OutputGLSLBase.h \
72     src/compiler/OutputHLSL.h \
73     src/compiler/ParseHelper.h \
74     src/compiler/PoolAlloc.h \
75     src/compiler/QualifierAlive.h \
76     src/compiler/RemoveTree.h \
77     src/compiler/RenameFunction.h \
78     src/compiler/SearchSymbol.h \
79     src/compiler/ShHandle.h \
80     src/compiler/SymbolTable.h \
81     src/compiler/timing/RestrictFragmentShaderTiming.h \
82     src/compiler/timing/RestrictVertexShaderTiming.h \
83     src/compiler/TranslatorESSL.h \
84     src/compiler/TranslatorGLSL.h \
85     src/compiler/TranslatorHLSL.h \
86     src/compiler/Types.h \
87     src/compiler/UnfoldShortCircuit.h \
88     src/compiler/util.h \
89     src/compiler/ValidateLimitations.h \
90     src/compiler/VariableInfo.h \
91     src/compiler/VersionGLSL.h
92
93 SOURCES += \
94     src/compiler/ArrayBoundsClamper.cpp \
95     src/compiler/BuiltInFunctionEmulator.cpp \
96     src/compiler/CodeGenGLSL.cpp \
97     src/compiler/Compiler.cpp \
98     src/compiler/debug.cpp \
99     src/compiler/depgraph/DependencyGraph.cpp \
100     src/compiler/depgraph/DependencyGraphBuilder.cpp \
101     src/compiler/depgraph/DependencyGraphOutput.cpp \
102     src/compiler/depgraph/DependencyGraphTraverse.cpp \
103     src/compiler/DetectDiscontinuity.cpp \
104     src/compiler/DetectRecursion.cpp \
105     src/compiler/Diagnostics.cpp \
106     src/compiler/DirectiveHandler.cpp \
107     src/compiler/ForLoopUnroll.cpp \
108     src/compiler/InfoSink.cpp \
109     src/compiler/Initialize.cpp \
110     src/compiler/InitializeDll.cpp \
111     src/compiler/InitializeParseContext.cpp \
112     src/compiler/Intermediate.cpp \
113     src/compiler/intermOut.cpp \
114     src/compiler/IntermTraverse.cpp \
115     src/compiler/MapLongVariableNames.cpp \
116     src/compiler/OutputESSL.cpp \
117     src/compiler/OutputGLSL.cpp \
118     src/compiler/OutputGLSLBase.cpp \
119     src/compiler/OutputHLSL.cpp \
120     src/compiler/parseConst.cpp \
121     src/compiler/ParseHelper.cpp \
122     src/compiler/PoolAlloc.cpp \
123     src/compiler/QualifierAlive.cpp \
124     src/compiler/RemoveTree.cpp \
125     src/compiler/SearchSymbol.cpp \
126     src/compiler/ShaderLang.cpp \
127     src/compiler/SymbolTable.cpp \
128     src/compiler/timing/RestrictFragmentShaderTiming.cpp \
129     src/compiler/timing/RestrictVertexShaderTiming.cpp \
130     src/compiler/TranslatorESSL.cpp \
131     src/compiler/TranslatorGLSL.cpp \
132     src/compiler/TranslatorHLSL.cpp \
133     src/compiler/UnfoldShortCircuit.cpp \
134     src/compiler/util.cpp \
135     src/compiler/ValidateLimitations.cpp \
136     src/compiler/VariableInfo.cpp \
137     src/compiler/VersionGLSL.cpp \
138     src/compiler/preprocessor/atom.c \
139     src/compiler/preprocessor/cpp.c \
140     src/compiler/preprocessor/cppstruct.c \
141     src/compiler/preprocessor/memory.c \
142     src/compiler/preprocessor/new/DiagnosticsBase.cpp \
143     src/compiler/preprocessor/new/DirectiveHandlerBase.cpp \
144     src/compiler/preprocessor/new/DirectiveParser.cpp \
145     src/compiler/preprocessor/new/Input.cpp \
146     src/compiler/preprocessor/new/Lexer.cpp \
147     src/compiler/preprocessor/new/Macro.cpp \
148     src/compiler/preprocessor/new/MacroExpander.cpp \
149     src/compiler/preprocessor/new/Preprocessor.cpp \
150     src/compiler/preprocessor/new/Token.cpp \
151     src/compiler/preprocessor/scanner.c \
152     src/compiler/preprocessor/symbols.c \
153     src/compiler/preprocessor/tokens.c
154
155 win32: SOURCES += src/compiler/ossource_win.cpp
156 else: SOURCES += src/compiler/ossource_posix.cpp
157
158 # Make sure the derived sources are built
159 include(DerivedSources.pri)
160
161 *g++* {
162     QMAKE_CXXFLAGS += -Wno-unused-variable -Wno-missing-noreturn -Wno-unused-function -Wno-reorder -Wno-error -Wno-unknown-pragmas -Wno-undef
163 }
164
165 # We do not need anything from Qt
166 QT =