diff --git a/mobile/app/Makefile.in b/mobile/app/Makefile.in index 45e70a1e67f..90556964460 100644 --- a/mobile/app/Makefile.in +++ b/mobile/app/Makefile.in @@ -51,6 +51,7 @@ GRE_MILESTONE = $(shell $(PYTHON) $(topsrcdir)/config/printconfigsetting.py $(LI GRE_BUILDID = $(shell $(PYTHON) $(topsrcdir)/config/printconfigsetting.py $(LIBXUL_DIST)/bin/platform.ini Build BuildID) APP_BUILDID = $(shell $(PYTHON) $(topsrcdir)/toolkit/xre/make-platformini.py --print-buildid) APP_UA_NAME = $(shell echo $(MOZ_APP_DISPLAYNAME) | sed -e's/[^A-Za-z]//g') +APP_ICON = mobile DEFINES += -DGRE_MILESTONE=$(GRE_MILESTONE) -DGRE_BUILDID=$(GRE_BUILDID) -DAPP_BUILDID=$(APP_BUILDID) -DAPP_NAME=$(MOZ_APP_DISPLAYNAME) -DAPP_VERSION=$(MOZ_APP_VERSION) -DAPP_UA_NAME=$(APP_UA_NAME) @@ -100,4 +101,11 @@ libs:: $(NSINSTALL) -D $(DIST)/bin/xulrunner (cd $(LIBXUL_SDK)/bin && tar $(TAR_CREATE_FLAGS) - .) | (cd $(DIST)/bin/xulrunner && tar -xf -) + $(NSINSTALL) -D $(DIST)/bin/chrome/icons/default + +ifneq (,$(filter WINNT WINCE,$(OS_ARCH))) + cp $(srcdir)/$(APP_ICON).ico $(DIST)/bin/chrome/icons/default/$(APP_ICON).ico + $(LIBXUL_DIST)/sdk/bin/redit $(DIST)/bin/$(APP_BINARY) $(srcdir)/$(APP_ICON).ico +endif + endif diff --git a/mobile/app/mobile.ico b/mobile/app/mobile.ico new file mode 100644 index 00000000000..38312abac42 Binary files /dev/null and b/mobile/app/mobile.ico differ