diff options
author | Tor Lillqvist <tml@iki.fi> | 2013-04-10 12:32:16 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2013-04-10 16:27:07 +0300 |
commit | 72a0656fb5ff51b6afe36dbb099d15f6ae7f7c18 (patch) | |
tree | eafb1d3c941ab0086dfdb9c44592ed4f265c3367 /android | |
parent | tweak delete contents dialog to be wider than it is tall (diff) | |
download | core-72a0656fb5ff51b6afe36dbb099d15f6ae7f7c18.tar.gz core-72a0656fb5ff51b6afe36dbb099d15f6ae7f7c18.zip |
Bin the Android "qa" apps
Unmaintained and presumably unbuildable for some time.
Change-Id: Ide0abea91013397dd8d214ee6a9da8e67ec6bb9c
Diffstat (limited to 'android')
-rw-r--r-- | android/qa/sc/AndroidManifest.xml | 23 | ||||
-rw-r--r-- | android/qa/sc/Makefile | 218 | ||||
-rw-r--r-- | android/qa/sc/ant.properties | 17 | ||||
-rw-r--r-- | android/qa/sc/build.xml | 84 | ||||
-rw-r--r-- | android/qa/sc/fonts.conf | 134 | ||||
-rw-r--r-- | android/qa/sc/jni/Android.mk | 23 | ||||
-rw-r--r-- | android/qa/sc/project.properties | 14 | ||||
-rw-r--r-- | android/qa/sc/res/layout/main.xml | 12 | ||||
-rw-r--r-- | android/qa/sc/res/values/strings.xml | 4 | ||||
-rw-r--r-- | android/qa/sc/src/dummyfile | 0 | ||||
-rw-r--r-- | android/qa/simple/AndroidManifest.xml | 23 | ||||
-rw-r--r-- | android/qa/simple/Makefile | 130 | ||||
-rw-r--r-- | android/qa/simple/ant.properties | 17 | ||||
-rw-r--r-- | android/qa/simple/build.xml | 84 | ||||
-rw-r--r-- | android/qa/simple/project.properties | 14 | ||||
-rw-r--r-- | android/qa/simple/res/layout/main.xml | 12 | ||||
-rw-r--r-- | android/qa/simple/res/values/strings.xml | 4 | ||||
-rw-r--r-- | android/qa/simple/src/dummyfile | 0 |
18 files changed, 0 insertions, 813 deletions
diff --git a/android/qa/sc/AndroidManifest.xml b/android/qa/sc/AndroidManifest.xml deleted file mode 100644 index 92b374ea2c44..000000000000 --- a/android/qa/sc/AndroidManifest.xml +++ /dev/null @@ -1,23 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<manifest xmlns:android="http://schemas.android.com/apk/res/android" - package="org.libreoffice.android.qa.sc" - android:versionCode="1" - android:versionName="1.0"> - <uses-sdk android:minSdkVersion="9" /> - - <application android:label="@string/app_name" - android:debuggable="true"> - <!-- Bootstrap is the subclass of android.app.NativeActivity --> - <activity android:name="org.libreoffice.android.Bootstrap" - android:label="LO Calc unit tests" - android:configChanges="orientation|keyboardHidden"> - <!-- Tell NativeActivity the name of our .so --> - <meta-data android:name="android.app.lib_name" - android:value="lo-bootstrap" /> - <intent-filter> - <action android:name="android.intent.action.MAIN" /> - <category android:name="android.intent.category.LAUNCHER" /> - </intent-filter> - </activity> - </application> -</manifest> diff --git a/android/qa/sc/Makefile b/android/qa/sc/Makefile deleted file mode 100644 index 2734b519fbbe..000000000000 --- a/android/qa/sc/Makefile +++ /dev/null @@ -1,218 +0,0 @@ -include ../../../config_host.mk - -# The package of this app -APP_PACKAGE=org.libreoffice.android.qa.sc - -# The name of the Bootstrap activity class -BOOTSTRAP=org.libreoffice.android.Bootstrap - -# The full path the app's directory needs to be supplied in a -# couple of places, unfortunately. - -APP_DATA_PATH=/data/data/$(APP_PACKAGE) - -SODEST=libs/$(ANDROID_APP_ABI) -OBJLOCAL=obj/local/$(ANDROID_APP_ABI) - -define COPY -cp $(1) $(SODEST)$(if $(2),/$(2)) && $(STRIP) --strip-debug $(SODEST)$(if $(2),/$(2),/$(notdir $(1))) && \ -cp $(1) $(OBJLOCAL)$(if $(2),/$(2)) -endef - -# The default target just builds. - -all: build-ant - -properties: - echo sdk.dir=$(ANDROID_SDK_HOME) >local.properties - echo sdk.dir=$(ANDROID_SDK_HOME) >../../Bootstrap/local.properties - echo "# File needed by ndk-gdb" >jni/Application.mk - echo "APP_ABI := $(ANDROID_APP_ABI)" >>jni/Application.mk - echo "APP_PLATFORM := android-14" >>jni/Application.mk - -copy-stuff: -# -# Copy shared libraries we need to libs/$(ANDROID_APP_ABI) so that ant will -# include them in the .apk. -# -# Copy them to obj/local/$(ANDROID_APP_ABI), too, where gdb will look for -# them. -# - mkdir -p $(SODEST) $(OBJLOCAL) -# -# First the most important one, liblo-bootstrap.so - $(call COPY,$(OUTDIR)/lib/liblo-bootstrap.so) -# -# Then the cppunittester "program". As all "program" -# files we build for Android actually is a shared object. - $(call COPY,$(OUTDIR)/bin/cppunit/cppunittester,libcppunittester.so) -# -# The cppunit library -# - $(call COPY,$(OUTDIR)/lib/libcppunit-1.13.so) -# -# The tests we run here -# - for F in sc_ucalc sc_filters_test; do \ - $(call COPY,$(WORKDIR)/LinkTarget/CppunitTest/libtest_$${F}.so); \ - done -# -# Libs and UNO components that the tests need. -# - for F in $(strip \ - analysislo \ - basegfxlo \ - bootstrap.uno \ - comphelpgcc3 \ - datelo \ - expwrap.uno \ - fastsax.uno \ - frmlo \ - gcc3_uno \ - i18nlangtaggcc3 \ - icudatalo \ - icui18nlo \ - iculelo \ - icuuclo \ - introspection.uno \ - jvmaccessgcc3 \ - jvmfwk \ - libotouchlo \ - localedata_en \ - localedata_es \ - localedata_euro \ - localedata_others \ - mergedlo \ - msfilterlo \ - ooxlo \ - reflection.uno \ - reg \ - sclo \ - scfiltlo \ - stocservices.uno \ - store \ - textinstream.uno \ - test \ - tllo \ - ucbhelper4gcc3 \ - uno_cppu \ - uno_cppuhelpergcc3 \ - uno_sal \ - uno_salhelpergcc3 \ - unobootstrapprotector \ - unoexceptionprotector \ - unotest \ - unoxmllo \ - vbahelperlo \ - xml2 \ - xmlreader \ - ); do \ - $(call COPY,$(OUTDIR)/lib/lib$${F}.so); \ - done -# -# Then the shared GNU C++ library - $(call COPY,$(ANDROID_NDK_HOME)/sources/cxx-stl/gnu-libstdc++/$(ANDROID_NDK_TOOLCHAIN_VERSION_SUBDIR)libs/$(ANDROID_APP_ABI)/libgnustl_shared.so) -# -# Then other "assets" that can be left in the .apk. Let the directory -# structure under assets mimic that under solver or workdir for now. - mkdir -p assets/bin assets/bin/ure assets/lib assets/xml/ure - cp $(OUTDIR)/bin/udkapi.rdb assets/bin - cp $(OUTDIR)/bin/types.rdb assets/bin - cp $(OUTDIR)/bin/ure/types.rdb assets/bin/ure -# - for F in xml/services xml/ure/services; do \ - cp $(OUTDIR)/$$F.rdb assets/$$F.rdb; \ - done -# 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... - for F in framework/util/fwk i18npool/util/i18npool sfx2/util/sfx ucb/source/core/ucb1 ucb/source/ucp/file/ucpfile1 unoxml/source/service/unoxml configmgr/source/configmgr basic/util/sb chart2/source/controller/chartcontroller chart2/source/tools/charttools chart2/source/model/chartmodel comphelper/util/comphelp dbaccess/util/dba eventattacher/source/evtatt fileaccess/source/fileacc filter/source/config/cache/filterconfig1 forms/util/frm oox/util/oox package/source/xstor/xstor package/util/package2 sax/source/expatwrap/expwrap sax/source/fastparser/fastsax sc/util/sc sc/util/scfilt scaddins/source/analysis/analysis scaddins/source/datefunc/date sot/util/sot svl/util/svl toolkit/util/tk ucb/source/ucp/tdoc/ucptdoc1 unotools/util/utl unoxml/source/rdf/unordf; do \ - mkdir -p assets/ComponentTarget/`dirname $$F`; \ - sed -e 's!uri="vnd.sun.star.expand:$$LO_LIB_DIR/!uri="$(APP_DATA_PATH)/lib/!g' <$(WORKDIR)/ComponentTarget/$$F.component >assets/ComponentTarget/$$F.component; \ - done - cp -R $(OUTDIR)/xml/registry assets/xml -# - mkdir -p assets/share/registry/res assets/share/config/soffice.cfg - cp $(OUTDIR)/xml/*.xcd assets/share/registry - mv assets/share/registry/fcfg_langpack_en-US.xcd assets/share/registry/res - cp -R $(OUTDIR)/xml/uiconfig/* assets/share/config/soffice.cfg - cp -R $(OUTDIR)/xml/registry/* assets/share/registry - cp $(OUTDIR)/bin/images_tango.zip assets/share/config/images.zip -# -# .res files - for F in $(OUTDIR)/bin/*.res; do \ - cp $$F assets/bin; \ - done -# -# rc is mandatory, the "inifile". See BootstrapMap::getBaseIni(). As this app -# doesn't use soffice_main() (at least I think it shouldn't), the -# rtl::Bootstrap::setIniFilename() call there that hardcodes -# /assets/program/lofficerc isn't executed. Instead the hardcoding of -# /assets/rc in BootstrapMap::getBaseIni() gets used. - echo '[Bootstrap]' > assets/rc - echo 'URE_BOOTSTRAP=file:///assets/program/fundamentalrc' >> assets/rc -# -# unorc is also mandatory. It seems that it *has* to contain the -# URE_INTERNAL_LIB_DIR, UNO_TYPES and UNO_SERVICES settings(?) - mkdir -p assets/program - echo "[Bootstrap]" > assets/program/unorc - echo "URE_INTERNAL_LIB_DIR=file://$(APP_DATA_PATH)/lib/" >> assets/program/unorc - echo "UNO_TYPES=file:///assets/bin/udkapi.rdb file:///assets/bin/types.rdb" >> assets/program/unorc - echo "UNO_SERVICES=file:///assets/xml/ure/services.rdb file:///assets/ComponentTarget/basic/util/sb.component file:///assets/ComponentTarget/chart2/source/controller/chartcontroller.component file:///assets/ComponentTarget/chart2/source/tools/charttools.component file:///assets/ComponentTarget/chart2/source/model/chartmodel.component file:///assets/ComponentTarget/comphelper/util/comphelp.component file:///assets/ComponentTarget/dbaccess/util/dba.component file:///assets/ComponentTarget/eventattacher/source/evtatt.component file:///assets/ComponentTarget/fileaccess/source/fileacc.component file:///assets/ComponentTarget/filter/source/config/cache/filterconfig1.component file:///assets/ComponentTarget/forms/util/frm.component file:///assets/ComponentTarget/oox/util/oox.component file:///assets/ComponentTarget/package/source/xstor/xstor.component file:///assets/ComponentTarget/package/util/package2.component file:///assets/ComponentTarget/sax/source/expatwrap/expwrap.component file:///assets/ComponentTarget/sax/source/fastparser/fastsax.component file:///assets/ComponentTarget/sc/util/sc.component file:///assets/ComponentTarget/sc/util/scfilt.component file:///assets/ComponentTarget/scaddins/source/analysis/analysis.component file:///assets/ComponentTarget/scaddins/source/datefunc/date.component file:///assets/ComponentTarget/sot/util/sot.component file:///assets/ComponentTarget/svl/util/svl.component file:///assets/ComponentTarget/toolkit/util/tk.component file:///assets/ComponentTarget/ucb/source/ucp/tdoc/ucptdoc1.component file:///assets/ComponentTarget/unotools/util/utl.component file:///assets/ComponentTarget/unoxml/source/rdf/unordf.component file:///assets/ComponentTarget/framework/util/fwk.component file:///assets/ComponentTarget/i18npool/util/i18npool.component file:///assets/ComponentTarget/sfx2/util/sfx.component file:///assets/ComponentTarget/unoxml/source/service/unoxml.component file:///assets/ComponentTarget/configmgr/source/configmgr.component file:///assets/ComponentTarget/ucb/source/core/ucb1.component file:///assets/ComponentTarget/ucb/source/ucp/file/ucpfile1.component" >> assets/program/unorc -# -# Hmm, maybe fundamentalrc, too - echo '[Bootstrap]' > assets/program/fundamentalrc - echo "LO_LIB_DIR=file:$(APP_DATA_PATH)/lib/" >> assets/program/fundamentalrc - echo "URE_LIB_DIR=file://$(APP_DATA_PATH)/lib/" >> assets/program/fundamentalrc # checkme - is this used to find configs ? - echo 'BRAND_BASE_DIR=file:///assets' >> assets/program/fundamentalrc - echo 'CONFIGURATION_LAYERS=xcsxcu:$${BRAND_BASE_DIR}/share/registry module:$${BRAND_BASE_DIR}/share/registry/modules res:$${BRAND_BASE_DIR}/share/registry' >> assets/program/fundamentalrc - echo 'URE_BIN_DIR=file:///assets/ure/bin/dir/not-here/can-we/exec-anyway' >> assets/program/fundamentalrc - echo 'URE_MORE_TYPES=file:///assets/bin/ure/types.rdb file:///assets/bin/types.rdb' >> assets/program/fundamentalrc - echo 'URE_MORE_SERVICES=file:///assets/xml/services.rdb <$$BRAND_BASE_DIR/program/services>*' >> assets/program/fundamentalrc - -# -# 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 -# The indirect command lines... - echo "SAL_LOG=+WARN+INFO $(APP_DATA_PATH)/lib/libtest_sc_ucalc.so --headless --protector libunoexceptionprotector.so unoexceptionprotector --protector libunobootstrapprotector.so unobootstrapprotector" >assets/unpack/ucalc.cmdline - echo "SAL_LOG=+WARN+INFO $(APP_DATA_PATH)/lib/libtest_sc_filters_test.so --headless --protector libunoexceptionprotector.so unoexceptionprotector --protector libunobootstrapprotector.so unobootstrapprotector" >assets/unpack/filters_test.cmdline -# -# Then gdbserver and gdb.setup so that we can debug with ndk-gdb. - cp $(ANDROID_NDK_GDBSERVER) $(SODEST) - echo set solib-search-path ./obj/local/$(ANDROID_APP_ABI) >$(SODEST)/gdb.setup - - -build-ant: copy-stuff properties - unset JAVA_HOME && $(ANT) debug - -install: copy-stuff properties - unset JAVA_HOME && $(ANT) debug install - @echo - @echo 'Run either "make run_ucalc" or "make run_filters_test"' - @echo - -uninstall: - $(ANDROID_SDK_HOME)/platform-tools/adb uninstall $(APP_PACKAGE) - -run_ucalc: - $(ANDROID_SDK_HOME)/platform-tools/adb shell am start -n $(APP_PACKAGE)/$(BOOTSTRAP) -e lo-main-library libcppunittester -e lo-main-indirect-cmdline $(APP_DATA_PATH)/ucalc.cmdline - -run_filters_test: - $(ANDROID_SDK_HOME)/platform-tools/adb shell am start -n $(APP_PACKAGE)/$(BOOTSTRAP) -e lo-main-library libcppunittester -e lo-main-indirect-cmdline $(APP_DATA_PATH)/filters_test.cmdline - -run: - @echo Make either run_ucalc or run_filters_test but not both right after each other - -# If you reinstall an app several times, even if you uninstall it -# between, disk space seems to leak that won't get recycled until you -# stop and start... -stop-start-cycle: - $(ANDROID_SDK_HOME)/platform-tools/adb shell stop && $(ANDROID_SDK_HOME)/platform-tools/adb shell start && sleep 10 - -clean: properties - $(ANT) clean - rm -rf assets $(SODEST) $(OBJLOCAL) - diff --git a/android/qa/sc/ant.properties b/android/qa/sc/ant.properties deleted file mode 100644 index ee52d86d94a4..000000000000 --- a/android/qa/sc/ant.properties +++ /dev/null @@ -1,17 +0,0 @@ -# This file is used to override default values used by the Ant build system. -# -# This file must be checked in Version Control Systems, as it is -# integral to the build system of your project. - -# This file is only used by the Ant script. - -# You can use this to override default values such as -# 'source.dir' for the location of your java source folder and -# 'out.dir' for the location of your output folder. - -# You can also use it define how the release builds are signed by declaring -# the following properties: -# 'key.store' for the location of your keystore and -# 'key.alias' for the name of the key to use. -# The password will be asked during the build when you use the 'release' target. - diff --git a/android/qa/sc/build.xml b/android/qa/sc/build.xml deleted file mode 100644 index 4aac2f548251..000000000000 --- a/android/qa/sc/build.xml +++ /dev/null @@ -1,84 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project name="LibreOfficeQA-SC" default="help"> - - <!-- The local.properties file is created and updated by the 'android' tool. - It contains the path to the SDK. It should *NOT* be checked into - Version Control Systems. --> - <loadproperties srcFile="local.properties" /> - - <!-- The ant.properties file can be created by you. It is only edited by the - 'android' tool to add properties to it. - This is the place to change some Ant specific build properties. - Here are some properties you may want to change/update: - - source.dir - The name of the source directory. Default is 'src'. - out.dir - The name of the output directory. Default is 'bin'. - - For other overridable properties, look at the beginning of the rules - files in the SDK, at tools/ant/build.xml - - Properties related to the SDK location or the project target should - be updated using the 'android' tool with the 'update' action. - - This file is an integral part of the build system for your - application and should be checked into Version Control Systems. - - --> - <property file="ant.properties" /> - - <!-- The project.properties file is created and updated by the 'android' - tool, as well as ADT. - - This contains project specific properties such as project target, and library - dependencies. Lower level build properties are stored in ant.properties - (or in .classpath for Eclipse projects). - - This file is an integral part of the build system for your - application and should be checked into Version Control Systems. --> - <loadproperties srcFile="project.properties" /> - - <!-- quick check on sdk.dir --> - <fail - message="sdk.dir is missing. Make sure to generate local.properties using 'android update project'" - unless="sdk.dir" - /> - - -<!-- extension targets. Uncomment the ones where you want to do custom work - in between standard targets --> -<!-- - <target name="-pre-build"> - </target> - <target name="-pre-compile"> - </target> - - /* This is typically used for code obfuscation. - Compiled code location: ${out.classes.absolute.dir} - If this is not done in place, override ${out.dex.input.absolute.dir} */ - <target name="-post-compile"> - </target> ---> - - <!-- Import the actual build file. - - To customize existing targets, there are two options: - - Customize only one target: - - copy/paste the target into this file, *before* the - <import> task. - - customize it to your needs. - - Customize the whole content of build.xml - - copy/paste the content of the rules files (minus the top node) - into this file, replacing the <import> task. - - customize to your needs. - - *********************** - ****** IMPORTANT ****** - *********************** - In all cases you must update the value of version-tag below to read 'custom' instead of an integer, - in order to avoid having your file be overridden by tools such as "android update project" - --> - <!-- version-tag: 1 --> - <import file="${android.library.reference.1}/no-resource-compress.xml" /> -</project> diff --git a/android/qa/sc/fonts.conf b/android/qa/sc/fonts.conf deleted file mode 100644 index 0eb05a2e3395..000000000000 --- a/android/qa/sc/fonts.conf +++ /dev/null @@ -1,134 +0,0 @@ -<?xml version="1.0"?> -<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> -<!-- /etc/fonts/fonts.conf file to configure system font access --> -<fontconfig> - -<!-- Font directory list --> - - <dir>/system/fonts</dir> - -<!-- - Accept deprecated 'mono' alias, replacing it with 'monospace' ---> - <match target="pattern"> - <test qual="any" name="family"> - <string>mono</string> - </test> - <edit name="family" mode="assign"> - <string>monospace</string> - </edit> - </match> - -<!-- - Accept alternate 'sans serif' spelling, replacing it with 'sans-serif' ---> - <match target="pattern"> - <test qual="any" name="family"> - <string>sans serif</string> - </test> - <edit name="family" mode="assign"> - <string>sans-serif</string> - </edit> - </match> - -<!-- - Accept deprecated 'sans' alias, replacing it with 'sans-serif' ---> - <match target="pattern"> - <test qual="any" name="family"> - <string>sans</string> - </test> - <edit name="family" mode="assign"> - <string>sans-serif</string> - </edit> - </match> - -<!-- - Load local system customization file ---> - <include ignore_missing="yes">conf.d</include> - -<!-- Font cache directory list --> - - <!-- Yeah this hardcoding is wrong of course, will have to fix - later to patch in proper code in fontonfig on Android to - find out a good place. - --> - <cachedir>/data/data/org.libreoffice.android.qa.sc/fontconfig</cachedir> - - <config> -<!-- - These are the default Unicode chars that are expected to be blank - in fonts. All other blank chars are assumed to be broken and - won't appear in the resulting charsets - --> - <blank> - <int>0x0020</int> <!-- SPACE --> - <int>0x00A0</int> <!-- NO-BREAK SPACE --> - <int>0x00AD</int> <!-- SOFT HYPHEN --> - <int>0x034F</int> <!-- COMBINING GRAPHEME JOINER --> - <int>0x0600</int> <!-- ARABIC NUMBER SIGN --> - <int>0x0601</int> <!-- ARABIC SIGN SANAH --> - <int>0x0602</int> <!-- ARABIC FOOTNOTE MARKER --> - <int>0x0603</int> <!-- ARABIC SIGN SAFHA --> - <int>0x06DD</int> <!-- ARABIC END OF AYAH --> - <int>0x070F</int> <!-- SYRIAC ABBREVIATION MARK --> - <int>0x115F</int> <!-- HANGUL CHOSEONG FILLER --> - <int>0x1160</int> <!-- HANGUL JUNGSEONG FILLER --> - <int>0x1680</int> <!-- OGHAM SPACE MARK --> - <int>0x17B4</int> <!-- KHMER VOWEL INHERENT AQ --> - <int>0x17B5</int> <!-- KHMER VOWEL INHERENT AA --> - <int>0x180E</int> <!-- MONGOLIAN VOWEL SEPARATOR --> - <int>0x2000</int> <!-- EN QUAD --> - <int>0x2001</int> <!-- EM QUAD --> - <int>0x2002</int> <!-- EN SPACE --> - <int>0x2003</int> <!-- EM SPACE --> - <int>0x2004</int> <!-- THREE-PER-EM SPACE --> - <int>0x2005</int> <!-- FOUR-PER-EM SPACE --> - <int>0x2006</int> <!-- SIX-PER-EM SPACE --> - <int>0x2007</int> <!-- FIGURE SPACE --> - <int>0x2008</int> <!-- PUNCTUATION SPACE --> - <int>0x2009</int> <!-- THIN SPACE --> - <int>0x200A</int> <!-- HAIR SPACE --> - <int>0x200B</int> <!-- ZERO WIDTH SPACE --> - <int>0x200C</int> <!-- ZERO WIDTH NON-JOINER --> - <int>0x200D</int> <!-- ZERO WIDTH JOINER --> - <int>0x200E</int> <!-- LEFT-TO-RIGHT MARK --> - <int>0x200F</int> <!-- RIGHT-TO-LEFT MARK --> - <int>0x2028</int> <!-- LINE SEPARATOR --> - <int>0x2029</int> <!-- PARAGRAPH SEPARATOR --> - <int>0x202A</int> <!-- LEFT-TO-RIGHT EMBEDDING --> - <int>0x202B</int> <!-- RIGHT-TO-LEFT EMBEDDING --> - <int>0x202C</int> <!-- POP DIRECTIONAL FORMATTING --> - <int>0x202D</int> <!-- LEFT-TO-RIGHT OVERRIDE --> - <int>0x202E</int> <!-- RIGHT-TO-LEFT OVERRIDE --> - <int>0x202F</int> <!-- NARROW NO-BREAK SPACE --> - <int>0x205F</int> <!-- MEDIUM MATHEMATICAL SPACE --> - <int>0x2060</int> <!-- WORD JOINER --> - <int>0x2061</int> <!-- FUNCTION APPLICATION --> - <int>0x2062</int> <!-- INVISIBLE TIMES --> - <int>0x2063</int> <!-- INVISIBLE SEPARATOR --> - <int>0x206A</int> <!-- INHIBIT SYMMETRIC SWAPPING --> - <int>0x206B</int> <!-- ACTIVATE SYMMETRIC SWAPPING --> - <int>0x206C</int> <!-- INHIBIT ARABIC FORM SHAPING --> - <int>0x206D</int> <!-- ACTIVATE ARABIC FORM SHAPING --> - <int>0x206E</int> <!-- NATIONAL DIGIT SHAPES --> - <int>0x206F</int> <!-- NOMINAL DIGIT SHAPES --> - <int>0x2800</int> <!-- BRAILLE PATTERN BLANK --> - <int>0x3000</int> <!-- IDEOGRAPHIC SPACE --> - <int>0x3164</int> <!-- HANGUL FILLER --> - <int>0xFEFF</int> <!-- ZERO WIDTH NO-BREAK SPACE --> - <int>0xFFA0</int> <!-- HALFWIDTH HANGUL FILLER --> - <int>0xFFF9</int> <!-- INTERLINEAR ANNOTATION ANCHOR --> - <int>0xFFFA</int> <!-- INTERLINEAR ANNOTATION SEPARATOR --> - <int>0xFFFB</int> <!-- INTERLINEAR ANNOTATION TERMINATOR --> - </blank> -<!-- - Rescan configuration every 30 seconds when FcFontSetList is called - --> - <rescan> - <int>30</int> - </rescan> - </config> - -</fontconfig> diff --git a/android/qa/sc/jni/Android.mk b/android/qa/sc/jni/Android.mk deleted file mode 100644 index c5c2ed3b0293..000000000000 --- a/android/qa/sc/jni/Android.mk +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright (C) 2009 The Android Open Source Project -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -LOCAL_PATH := $(call my-dir) - -include $(CLEAR_VARS) - -LOCAL_MODULE := dummy -LOCAL_SRC_FILES := dummy.c -LOCAL_LDLIBS := - -include $(BUILD_SHARED_LIBRARY) diff --git a/android/qa/sc/project.properties b/android/qa/sc/project.properties deleted file mode 100644 index 06b2d880c3d4..000000000000 --- a/android/qa/sc/project.properties +++ /dev/null @@ -1,14 +0,0 @@ -# This file is automatically generated by Android Tools. -# Do not modify this file -- YOUR CHANGES WILL BE ERASED! -# -# This file must be checked in Version Control Systems. -# -# To customize properties used by the Ant build system use, -# "ant.properties", and override values to adapt the script to your -# project structure. - -# Project target. -target=android-14 - -# Use the Bootstrap class -android.library.reference.1=../../Bootstrap diff --git a/android/qa/sc/res/layout/main.xml b/android/qa/sc/res/layout/main.xml deleted file mode 100644 index 5839d8cda704..000000000000 --- a/android/qa/sc/res/layout/main.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:orientation="vertical" - android:layout_width="fill_parent" - android:layout_height="fill_parent" - > -<TextView - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:text="Hello World" - /> -</LinearLayout> diff --git a/android/qa/sc/res/values/strings.xml b/android/qa/sc/res/values/strings.xml deleted file mode 100644 index e4de92afb0b5..000000000000 --- a/android/qa/sc/res/values/strings.xml +++ /dev/null @@ -1,4 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<resources> - <string name="app_name">LibreOfficeQA-SC</string> -</resources> diff --git a/android/qa/sc/src/dummyfile b/android/qa/sc/src/dummyfile deleted file mode 100644 index e69de29bb2d1..000000000000 --- a/android/qa/sc/src/dummyfile +++ /dev/null diff --git a/android/qa/simple/AndroidManifest.xml b/android/qa/simple/AndroidManifest.xml deleted file mode 100644 index fc18a3960f5a..000000000000 --- a/android/qa/simple/AndroidManifest.xml +++ /dev/null @@ -1,23 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<manifest xmlns:android="http://schemas.android.com/apk/res/android" - package="org.libreoffice.android.qa" - android:versionCode="1" - android:versionName="1.0"> - <uses-sdk android:minSdkVersion="9" /> - - <application android:label="@string/app_name" - android:debuggable="true"> - <!-- Bootstrap is the subclass of android.app.NativeActivity --> - <activity android:name="org.libreoffice.android.Bootstrap" - android:label="LO simple cppunittests" - android:configChanges="orientation|keyboardHidden"> - <!-- Tell NativeActivity the name of our .so --> - <meta-data android:name="android.app.lib_name" - android:value="lo-bootstrap" /> - <intent-filter> - <action android:name="android.intent.action.MAIN" /> - <category android:name="android.intent.category.LAUNCHER" /> - </intent-filter> - </activity> - </application> -</manifest> diff --git a/android/qa/simple/Makefile b/android/qa/simple/Makefile deleted file mode 100644 index 150c080be302..000000000000 --- a/android/qa/simple/Makefile +++ /dev/null @@ -1,130 +0,0 @@ -THIS DIRECTORY IS UNMAINTAINED AND PRESUMABLY BROKEN ALREADY - - -include ../../../config_host.mk - -# The package of this app -APP_PACKAGE=org.libreoffice.android.qa - -# The name of the Bootstrap activity class -BOOTSTRAP=org.libreoffice.android.Bootstrap - -# The full path the app's directory needs to be supplied in a -# couple of places, unfortunately. - -APP_DATA_PATH=/data/data/$(APP_PACKAGE) - -SODEST=libs/$(ANDROID_APP_ABI) -OBJLOCAL=obj/local/$(ANDROID_APP_ABI) - -define COPY -cp $(1) $(SODEST)$(if $(2),/$(2)) && $(STRIP) --strip-debug $(SODEST)$(if $(2),/$(2),/$(notdir $(1))) && \ -cp $(1) $(OBJLOCAL)$(if $(2),/$(2)) -endef - -# The default target just builds. - -all: build-ant - -copy-stuff: -# -# Copy shared libraries we need to libs/$(ANDROID_APP_ABI) so that ant will -# include them in the .apk. -# -# Copy them to obj/local/$(ANDROID_APP_ABI), too, where gdb will look for -# them. -# - mkdir -p $(SODEST) $(OBJLOCAL) -# -# First the most important one, liblo-bootstrap.so - $(call COPY,$(OUTDIR)/lib/liblo-bootstrap.so) -# -# Then the cppunittester "program". As all "program" -# files we build for Android actually is a shared object. - $(call COPY,$(OUTDIR)/bin/cppunit/cppunittester,libcppunittester.so) -# -# The cppunit library - $(call COPY,$(OUTDIR)/lib/libcppunit-1.13.so) -# -# cppunit "plug-ins", first ones from sal -# - $(call COPY,$(OUTDIR)/lib/libuno_sal*.so) -# -# and ones from other modules. Note that depending on when you try -# this, these might not have been built yet. -# - for F in i18npool_test_breakiterator cppu cppuhelper sal; do \ - $(call COPY,$(WORKDIR)/LinkTarget/CppunitTest/libtest_$${F}*.so); \ - done -# -# Other "programs" - $(call COPY,$(OUTDIR)/bin/uno,libunoexe.so) -# -# Libs and UNO components that the tests from other modules need. -# - for F in $(strip \ - comphelpgcc3 \ - gcc3_uno \ - i18nlangtaggcc3 \ - icudatalo \ - icui18nlo \ - icuuclo \ - localedata_en \ - localedata_others \ - mergedlo \ - reg \ - store \ - ucbhelper4gcc3 \ - uno_cppu \ - uno_salhelpergcc3 \ - uno_cppuhelpergcc3 \ - unoexceptionprotector \ - xml2 \ - xmlreader \ - bootstrap.uno \ - ); do \ - $(call COPY,$(OUTDIR)/lib/lib$${F}.so); \ - done -# -# Then the shared GNU C++ library - $(call COPY,$(ANDROID_NDK_HOME)/sources/cxx-stl/gnu-libstdc++/libs/$(ANDROID_APP_ABI)/libgnustl_shared.so) -# -# bridgetest components, not in solver - for F in bridgetest constructors cppobj; do \ - $(call COPY,$(SRC_ROOT)/testtools/$(INPATH)/lib/lib$${F}.uno.so); \ - done -# -# Then other "assets". Let the directory structure under assets mimic -# that under solver for now. - mkdir -p assets/bin assets/lib assets/xml/ure assets/ComponentTarget/i18npool/util - cp $(OUTDIR)/bin/udkapi.rdb assets/bin - cp $(OUTDIR)/bin/types.rdb assets/bin - cp $(OUTDIR)/xml/ure/services.rdb assets/xml/ure - cp $(WORKDIR)/ComponentTarget/i18npool/util/i18npool.component assets/ComponentTarget/i18npool/util - for F in uno_services uno_types; do \ - sed -e 's!uri="./!uri="$(APP_DATA_PATH)/lib/!g' <$(SRC_ROOT)/testtools/$(INPATH)/lib/$${F}.rdb >assets/lib/$${F}.rdb; \ - done - -build-ant: copy-stuff - unset JAVA_HOME && ant debug - -install: copy-stuff - unset JAVA_HOME && ant debug install - @echo - @echo 'Run it with something like what "make run" does (see Makefile)' - @echo - -run: -# Note: these are just examples. -# - adb shell am start -n $(APP_PACKAGE)/$(BOOTSTRAP) -e lo-main-library libcppunittester -e lo-main-cmdline "$(APP_DATA_PATH)/lib/libqa_sal_types.so" -# - sleep 10 - adb shell am start -n $(APP_PACKAGE)/$(BOOTSTRAP) -e lo-main-library libcppunittester -e lo-main-cmdline "$(APP_DATA_PATH)/lib/libtest_i18npool_test_breakiterator.so --protector libunoexceptionprotector.so unoexceptionprotector '-env:UNO_TYPES=file:///assets/bin/udkapi.rdb file:///assets/bin/types.rdb' '-env:UNO_SERVICES=file:///assets/xml/ure/services.rdb file:///assets/ComponentTarget/i18npool/util/i18npool.component' -env:LO_LIB_DIR=file://$(APP_DATA_PATH)/lib" -# -# adb shell am start -n $(APP_PACKAGE)/$(BOOTSTRAP) -e lo-main-library libunoexe -e lo-main-cmdline "-ro /assets/lib/uno_services.rdb -ro /assets/lib/uno_types.rdb -s com.sun.star.test.bridge.BridgeTest -- com.sun.star.test.bridge.CppTestObject" -e lo-main-delay 2 - -clean: - ant clean - rm -rf assets $(SODEST) $(OBJLOCAL) - diff --git a/android/qa/simple/ant.properties b/android/qa/simple/ant.properties deleted file mode 100644 index ee52d86d94a4..000000000000 --- a/android/qa/simple/ant.properties +++ /dev/null @@ -1,17 +0,0 @@ -# This file is used to override default values used by the Ant build system. -# -# This file must be checked in Version Control Systems, as it is -# integral to the build system of your project. - -# This file is only used by the Ant script. - -# You can use this to override default values such as -# 'source.dir' for the location of your java source folder and -# 'out.dir' for the location of your output folder. - -# You can also use it define how the release builds are signed by declaring -# the following properties: -# 'key.store' for the location of your keystore and -# 'key.alias' for the name of the key to use. -# The password will be asked during the build when you use the 'release' target. - diff --git a/android/qa/simple/build.xml b/android/qa/simple/build.xml deleted file mode 100644 index 5b385be4e380..000000000000 --- a/android/qa/simple/build.xml +++ /dev/null @@ -1,84 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project name="LibreOfficeQA-simple" default="help"> - - <!-- The local.properties file is created and updated by the 'android' tool. - It contains the path to the SDK. It should *NOT* be checked into - Version Control Systems. --> - <loadproperties srcFile="local.properties" /> - - <!-- The ant.properties file can be created by you. It is only edited by the - 'android' tool to add properties to it. - This is the place to change some Ant specific build properties. - Here are some properties you may want to change/update: - - source.dir - The name of the source directory. Default is 'src'. - out.dir - The name of the output directory. Default is 'bin'. - - For other overridable properties, look at the beginning of the rules - files in the SDK, at tools/ant/build.xml - - Properties related to the SDK location or the project target should - be updated using the 'android' tool with the 'update' action. - - This file is an integral part of the build system for your - application and should be checked into Version Control Systems. - - --> - <property file="ant.properties" /> - - <!-- The project.properties file is created and updated by the 'android' - tool, as well as ADT. - - This contains project specific properties such as project target, and library - dependencies. Lower level build properties are stored in ant.properties - (or in .classpath for Eclipse projects). - - This file is an integral part of the build system for your - application and should be checked into Version Control Systems. --> - <loadproperties srcFile="project.properties" /> - - <!-- quick check on sdk.dir --> - <fail - message="sdk.dir is missing. Make sure to generate local.properties using 'android update project'" - unless="sdk.dir" - /> - - -<!-- extension targets. Uncomment the ones where you want to do custom work - in between standard targets --> -<!-- - <target name="-pre-build"> - </target> - <target name="-pre-compile"> - </target> - - /* This is typically used for code obfuscation. - Compiled code location: ${out.classes.absolute.dir} - If this is not done in place, override ${out.dex.input.absolute.dir} */ - <target name="-post-compile"> - </target> ---> - - <!-- Import the actual build file. - - To customize existing targets, there are two options: - - Customize only one target: - - copy/paste the target into this file, *before* the - <import> task. - - customize it to your needs. - - Customize the whole content of build.xml - - copy/paste the content of the rules files (minus the top node) - into this file, replacing the <import> task. - - customize to your needs. - - *********************** - ****** IMPORTANT ****** - *********************** - In all cases you must update the value of version-tag below to read 'custom' instead of an integer, - in order to avoid having your file be overridden by tools such as "android update project" - --> - <!-- version-tag: 1 --> - <import file="${android.library.reference.1}/no-resource-compress.xml" /> -</project> diff --git a/android/qa/simple/project.properties b/android/qa/simple/project.properties deleted file mode 100644 index 06b2d880c3d4..000000000000 --- a/android/qa/simple/project.properties +++ /dev/null @@ -1,14 +0,0 @@ -# This file is automatically generated by Android Tools. -# Do not modify this file -- YOUR CHANGES WILL BE ERASED! -# -# This file must be checked in Version Control Systems. -# -# To customize properties used by the Ant build system use, -# "ant.properties", and override values to adapt the script to your -# project structure. - -# Project target. -target=android-14 - -# Use the Bootstrap class -android.library.reference.1=../../Bootstrap diff --git a/android/qa/simple/res/layout/main.xml b/android/qa/simple/res/layout/main.xml deleted file mode 100644 index 5839d8cda704..000000000000 --- a/android/qa/simple/res/layout/main.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:orientation="vertical" - android:layout_width="fill_parent" - android:layout_height="fill_parent" - > -<TextView - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:text="Hello World" - /> -</LinearLayout> diff --git a/android/qa/simple/res/values/strings.xml b/android/qa/simple/res/values/strings.xml deleted file mode 100644 index f296dd4b137d..000000000000 --- a/android/qa/simple/res/values/strings.xml +++ /dev/null @@ -1,4 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<resources> - <string name="app_name">LibreOfficeBootstrap</string> -</resources> diff --git a/android/qa/simple/src/dummyfile b/android/qa/simple/src/dummyfile deleted file mode 100644 index e69de29bb2d1..000000000000 --- a/android/qa/simple/src/dummyfile +++ /dev/null |