summaryrefslogtreecommitdiff
path: root/xpcom/idl-parser/xpidl/moz.build
diff options
context:
space:
mode:
Diffstat (limited to 'xpcom/idl-parser/xpidl/moz.build')
-rw-r--r--xpcom/idl-parser/xpidl/moz.build29
1 files changed, 29 insertions, 0 deletions
diff --git a/xpcom/idl-parser/xpidl/moz.build b/xpcom/idl-parser/xpidl/moz.build
new file mode 100644
index 0000000000..33c1e7b136
--- /dev/null
+++ b/xpcom/idl-parser/xpidl/moz.build
@@ -0,0 +1,29 @@
+# -*- 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/.
+
+PYTHON_UNIT_TESTS += [
+ 'runtests.py',
+]
+
+GENERATED_FILES += [
+ ('xpidl.stub', 'xpidllex.py', 'xpidlyacc.py'),
+]
+
+GENERATED_FILES[('xpidl.stub', 'xpidllex.py', 'xpidlyacc.py')].script = 'header.py:main'
+
+SDK_FILES.bin += [
+ '!xpidllex.py',
+ '!xpidlyacc.py',
+ 'header.py',
+ 'typelib.py',
+ 'xpidl.py',
+]
+
+SDK_FILES.bin.ply += [
+ '/other-licenses/ply/ply/__init__.py',
+ '/other-licenses/ply/ply/lex.py',
+ '/other-licenses/ply/ply/yacc.py',
+]