Wed, 31 Dec 2014 07:22:50 +0100
Correct previous dual key logic pending first delivery installment.
1 # This Source Code Form is subject to the terms of the Mozilla Public
2 # License, v. 2.0. If a copy of the MPL was not distributed with this
3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
5 dist_dest = $(DIST)/$(APP_NAME).app
7 PREF_JS_EXPORTS = $(srcdir)/mobile.js
9 ifndef LIBXUL_SDK
10 ifneq (Android,$(OS_TARGET))
11 LIBS += \
12 $(XPCOM_STANDALONE_GLUE_LDOPTS) \
13 $(NULL)
15 endif
16 endif #LIBXUL_SDK
18 # Make sure the standalone glue doesn't try to get libxpcom.so from mobile/app.
19 NSDISTMODE = copy
21 include $(topsrcdir)/config/rules.mk
23 APP_BINARY = $(MOZ_APP_NAME)$(BIN_SUFFIX)
25 libs::
26 ifdef LIBXUL_SDK
27 cp $(LIBXUL_DIST)/bin/xulrunner-stub$(BIN_SUFFIX) $(DIST)/bin/$(APP_BINARY)
28 endif
29 ifndef SKIP_COPY_XULRUNNER #{
30 ifdef LIBXUL_SDK
31 $(NSINSTALL) -D $(DIST)/bin/xulrunner
32 (cd $(LIBXUL_SDK)/bin && tar $(TAR_CREATE_FLAGS) - .) | (cd $(DIST)/bin/xulrunner && tar -xf -)
33 endif
34 endif #} SKIP_COPY_XULRUNNER
36 $(NSINSTALL) -D $(DIST)/bin/chrome/icons/default