[PALEMOON] Complete making Sync optional at build time - Part 2: Packaging

This commit is contained in:
NTD 2018-12-01 16:39:51 -05:00 committed by Roy Tam
commit 2180b84b22
3 changed files with 8 additions and 0 deletions

View file

@ -13,7 +13,9 @@ browser.jar:
content/browser/abouthome/bookmarks.png
content/browser/abouthome/history.png
content/browser/abouthome/addons.png
#ifdef MOZ_SERVICES_SYNC
content/browser/abouthome/sync.png
#endif
content/browser/abouthome/settings.png
content/browser/abouthome/restore.png
content/browser/abouthome/restore-large.png
@ -23,7 +25,9 @@ browser.jar:
content/browser/abouthome/bookmarks@2x.png
content/browser/abouthome/history@2x.png
content/browser/abouthome/addons@2x.png
#ifdef MOZ_SERVICES_SYNC
content/browser/abouthome/sync@2x.png
#endif
content/browser/abouthome/settings@2x.png
content/browser/abouthome/restore@2x.png
content/browser/abouthome/restore-large@2x.png

View file

@ -248,8 +248,10 @@
; gre location for now.
@RESPATH@/defaults/pref/channel-prefs.js
#ifdef MOZ_SERVICES_SYNC
; Services (gre) prefs
@RESPATH@/defaults/pref/services-sync.js
#endif
; [Layout Engine Resources]
; Style Sheets, Graphics and other Resources used by the layout engine.

View file

@ -121,7 +121,9 @@ searchplugins: $(addprefix $(FINAL_TARGET)/searchplugins/,$(SEARCHPLUGINS))
libs-%:
$(NSINSTALL) -D $(DIST)/install
@$(MAKE) -C ../../../toolkit/locales libs-$*
ifdef MOZ_SERVICES_SYNC
@$(MAKE) -C ../../../services/sync/locales AB_CD=$* XPI_NAME=locale-$*
endif
@$(MAKE) -C ../../../extensions/spellcheck/locales AB_CD=$* XPI_NAME=locale-$*
@$(MAKE) -C ../../../intl/locales AB_CD=$* XPI_NAME=locale-$*
ifdef MOZ_DEVTOOLS