From 0a1e1d9a1f69c0087464e55289aae44d23ea9c64 Mon Sep 17 00:00:00 2001
From: Tor Lillqvist <tml@collabora.com>
Date: Mon, 27 Oct 2014 14:33:51 +0200
Subject: The configuration pruning with mobile-config.py seems to work now

Change-Id: I1b1891f0d7d7b8aa407e7da346ff5f8e3cbe8657
---
 android/Bootstrap/Makefile.shared | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'android/Bootstrap')

diff --git a/android/Bootstrap/Makefile.shared b/android/Bootstrap/Makefile.shared
index ecda23309f2c..662e87fa3e45 100644
--- a/android/Bootstrap/Makefile.shared
+++ b/android/Bootstrap/Makefile.shared
@@ -138,7 +138,9 @@ copy-stuff:
 	rm -Rf assets/share # pre-clean it
 	mkdir -p assets/share/config
 	cp -R $(INSTDIR)/share/registry assets/share
-#	$(SRC_ROOT)/android/mobile-config.py assets/share/registry/main.xcd assets/share/registry/main.xcd.new && mv assets/share/registry/main.xcd.new assets/share/registry/main.xcd
+	for F in main.xcd res/registry_en-US.xcd; do \
+		$(SRC_ROOT)/android/mobile-config.py assets/share/registry/$$F assets/share/registry/$$F.new && mv assets/share/registry/$$F.new assets/share/registry/$$F; \
+	done
 	if ! test z$(DISABLE_UI) = zTRUE; then \
 		echo "Copying UI files into the apk"; \
 		cp -R $(INSTDIR)/share/config/soffice.cfg assets/share/config; \
-- 
cgit