mobile/android/app/Makefile.in
author Jan-Ivar Bruaroey <jib@mozilla.com>
Wed, 15 Jan 2014 09:12:50 -0500
changeset 163695 6fa6159af7e50e0a34193af476fb820f97d934e7
parent 163081 5ae12ca85cdc5821d4c5fe54c88e26e8de8927dc
child 169280 eed4ef04aa7647fd00d1d08fb36fa3812affb5e1
permissions -rw-r--r--
Bug 947665 - SSRC stat. r=abr

# 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/.

dist_dest = $(DIST)/$(APP_NAME).app

PREF_JS_EXPORTS = $(srcdir)/mobile.js

ifndef LIBXUL_SDK
ifneq (Android,$(OS_TARGET))

LOCAL_INCLUDES += -I$(topsrcdir)/toolkit/xre
LOCAL_INCLUDES += -I$(topsrcdir)/xpcom/base
LOCAL_INCLUDES += -I$(topsrcdir)/xpcom/build
LOCAL_INCLUDES += -I$(DEPTH)/build

STL_FLAGS=

LIBS += \
  $(XPCOM_STANDALONE_GLUE_LDOPTS) \
  $(NULL)

endif
endif #LIBXUL_SDK

# Make sure the standalone glue doesn't try to get libxpcom.so from mobile/app.
NSDISTMODE = copy

include $(topsrcdir)/config/rules.mk

APP_BINARY = $(MOZ_APP_NAME)$(BIN_SUFFIX)

libs::
ifdef LIBXUL_SDK
	cp $(LIBXUL_DIST)/bin/xulrunner-stub$(BIN_SUFFIX) $(DIST)/bin/$(APP_BINARY)
endif
ifndef SKIP_COPY_XULRUNNER #{
ifdef LIBXUL_SDK
	$(NSINSTALL) -D $(DIST)/bin/xulrunner
	(cd $(LIBXUL_SDK)/bin && tar $(TAR_CREATE_FLAGS) - .) | (cd $(DIST)/bin/xulrunner && tar -xf -)
endif
endif #} SKIP_COPY_XULRUNNER

	$(NSINSTALL) -D $(DIST)/bin/chrome/icons/default