summaryrefslogtreecommitdiffstats
path: root/android
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2012-01-23 13:33:06 +0200
committerTor Lillqvist <tlillqvist@suse.com>2012-01-23 13:40:47 +0200
commit1921a96c323f5a0dcd846f5d17a6bbb3de208797 (patch)
tree7fe1c5d83bc8e2bf06ac7f5c1a0ff43b5fdc558a /android
parentDon't crash when attempting to open non-existent files under /assets (diff)
downloadcore-1921a96c323f5a0dcd846f5d17a6bbb3de208797.tar.gz
core-1921a96c323f5a0dcd846f5d17a6bbb3de208797.zip
Add the filters_test test documents
Diffstat (limited to 'android')
-rw-r--r--android/qa/sc/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/android/qa/sc/Makefile b/android/qa/sc/Makefile
index dbf9fb481c02..0412f334f6e8 100644
--- a/android/qa/sc/Makefile
+++ b/android/qa/sc/Makefile
@@ -127,6 +127,7 @@ copy-stuff:
mkdir -p assets/bin assets/lib assets/xml/ure
cp $(OUTDIR)/bin/udkapi.rdb assets/bin
cp $(OUTDIR)/bin/types.rdb assets/bin
+#
# For some reason the vnd.sun.star.expand:$LO_LIB_DIR doesn't seem to work, it expands to empty!?
# So just hardcode the known APP_DATA_PATH for now...
# Ditto for URE_INTERNAL_LIB_DIR
@@ -141,16 +142,20 @@ copy-stuff:
sed -e 's!uri="./!uri="$(APP_DATA_PATH)/lib/!g' <$(SRC_ROOT)/testtools/$(INPATH)/lib/$$F.rdb >assets/lib/$$F.rdb; \
done
cp -R $(OUTDIR)/xml/registry assets/xml
+#
# .res files
for F in $(OUTDIR)/bin/*.res; do \
cp $$F assets/bin; \
done
+#
+# Test documents for filters_test
+ (cd $(SRC_ROOT) && tar cf - sc/qa/unit/data) | (cd assets && tar xvf -)
+#
# Then assets that are unpacked at run-time into the app's data directory.
mkdir -p assets/unpack/etc/fonts
cp fonts.conf assets/unpack/etc/fonts
#
# Then gdbserver and gdb.setup so that we can debug with ndk-gdb.
-#
cp $(ANDROID_NDK_HOME)/toolchains/arm-linux-androideabi-4.4.3/prebuilt/gdbserver $(SODEST)
echo set solib-search-path ./obj/local/armeabi-v7a >$(SODEST)/gdb.setup