summaryrefslogtreecommitdiffstats
path: root/js/xpconnect/tests/idl/moz.build
diff options
context:
space:
mode:
Diffstat (limited to 'js/xpconnect/tests/idl/moz.build')
-rw-r--r--js/xpconnect/tests/idl/moz.build25
1 files changed, 25 insertions, 0 deletions
diff --git a/js/xpconnect/tests/idl/moz.build b/js/xpconnect/tests/idl/moz.build
new file mode 100644
index 000000000..7ed9954b5
--- /dev/null
+++ b/js/xpconnect/tests/idl/moz.build
@@ -0,0 +1,25 @@
+# -*- 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/.
+
+XPIDL_SOURCES += [
+ 'xpctest_attributes.idl',
+ 'xpctest_bug809674.idl',
+ 'xpctest_interfaces.idl',
+ 'xpctest_params.idl',
+ 'xpctest_returncode.idl',
+ 'xpctest_utils.idl',
+]
+
+XPIDL_MODULE = 'xpctest'
+
+# XXX: This relies on xpctest.xpt being created in dist/bin/components/ during
+# the export tier AND TEST_HARNESS_FILES being processed after that.
+TEST_HARNESS_FILES.xpcshell.js.xpconnect.tests.components.native.components += [
+ '!/dist/bin/components/xpctest.xpt',
+]
+TEST_HARNESS_FILES.xpcshell.js.xpconnect.tests.components.js += [
+ '!/dist/bin/components/xpctest.xpt',
+]