summaryrefslogtreecommitdiff
path: root/deps/v8/third_party/antlr4/BUILD.gn
blob: 65e2a78eb4c398acc0503f7a8dc2d54e68bec16b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
# Copyright 2018 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

config("antlr-compatibility") {
  if (!is_clang && !is_win) {
    cflags = [
      # Avoid warnings in generated Antlr code
      "-Wno-unused-but-set-variable",
    ]
  }
  if (is_aix) {
    cflags += [ "-fdollars-in-identifiers" ]
  }
}

source_set("antlr4") {
  defines = [ "ANTLR4CPP_STATIC" ]

  include_dirs = [ "runtime/Cpp/runtime/src" ]

  sources = [
    "runtime/Cpp/runtime/src/ANTLRErrorListener.cpp",
    "runtime/Cpp/runtime/src/ANTLRErrorListener.h",
    "runtime/Cpp/runtime/src/ANTLRErrorStrategy.cpp",
    "runtime/Cpp/runtime/src/ANTLRErrorStrategy.h",
    "runtime/Cpp/runtime/src/ANTLRFileStream.cpp",
    "runtime/Cpp/runtime/src/ANTLRFileStream.h",
    "runtime/Cpp/runtime/src/ANTLRInputStream.cpp",
    "runtime/Cpp/runtime/src/ANTLRInputStream.h",
    "runtime/Cpp/runtime/src/BailErrorStrategy.cpp",
    "runtime/Cpp/runtime/src/BailErrorStrategy.h",
    "runtime/Cpp/runtime/src/BaseErrorListener.cpp",
    "runtime/Cpp/runtime/src/BaseErrorListener.h",
    "runtime/Cpp/runtime/src/BufferedTokenStream.cpp",
    "runtime/Cpp/runtime/src/BufferedTokenStream.h",
    "runtime/Cpp/runtime/src/CharStream.cpp",
    "runtime/Cpp/runtime/src/CharStream.h",
    "runtime/Cpp/runtime/src/CommonToken.cpp",
    "runtime/Cpp/runtime/src/CommonToken.h",
    "runtime/Cpp/runtime/src/CommonTokenFactory.cpp",
    "runtime/Cpp/runtime/src/CommonTokenFactory.h",
    "runtime/Cpp/runtime/src/CommonTokenStream.cpp",
    "runtime/Cpp/runtime/src/CommonTokenStream.h",
    "runtime/Cpp/runtime/src/ConsoleErrorListener.cpp",
    "runtime/Cpp/runtime/src/ConsoleErrorListener.h",
    "runtime/Cpp/runtime/src/DefaultErrorStrategy.cpp",
    "runtime/Cpp/runtime/src/DefaultErrorStrategy.h",
    "runtime/Cpp/runtime/src/DiagnosticErrorListener.cpp",
    "runtime/Cpp/runtime/src/DiagnosticErrorListener.h",
    "runtime/Cpp/runtime/src/Exceptions.cpp",
    "runtime/Cpp/runtime/src/Exceptions.h",
    "runtime/Cpp/runtime/src/FailedPredicateException.cpp",
    "runtime/Cpp/runtime/src/FailedPredicateException.h",
    "runtime/Cpp/runtime/src/InputMismatchException.cpp",
    "runtime/Cpp/runtime/src/InputMismatchException.h",
    "runtime/Cpp/runtime/src/IntStream.cpp",
    "runtime/Cpp/runtime/src/IntStream.h",
    "runtime/Cpp/runtime/src/InterpreterRuleContext.cpp",
    "runtime/Cpp/runtime/src/InterpreterRuleContext.h",
    "runtime/Cpp/runtime/src/Lexer.cpp",
    "runtime/Cpp/runtime/src/Lexer.h",
    "runtime/Cpp/runtime/src/LexerInterpreter.cpp",
    "runtime/Cpp/runtime/src/LexerInterpreter.h",
    "runtime/Cpp/runtime/src/LexerNoViableAltException.cpp",
    "runtime/Cpp/runtime/src/LexerNoViableAltException.h",
    "runtime/Cpp/runtime/src/ListTokenSource.cpp",
    "runtime/Cpp/runtime/src/ListTokenSource.h",
    "runtime/Cpp/runtime/src/NoViableAltException.cpp",
    "runtime/Cpp/runtime/src/NoViableAltException.h",
    "runtime/Cpp/runtime/src/Parser.cpp",
    "runtime/Cpp/runtime/src/Parser.h",
    "runtime/Cpp/runtime/src/ParserInterpreter.cpp",
    "runtime/Cpp/runtime/src/ParserInterpreter.h",
    "runtime/Cpp/runtime/src/ParserRuleContext.cpp",
    "runtime/Cpp/runtime/src/ParserRuleContext.h",
    "runtime/Cpp/runtime/src/ProxyErrorListener.cpp",
    "runtime/Cpp/runtime/src/ProxyErrorListener.h",
    "runtime/Cpp/runtime/src/RecognitionException.cpp",
    "runtime/Cpp/runtime/src/RecognitionException.h",
    "runtime/Cpp/runtime/src/Recognizer.cpp",
    "runtime/Cpp/runtime/src/Recognizer.h",
    "runtime/Cpp/runtime/src/RuleContext.cpp",
    "runtime/Cpp/runtime/src/RuleContext.h",
    "runtime/Cpp/runtime/src/RuleContextWithAltNum.cpp",
    "runtime/Cpp/runtime/src/RuleContextWithAltNum.h",
    "runtime/Cpp/runtime/src/RuntimeMetaData.cpp",
    "runtime/Cpp/runtime/src/RuntimeMetaData.h",
    "runtime/Cpp/runtime/src/Token.cpp",
    "runtime/Cpp/runtime/src/Token.h",
    "runtime/Cpp/runtime/src/TokenFactory.h",
    "runtime/Cpp/runtime/src/TokenSource.cpp",
    "runtime/Cpp/runtime/src/TokenSource.h",
    "runtime/Cpp/runtime/src/TokenStream.cpp",
    "runtime/Cpp/runtime/src/TokenStream.h",
    "runtime/Cpp/runtime/src/TokenStreamRewriter.cpp",
    "runtime/Cpp/runtime/src/TokenStreamRewriter.h",
    "runtime/Cpp/runtime/src/UnbufferedCharStream.cpp",
    "runtime/Cpp/runtime/src/UnbufferedCharStream.h",
    "runtime/Cpp/runtime/src/UnbufferedTokenStream.cpp",
    "runtime/Cpp/runtime/src/UnbufferedTokenStream.h",
    "runtime/Cpp/runtime/src/Vocabulary.cpp",
    "runtime/Cpp/runtime/src/Vocabulary.h",
    "runtime/Cpp/runtime/src/WritableToken.cpp",
    "runtime/Cpp/runtime/src/WritableToken.h",
    "runtime/Cpp/runtime/src/antlr4-common.h",
    "runtime/Cpp/runtime/src/antlr4-runtime.h",
    "runtime/Cpp/runtime/src/atn/ATN.cpp",
    "runtime/Cpp/runtime/src/atn/ATN.h",
    "runtime/Cpp/runtime/src/atn/ATNConfig.cpp",
    "runtime/Cpp/runtime/src/atn/ATNConfig.h",
    "runtime/Cpp/runtime/src/atn/ATNConfigSet.cpp",
    "runtime/Cpp/runtime/src/atn/ATNConfigSet.h",
    "runtime/Cpp/runtime/src/atn/ATNDeserializationOptions.cpp",
    "runtime/Cpp/runtime/src/atn/ATNDeserializationOptions.h",
    "runtime/Cpp/runtime/src/atn/ATNDeserializer.cpp",
    "runtime/Cpp/runtime/src/atn/ATNDeserializer.h",
    "runtime/Cpp/runtime/src/atn/ATNSerializer.cpp",
    "runtime/Cpp/runtime/src/atn/ATNSerializer.h",
    "runtime/Cpp/runtime/src/atn/ATNSimulator.cpp",
    "runtime/Cpp/runtime/src/atn/ATNSimulator.h",
    "runtime/Cpp/runtime/src/atn/ATNState.cpp",
    "runtime/Cpp/runtime/src/atn/ATNState.h",
    "runtime/Cpp/runtime/src/atn/ATNType.h",
    "runtime/Cpp/runtime/src/atn/AbstractPredicateTransition.cpp",
    "runtime/Cpp/runtime/src/atn/AbstractPredicateTransition.h",
    "runtime/Cpp/runtime/src/atn/ActionTransition.cpp",
    "runtime/Cpp/runtime/src/atn/ActionTransition.h",
    "runtime/Cpp/runtime/src/atn/AmbiguityInfo.cpp",
    "runtime/Cpp/runtime/src/atn/AmbiguityInfo.h",
    "runtime/Cpp/runtime/src/atn/ArrayPredictionContext.cpp",
    "runtime/Cpp/runtime/src/atn/ArrayPredictionContext.h",
    "runtime/Cpp/runtime/src/atn/AtomTransition.cpp",
    "runtime/Cpp/runtime/src/atn/AtomTransition.h",
    "runtime/Cpp/runtime/src/atn/BasicBlockStartState.cpp",
    "runtime/Cpp/runtime/src/atn/BasicBlockStartState.h",
    "runtime/Cpp/runtime/src/atn/BasicState.cpp",
    "runtime/Cpp/runtime/src/atn/BasicState.h",
    "runtime/Cpp/runtime/src/atn/BlockEndState.cpp",
    "runtime/Cpp/runtime/src/atn/BlockEndState.h",
    "runtime/Cpp/runtime/src/atn/BlockStartState.cpp",
    "runtime/Cpp/runtime/src/atn/BlockStartState.h",
    "runtime/Cpp/runtime/src/atn/ContextSensitivityInfo.cpp",
    "runtime/Cpp/runtime/src/atn/ContextSensitivityInfo.h",
    "runtime/Cpp/runtime/src/atn/DecisionEventInfo.cpp",
    "runtime/Cpp/runtime/src/atn/DecisionEventInfo.h",
    "runtime/Cpp/runtime/src/atn/DecisionInfo.cpp",
    "runtime/Cpp/runtime/src/atn/DecisionInfo.h",
    "runtime/Cpp/runtime/src/atn/DecisionState.cpp",
    "runtime/Cpp/runtime/src/atn/DecisionState.h",
    "runtime/Cpp/runtime/src/atn/EmptyPredictionContext.cpp",
    "runtime/Cpp/runtime/src/atn/EmptyPredictionContext.h",
    "runtime/Cpp/runtime/src/atn/EpsilonTransition.cpp",
    "runtime/Cpp/runtime/src/atn/EpsilonTransition.h",
    "runtime/Cpp/runtime/src/atn/ErrorInfo.cpp",
    "runtime/Cpp/runtime/src/atn/ErrorInfo.h",
    "runtime/Cpp/runtime/src/atn/LL1Analyzer.cpp",
    "runtime/Cpp/runtime/src/atn/LL1Analyzer.h",
    "runtime/Cpp/runtime/src/atn/LexerATNConfig.cpp",
    "runtime/Cpp/runtime/src/atn/LexerATNConfig.h",
    "runtime/Cpp/runtime/src/atn/LexerATNSimulator.cpp",
    "runtime/Cpp/runtime/src/atn/LexerATNSimulator.h",
    "runtime/Cpp/runtime/src/atn/LexerAction.cpp",
    "runtime/Cpp/runtime/src/atn/LexerAction.h",
    "runtime/Cpp/runtime/src/atn/LexerActionExecutor.cpp",
    "runtime/Cpp/runtime/src/atn/LexerActionExecutor.h",
    "runtime/Cpp/runtime/src/atn/LexerActionType.h",
    "runtime/Cpp/runtime/src/atn/LexerChannelAction.cpp",
    "runtime/Cpp/runtime/src/atn/LexerChannelAction.h",
    "runtime/Cpp/runtime/src/atn/LexerCustomAction.cpp",
    "runtime/Cpp/runtime/src/atn/LexerCustomAction.h",
    "runtime/Cpp/runtime/src/atn/LexerIndexedCustomAction.cpp",
    "runtime/Cpp/runtime/src/atn/LexerIndexedCustomAction.h",
    "runtime/Cpp/runtime/src/atn/LexerModeAction.cpp",
    "runtime/Cpp/runtime/src/atn/LexerModeAction.h",
    "runtime/Cpp/runtime/src/atn/LexerMoreAction.cpp",
    "runtime/Cpp/runtime/src/atn/LexerMoreAction.h",
    "runtime/Cpp/runtime/src/atn/LexerPopModeAction.cpp",
    "runtime/Cpp/runtime/src/atn/LexerPopModeAction.h",
    "runtime/Cpp/runtime/src/atn/LexerPushModeAction.cpp",
    "runtime/Cpp/runtime/src/atn/LexerPushModeAction.h",
    "runtime/Cpp/runtime/src/atn/LexerSkipAction.cpp",
    "runtime/Cpp/runtime/src/atn/LexerSkipAction.h",
    "runtime/Cpp/runtime/src/atn/LexerTypeAction.cpp",
    "runtime/Cpp/runtime/src/atn/LexerTypeAction.h",
    "runtime/Cpp/runtime/src/atn/LookaheadEventInfo.cpp",
    "runtime/Cpp/runtime/src/atn/LookaheadEventInfo.h",
    "runtime/Cpp/runtime/src/atn/LoopEndState.cpp",
    "runtime/Cpp/runtime/src/atn/LoopEndState.h",
    "runtime/Cpp/runtime/src/atn/NotSetTransition.cpp",
    "runtime/Cpp/runtime/src/atn/NotSetTransition.h",
    "runtime/Cpp/runtime/src/atn/OrderedATNConfigSet.cpp",
    "runtime/Cpp/runtime/src/atn/OrderedATNConfigSet.h",
    "runtime/Cpp/runtime/src/atn/ParseInfo.cpp",
    "runtime/Cpp/runtime/src/atn/ParseInfo.h",
    "runtime/Cpp/runtime/src/atn/ParserATNSimulator.cpp",
    "runtime/Cpp/runtime/src/atn/ParserATNSimulator.h",
    "runtime/Cpp/runtime/src/atn/PlusBlockStartState.cpp",
    "runtime/Cpp/runtime/src/atn/PlusBlockStartState.h",
    "runtime/Cpp/runtime/src/atn/PlusLoopbackState.cpp",
    "runtime/Cpp/runtime/src/atn/PlusLoopbackState.h",
    "runtime/Cpp/runtime/src/atn/PrecedencePredicateTransition.cpp",
    "runtime/Cpp/runtime/src/atn/PrecedencePredicateTransition.h",
    "runtime/Cpp/runtime/src/atn/PredicateEvalInfo.cpp",
    "runtime/Cpp/runtime/src/atn/PredicateEvalInfo.h",
    "runtime/Cpp/runtime/src/atn/PredicateTransition.cpp",
    "runtime/Cpp/runtime/src/atn/PredicateTransition.h",
    "runtime/Cpp/runtime/src/atn/PredictionContext.cpp",
    "runtime/Cpp/runtime/src/atn/PredictionContext.h",
    "runtime/Cpp/runtime/src/atn/PredictionMode.cpp",
    "runtime/Cpp/runtime/src/atn/PredictionMode.h",
    "runtime/Cpp/runtime/src/atn/ProfilingATNSimulator.cpp",
    "runtime/Cpp/runtime/src/atn/ProfilingATNSimulator.h",
    "runtime/Cpp/runtime/src/atn/RangeTransition.cpp",
    "runtime/Cpp/runtime/src/atn/RangeTransition.h",
    "runtime/Cpp/runtime/src/atn/RuleStartState.cpp",
    "runtime/Cpp/runtime/src/atn/RuleStartState.h",
    "runtime/Cpp/runtime/src/atn/RuleStopState.cpp",
    "runtime/Cpp/runtime/src/atn/RuleStopState.h",
    "runtime/Cpp/runtime/src/atn/RuleTransition.cpp",
    "runtime/Cpp/runtime/src/atn/RuleTransition.h",
    "runtime/Cpp/runtime/src/atn/SemanticContext.cpp",
    "runtime/Cpp/runtime/src/atn/SemanticContext.h",
    "runtime/Cpp/runtime/src/atn/SetTransition.cpp",
    "runtime/Cpp/runtime/src/atn/SetTransition.h",
    "runtime/Cpp/runtime/src/atn/SingletonPredictionContext.cpp",
    "runtime/Cpp/runtime/src/atn/SingletonPredictionContext.h",
    "runtime/Cpp/runtime/src/atn/StarBlockStartState.cpp",
    "runtime/Cpp/runtime/src/atn/StarBlockStartState.h",
    "runtime/Cpp/runtime/src/atn/StarLoopEntryState.cpp",
    "runtime/Cpp/runtime/src/atn/StarLoopEntryState.h",
    "runtime/Cpp/runtime/src/atn/StarLoopbackState.cpp",
    "runtime/Cpp/runtime/src/atn/StarLoopbackState.h",
    "runtime/Cpp/runtime/src/atn/TokensStartState.cpp",
    "runtime/Cpp/runtime/src/atn/TokensStartState.h",
    "runtime/Cpp/runtime/src/atn/Transition.cpp",
    "runtime/Cpp/runtime/src/atn/Transition.h",
    "runtime/Cpp/runtime/src/atn/WildcardTransition.cpp",
    "runtime/Cpp/runtime/src/atn/WildcardTransition.h",
    "runtime/Cpp/runtime/src/dfa/DFA.cpp",
    "runtime/Cpp/runtime/src/dfa/DFA.h",
    "runtime/Cpp/runtime/src/dfa/DFASerializer.cpp",
    "runtime/Cpp/runtime/src/dfa/DFASerializer.h",
    "runtime/Cpp/runtime/src/dfa/DFAState.cpp",
    "runtime/Cpp/runtime/src/dfa/DFAState.h",
    "runtime/Cpp/runtime/src/dfa/LexerDFASerializer.cpp",
    "runtime/Cpp/runtime/src/dfa/LexerDFASerializer.h",
    "runtime/Cpp/runtime/src/misc/InterpreterDataReader.cpp",
    "runtime/Cpp/runtime/src/misc/InterpreterDataReader.h",
    "runtime/Cpp/runtime/src/misc/Interval.cpp",
    "runtime/Cpp/runtime/src/misc/Interval.h",
    "runtime/Cpp/runtime/src/misc/IntervalSet.cpp",
    "runtime/Cpp/runtime/src/misc/IntervalSet.h",
    "runtime/Cpp/runtime/src/misc/MurmurHash.cpp",
    "runtime/Cpp/runtime/src/misc/MurmurHash.h",
    "runtime/Cpp/runtime/src/misc/Predicate.cpp",
    "runtime/Cpp/runtime/src/misc/Predicate.h",
    "runtime/Cpp/runtime/src/support/Any.cpp",
    "runtime/Cpp/runtime/src/support/Any.h",
    "runtime/Cpp/runtime/src/support/Arrays.cpp",
    "runtime/Cpp/runtime/src/support/Arrays.h",
    "runtime/Cpp/runtime/src/support/BitSet.h",
    "runtime/Cpp/runtime/src/support/CPPUtils.cpp",
    "runtime/Cpp/runtime/src/support/CPPUtils.h",
    "runtime/Cpp/runtime/src/support/Declarations.h",
    "runtime/Cpp/runtime/src/support/StringUtils.cpp",
    "runtime/Cpp/runtime/src/support/StringUtils.h",
    "runtime/Cpp/runtime/src/support/guid.cpp",
    "runtime/Cpp/runtime/src/support/guid.h",
    "runtime/Cpp/runtime/src/tree/AbstractParseTreeVisitor.h",
    "runtime/Cpp/runtime/src/tree/ErrorNode.cpp",
    "runtime/Cpp/runtime/src/tree/ErrorNode.h",
    "runtime/Cpp/runtime/src/tree/ErrorNodeImpl.cpp",
    "runtime/Cpp/runtime/src/tree/ErrorNodeImpl.h",
    "runtime/Cpp/runtime/src/tree/IterativeParseTreeWalker.cpp",
    "runtime/Cpp/runtime/src/tree/IterativeParseTreeWalker.h",
    "runtime/Cpp/runtime/src/tree/ParseTree.cpp",
    "runtime/Cpp/runtime/src/tree/ParseTree.h",
    "runtime/Cpp/runtime/src/tree/ParseTreeListener.cpp",
    "runtime/Cpp/runtime/src/tree/ParseTreeListener.h",
    "runtime/Cpp/runtime/src/tree/ParseTreeProperty.h",
    "runtime/Cpp/runtime/src/tree/ParseTreeVisitor.cpp",
    "runtime/Cpp/runtime/src/tree/ParseTreeVisitor.h",
    "runtime/Cpp/runtime/src/tree/ParseTreeWalker.cpp",
    "runtime/Cpp/runtime/src/tree/ParseTreeWalker.h",
    "runtime/Cpp/runtime/src/tree/TerminalNode.cpp",
    "runtime/Cpp/runtime/src/tree/TerminalNode.h",
    "runtime/Cpp/runtime/src/tree/TerminalNodeImpl.cpp",
    "runtime/Cpp/runtime/src/tree/TerminalNodeImpl.h",
    "runtime/Cpp/runtime/src/tree/Trees.cpp",
    "runtime/Cpp/runtime/src/tree/Trees.h",
    "runtime/Cpp/runtime/src/tree/pattern/Chunk.cpp",
    "runtime/Cpp/runtime/src/tree/pattern/Chunk.h",
    "runtime/Cpp/runtime/src/tree/pattern/ParseTreeMatch.cpp",
    "runtime/Cpp/runtime/src/tree/pattern/ParseTreeMatch.h",
    "runtime/Cpp/runtime/src/tree/pattern/ParseTreePattern.cpp",
    "runtime/Cpp/runtime/src/tree/pattern/ParseTreePattern.h",
    "runtime/Cpp/runtime/src/tree/pattern/ParseTreePatternMatcher.cpp",
    "runtime/Cpp/runtime/src/tree/pattern/ParseTreePatternMatcher.h",
    "runtime/Cpp/runtime/src/tree/pattern/RuleTagToken.cpp",
    "runtime/Cpp/runtime/src/tree/pattern/RuleTagToken.h",
    "runtime/Cpp/runtime/src/tree/pattern/TagChunk.cpp",
    "runtime/Cpp/runtime/src/tree/pattern/TagChunk.h",
    "runtime/Cpp/runtime/src/tree/pattern/TextChunk.cpp",
    "runtime/Cpp/runtime/src/tree/pattern/TextChunk.h",
    "runtime/Cpp/runtime/src/tree/pattern/TokenTagToken.cpp",
    "runtime/Cpp/runtime/src/tree/pattern/TokenTagToken.h",
    "runtime/Cpp/runtime/src/tree/xpath/XPath.cpp",
    "runtime/Cpp/runtime/src/tree/xpath/XPath.h",
    "runtime/Cpp/runtime/src/tree/xpath/XPathElement.cpp",
    "runtime/Cpp/runtime/src/tree/xpath/XPathElement.h",
    "runtime/Cpp/runtime/src/tree/xpath/XPathLexer.cpp",
    "runtime/Cpp/runtime/src/tree/xpath/XPathLexer.h",
    "runtime/Cpp/runtime/src/tree/xpath/XPathLexerErrorListener.cpp",
    "runtime/Cpp/runtime/src/tree/xpath/XPathLexerErrorListener.h",
    "runtime/Cpp/runtime/src/tree/xpath/XPathRuleAnywhereElement.cpp",
    "runtime/Cpp/runtime/src/tree/xpath/XPathRuleAnywhereElement.h",
    "runtime/Cpp/runtime/src/tree/xpath/XPathRuleElement.cpp",
    "runtime/Cpp/runtime/src/tree/xpath/XPathRuleElement.h",
    "runtime/Cpp/runtime/src/tree/xpath/XPathTokenAnywhereElement.cpp",
    "runtime/Cpp/runtime/src/tree/xpath/XPathTokenAnywhereElement.h",
    "runtime/Cpp/runtime/src/tree/xpath/XPathTokenElement.cpp",
    "runtime/Cpp/runtime/src/tree/xpath/XPathTokenElement.h",
    "runtime/Cpp/runtime/src/tree/xpath/XPathWildcardAnywhereElement.cpp",
    "runtime/Cpp/runtime/src/tree/xpath/XPathWildcardAnywhereElement.h",
    "runtime/Cpp/runtime/src/tree/xpath/XPathWildcardElement.cpp",
    "runtime/Cpp/runtime/src/tree/xpath/XPathWildcardElement.h",
  ]

  configs -= [
    "//build/config/compiler:chromium_code",
    "//build/config/compiler:no_rtti",
    "//build/config/compiler:no_exceptions",
  ]

  configs += [
    "//build/config/compiler:no_chromium_code",
    "//build/config/compiler:rtti",
    "//build/config/compiler:exceptions",
    ":antlr-compatibility",
  ]
}