Bug 709391 - Part 2: l10n build changes to include Sync strings. r=blassey, f=Pike

This commit is contained in:
Richard Newman 2011-12-21 08:44:06 -08:00
parent 5189891253
commit 5c2c28f397
2 changed files with 3 additions and 0 deletions

View File

@ -47,6 +47,7 @@ include $(DEPTH)/config/autoconf.mk
# http://code.google.com/p/android/issues/detail?id=3639
AB_rCD = $(if $(filter he, $(AB_CD)),iw,$(if $(filter id, $(AB_CD)),in,$(subst -,-r,$(AB_CD))))
SYNCSTRINGSPATH = $(call core_abspath,$(call MERGE_FILE,sync_strings.dtd))
STRINGSPATH = $(call core_abspath,$(call MERGE_FILE,android_strings.dtd))
ifeq (,$(XPI_NAME))
BRANDPATH = $(call core_abspath,$(DEPTH)/dist/bin/chrome/$(AB_CD)/locale/branding/brand.dtd)
@ -67,6 +68,7 @@ chrome-%::
$(PYTHON) $(topsrcdir)/config/Preprocessor.py $(DEFINES) \
-DBRANDPATH="$(BRANDPATH)" \
-DSTRINGSPATH="$(STRINGSPATH)" \
-DSYNCSTRINGSPATH="$(SYNCSTRINGSPATH)" \
$(srcdir)/../strings.xml.in \
> $@

View File

@ -3,6 +3,7 @@
<!DOCTYPE resources [
#includesubst @BRANDPATH@
#includesubst @STRINGSPATH@
#includesubst @SYNCSTRINGSPATH@
]>
<resources>
#include ../sync/strings.xml.in