Bug 784841 - Part 18π: Convert /dom/payment; r=me
authorGregory Szorc <gps@mozilla.com>
Mon, 25 Feb 2013 14:01:39 -0800
changeset 123700 9efbdb63ecbeb3c9775921b249ffc9051d22cb18
parent 123699 0dd558c975f03e20e5704133facd2af6c4bf1eea
child 123701 632f21df7be14b26688adeb73634e8cfde685c1b
push id270
push userpvanderbeken@mozilla.com
push dateThu, 06 Mar 2014 09:24:21 +0000
reviewersme
bugs784841
milestone22.0a1
Bug 784841 - Part 18π: Convert /dom/payment; r=me
dom/payment/Makefile.in
dom/payment/moz.build
dom/payment/tests/Makefile.in
dom/payment/tests/moz.build
--- a/dom/payment/Makefile.in
+++ b/dom/payment/Makefile.in
@@ -15,12 +15,10 @@ EXTRA_COMPONENTS = \
   PaymentRequestInfo.js \
   Payment.manifest \
   $(NULL)
 
 EXTRA_JS_MODULES += \
   Payment.jsm \
   $(NULL)
 
-TEST_DIRS += tests
-
 include $(topsrcdir)/config/config.mk
 include $(topsrcdir)/config/rules.mk
--- a/dom/payment/moz.build
+++ b/dom/payment/moz.build
@@ -1,6 +1,9 @@
 # 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/.
 
 PARALLEL_DIRS += ['interfaces']
+
+TEST_DIRS += ['tests']
+
--- a/dom/payment/tests/Makefile.in
+++ b/dom/payment/tests/Makefile.in
@@ -6,16 +6,13 @@ DEPTH            = @DEPTH@
 topsrcdir        = @top_srcdir@
 srcdir           = @srcdir@
 VPATH            = @srcdir@
 
 relativesrcdir   = @relativesrcdir@
 
 include $(DEPTH)/config/autoconf.mk
 
-DIRS = \
-  $(NULL)
-
 MODULE = test_dom_payment
 
 XPCSHELL_TESTS = unit
 
 include $(topsrcdir)/config/rules.mk
new file mode 100644
--- /dev/null
+++ b/dom/payment/tests/moz.build
@@ -0,0 +1,5 @@
+# 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/.
+