michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: include $(topsrcdir)/config/rules.mk michael@0: michael@0: # This is so hacky. Waiting on bug 988938. michael@0: addondir = $(srcdir)/test/addons michael@0: testdir = $(abspath $(DEPTH)/_tests/xpcshell/browser/experiments/test/xpcshell) michael@0: michael@0: libs:: michael@0: $(EXIT_ON_ERROR) \ michael@0: $(NSINSTALL) -D $(testdir); \ michael@0: for dir in $(addondir)/*; do \ michael@0: base=`basename $$dir`; \ michael@0: (cd $$dir && zip -qr $(testdir)/$$base.xpi *); \ michael@0: done