Bug 990353 - Give tests/chrome its own moz.build file, like tests/mochitest. r=mshal a=1.3t+
authorBobby Holley <bobbyholley@gmail.com>
Tue, 22 Apr 2014 12:41:11 -0700
changeset 171733 3a9984542b0345bf08be0232643249edf22a9039
parent 171732 2d4e014448a9ee2f9b4a1ccecb6f648e443259a5
child 171734 11f89146ebe1c8209022c98ff8e225382128f41f
push id330
push userfdesre@mozilla.com
push dateTue, 22 Apr 2014 19:41:22 +0000
reviewersmshal, 1
bugs990353
milestone28.1
Bug 990353 - Give tests/chrome its own moz.build file, like tests/mochitest. r=mshal a=1.3t+ We also add a mochitest.ini file, which will eventually be used for http-served files that are associated with chrome mochitests.
js/xpconnect/tests/chrome/mochitest.ini
js/xpconnect/tests/chrome/moz.build
js/xpconnect/tests/moz.build
new file mode 100644
--- /dev/null
+++ b/js/xpconnect/tests/chrome/mochitest.ini
@@ -0,0 +1,1 @@
+[DEFAULT]
new file mode 100644
--- /dev/null
+++ b/js/xpconnect/tests/chrome/moz.build
@@ -0,0 +1,9 @@
+# -*- Mode: python; c-basic-offset: 4; 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/.
+
+MOCHITEST_CHROME_MANIFESTS += ['chrome.ini']
+MOCHITEST_MANIFESTS += ['mochitest.ini']
+
--- a/js/xpconnect/tests/moz.build
+++ b/js/xpconnect/tests/moz.build
@@ -2,16 +2,16 @@
 # 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/.
 
 TEST_TOOL_DIRS += [
     'idl',
     'mochitest',
+    'chrome',
     'browser',
     'components/native',
     'components/js',
 ]
 
 XPCSHELL_TESTS_MANIFESTS += ['unit/xpcshell.ini']
-MOCHITEST_CHROME_MANIFESTS += ['chrome/chrome.ini']