summaryrefslogtreecommitdiffstats
path: root/dom/xslt/xpath/moz.build
diff options
context:
space:
mode:
Diffstat (limited to 'dom/xslt/xpath/moz.build')
-rw-r--r--dom/xslt/xpath/moz.build62
1 files changed, 62 insertions, 0 deletions
diff --git a/dom/xslt/xpath/moz.build b/dom/xslt/xpath/moz.build
new file mode 100644
index 000000000..1a7dbf89f
--- /dev/null
+++ b/dom/xslt/xpath/moz.build
@@ -0,0 +1,62 @@
+# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
+# vim: set filetype=python:
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+EXPORTS.mozilla.dom += [
+ 'XPathEvaluator.h',
+ 'XPathExpression.h',
+ 'XPathResult.h',
+]
+
+UNIFIED_SOURCES += [
+ 'txBooleanExpr.cpp',
+ 'txBooleanResult.cpp',
+ 'txCoreFunctionCall.cpp',
+ 'txErrorExpr.cpp',
+ 'txExpr.cpp',
+ 'txExprLexer.cpp',
+ 'txExprParser.cpp',
+ 'txFilterExpr.cpp',
+ 'txForwardContext.cpp',
+ 'txFunctionCall.cpp',
+ 'txLiteralExpr.cpp',
+ 'txLocationStep.cpp',
+ 'txMozillaXPathTreeWalker.cpp',
+ 'txNamedAttributeStep.cpp',
+ 'txNameTest.cpp',
+ 'txNodeSet.cpp',
+ 'txNodeSetAdaptor.cpp',
+ 'txNodeSetContext.cpp',
+ 'txNodeTypeTest.cpp',
+ 'txNumberExpr.cpp',
+ 'txNumberResult.cpp',
+ 'txPathExpr.cpp',
+ 'txPredicatedNodeTest.cpp',
+ 'txPredicateList.cpp',
+ 'txRelationalExpr.cpp',
+ 'txResultRecycler.cpp',
+ 'txRootExpr.cpp',
+ 'txStringResult.cpp',
+ 'txUnaryExpr.cpp',
+ 'txUnionExpr.cpp',
+ 'txUnionNodeTest.cpp',
+ 'txVariableRefExpr.cpp',
+ 'txXPathOptimizer.cpp',
+ 'txXPCOMExtensionFunction.cpp',
+ 'XPathEvaluator.cpp',
+ 'XPathExpression.cpp',
+ 'XPathResult.cpp',
+]
+
+LOCAL_INCLUDES += [
+ '../base',
+ '../xml',
+ '../xslt',
+]
+
+FINAL_LIBRARY = 'xul'
+
+if CONFIG['GNU_CXX']:
+ CXXFLAGS += ['-Wno-error=shadow']