Bug 1343286 - Delete unused calendar/lightning/build/universal.mk. r=Fallen DONTBUILD
authorFrank-Rainer Grahl <frgrahl@gmx.net>
Fri, 21 Apr 2017 17:16:56 +0200
changeset 21448 09f4a64c933abae2079964efc050796e546f4c4d
parent 21447 9a8875e3bff1e9f6cd2ba8e1745d722addce4de2
child 21449 2bf4d1d2bf58662aeb5dd8f260f83842eeb63f61
push id13056
push userfrgrahl@gmx.net
push dateFri, 21 Apr 2017 15:18:54 +0000
treeherdercomm-central@09f4a64c933a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersFallen
bugs1343286
Bug 1343286 - Delete unused calendar/lightning/build/universal.mk. r=Fallen DONTBUILD
calendar/lightning/build/universal.mk
deleted file mode 100644
--- a/calendar/lightning/build/universal.mk
+++ /dev/null
@@ -1,45 +0,0 @@
-# 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/.
-
-ifndef OBJDIR
-OBJDIR_ARCH_1 = $(MOZ_OBJDIR)/$(firstword $(MOZ_BUILD_PROJECTS))
-OBJDIR_ARCH_2 = $(MOZ_OBJDIR)/$(word 2,$(MOZ_BUILD_PROJECTS))
-DIST_ARCH_1 = $(OBJDIR_ARCH_1)/dist
-DIST_ARCH_2 = $(OBJDIR_ARCH_2)/dist
-DIST_UNI = $(DIST_ARCH_1)/universal
-OBJDIR = $(OBJDIR_ARCH_1)
-endif
-
-topsrcdir = $(TOPSRCDIR)
-DEPTH = $(OBJDIR)
-
-include $(DEPTH)/config/autoconf.mk
-include $(topsrcdir)/mozilla/toolkit/mozapps/installer/package-name.mk
-
-THUNDERBIRD_VERSION := $(shell cat $(topsrcdir)/mail/config/version.txt)
-LIGHTNING_VERSION := $(shell $(PYTHON) $(topsrcdir)/calendar/lightning/build/makeversion.py $(word 1,$(MOZ_PKG_VERSION) $(THUNDERBIRD_VERSION)))
-XPI_PKGNAME = lightning-$(LIGHTNING_VERSION).$(AB_CD).$(MOZ_PKG_PLATFORM)
-
-STANDALONE_MAKEFILE := 1
-include $(TOPSRCDIR)/config/config.mk
-
-define unify_lightning
-mkdir -p $(DIST_UNI)/$1
-rm -rf $(DIST_UNI)/$1/$2*
-cp -R $(DIST_ARCH_1)/$1/$2 $(DIST_UNI)/$1
-grep -v em:targetPlatform $(DIST_ARCH_1)/$1/$2/install.rdf > $(DIST_UNI)/$1/$2/install.rdf
-endef
-
-define unify_lightning_repackage
-$(call py_action,zip,-C $(DIST_UNI)/$1/$2 ../$(XPI_PKGNAME).xpi '*')
-endef
-
-postflight_all:
-	$(call unify_lightning,xpi-stage,lightning)
-	$(call unify_lightning_repackage,xpi-stage,lightning)
-ifdef NIGHTLY_BUILD
-	$(call unify_lightning,$(MOZ_APP_DISPLAYNAME).app/Contents/Resources/extensions,{e2fda1a4-762b-4020-b5ad-a41df1933103})
-else
-	$(call unify_lightning,$(MOZ_APP_DISPLAYNAME).app/Contents/Resources/distribution/extensions,{e2fda1a4-762b-4020-b5ad-a41df1933103})
-endif