GTest: add support for FreeBSD and Hurd
[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 \
17     $$SOURCE_DIR/include
18
19 HEADERS += \
20     src/compiler/BaseTypes.h \
21     src/compiler/BuiltInFunctionEmulator.h \
22     src/compiler/Common.h \
23     src/compiler/ConstantUnion.h \
24     src/compiler/debug.h \
25     src/compiler/depgraph/DependencyGraph.h \
26     src/compiler/depgraph/DependencyGraphBuilder.h \
27     src/compiler/depgraph/DependencyGraphOutput.h \
28     src/compiler/DetectCallDepth.h \
29     src/compiler/DetectDiscontinuity.h \
30     src/compiler/Diagnostics.h \
31     src/compiler/DirectiveHandler.h \
32     src/compiler/ExtensionBehavior.h \
33     src/compiler/ForLoopUnroll.h \
34     src/compiler/glslang.h \
35     src/compiler/HashNames.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/DiagnosticsBase.h \
48     src/compiler/preprocessor/DirectiveHandlerBase.h \
49     src/compiler/preprocessor/DirectiveParser.h \
50     src/compiler/preprocessor/Input.h \
51     src/compiler/preprocessor/length_limits.h \
52     src/compiler/preprocessor/Lexer.h \
53     src/compiler/preprocessor/Macro.h \
54     src/compiler/preprocessor/MacroExpander.h \
55     src/compiler/preprocessor/numeric_lex.h \
56     src/compiler/preprocessor/Preprocessor.h \
57     src/compiler/preprocessor/SourceLocation.h \
58     src/compiler/preprocessor/Token.h \
59     src/compiler/preprocessor/Tokenizer.h \
60     src/compiler/OutputESSL.h \
61     src/compiler/OutputGLSL.h \
62     src/compiler/OutputGLSLBase.h \
63     src/compiler/OutputHLSL.h \
64     src/compiler/ParseHelper.h \
65     src/compiler/PoolAlloc.h \
66     src/compiler/QualifierAlive.h \
67     src/compiler/RemoveTree.h \
68     src/compiler/RenameFunction.h \
69     src/compiler/SearchSymbol.h \
70     src/compiler/ShHandle.h \
71     src/compiler/SymbolTable.h \
72     src/compiler/timing/RestrictFragmentShaderTiming.h \
73     src/compiler/timing/RestrictVertexShaderTiming.h \
74     src/compiler/TranslatorESSL.h \
75     src/compiler/TranslatorGLSL.h \
76     src/compiler/TranslatorHLSL.h \
77     src/compiler/Types.h \
78     src/compiler/Uniform.h \
79     src/compiler/UnfoldShortCircuit.h \
80     src/compiler/util.h \
81     src/compiler/ValidateLimitations.h \
82     src/compiler/VariableInfo.h \
83     src/compiler/VariablePacker.h \
84     src/compiler/VersionGLSL.h \
85     src/third_party/compiler/ArrayBoundsClamper.h
86
87 SOURCES += \
88     src/compiler/BuiltInFunctionEmulator.cpp \
89     src/compiler/CodeGenGLSL.cpp \
90     src/compiler/Compiler.cpp \
91     src/compiler/debug.cpp \
92     src/compiler/depgraph/DependencyGraph.cpp \
93     src/compiler/depgraph/DependencyGraphBuilder.cpp \
94     src/compiler/depgraph/DependencyGraphOutput.cpp \
95     src/compiler/depgraph/DependencyGraphTraverse.cpp \
96     src/compiler/DetectCallDepth.cpp \
97     src/compiler/DetectDiscontinuity.cpp \
98     src/compiler/Diagnostics.cpp \
99     src/compiler/DirectiveHandler.cpp \
100     src/compiler/ForLoopUnroll.cpp \
101     src/compiler/InfoSink.cpp \
102     src/compiler/Initialize.cpp \
103     src/compiler/InitializeDll.cpp \
104     src/compiler/InitializeParseContext.cpp \
105     src/compiler/Intermediate.cpp \
106     src/compiler/intermOut.cpp \
107     src/compiler/IntermTraverse.cpp \
108     src/compiler/MapLongVariableNames.cpp \
109     src/compiler/OutputESSL.cpp \
110     src/compiler/OutputGLSL.cpp \
111     src/compiler/OutputGLSLBase.cpp \
112     src/compiler/OutputHLSL.cpp \
113     src/compiler/parseConst.cpp \
114     src/compiler/ParseHelper.cpp \
115     src/compiler/PoolAlloc.cpp \
116     src/compiler/QualifierAlive.cpp \
117     src/compiler/RemoveTree.cpp \
118     src/compiler/SearchSymbol.cpp \
119     src/compiler/ShaderLang.cpp \
120     src/compiler/SymbolTable.cpp \
121     src/compiler/timing/RestrictFragmentShaderTiming.cpp \
122     src/compiler/timing/RestrictVertexShaderTiming.cpp \
123     src/compiler/TranslatorESSL.cpp \
124     src/compiler/TranslatorGLSL.cpp \
125     src/compiler/TranslatorHLSL.cpp \
126     src/compiler/Uniform.cpp \
127     src/compiler/UnfoldShortCircuit.cpp \
128     src/compiler/util.cpp \
129     src/compiler/ValidateLimitations.cpp \
130     src/compiler/VariableInfo.cpp \
131     src/compiler/VariablePacker.cpp \
132     src/compiler/VersionGLSL.cpp \
133     src/compiler/preprocessor/DiagnosticsBase.cpp \
134     src/compiler/preprocessor/DirectiveHandlerBase.cpp \
135     src/compiler/preprocessor/DirectiveParser.cpp \
136     src/compiler/preprocessor/Input.cpp \
137     src/compiler/preprocessor/Lexer.cpp \
138     src/compiler/preprocessor/Macro.cpp \
139     src/compiler/preprocessor/MacroExpander.cpp \
140     src/compiler/preprocessor/Preprocessor.cpp \
141     src/compiler/preprocessor/Token.cpp \
142     src/third_party/compiler/ArrayBoundsClamper.cpp
143
144 win32: {
145     SOURCES += src/compiler/ossource_win.cpp
146     DEFINES += ANGLE_WEBKIT_WIN=1
147 }
148 else: SOURCES += src/compiler/ossource_posix.cpp
149
150 # Make sure the derived sources are built
151 include(DerivedSources.pri)
152
153 *g++* {
154     QMAKE_CXXFLAGS += -Wno-unused-variable -Wno-missing-noreturn -Wno-unused-function -Wno-reorder -Wno-error -Wno-unknown-pragmas -Wno-undef
155 }
156
157 # We do not need anything from Qt
158 QT =