Граф коммитов

3 Коммитов

Автор SHA1 Сообщение Дата
Adrian Mascarenhas 08c6b2cc0c Merged PR 2342853: [MSIX SDK] reduce binary size on android by switching to use inbox java xml parser on android instead of xerces
reducing the msix sdk binary size for android by ~3.5MB by switching to use the inbox android java xml no validation parser instead of xerces. This reduces the libmsix.so from ~5.8MB to ~2.3 MB.
- Need to use JNI interop for accessing the java xml parser elements. Made sure that local refs to java objects are released when done.
-by default on android, it will use javaxml. For flexibility, if one still wants to use the native xerces parse, they can use the -parser-xerces build flag.
- verified that androidBVT tests pass.

Related work items: #18565184
2018-10-09 13:44:15 -07:00
Ruben Guerrero Samaniego 422004ec30 Merged PR 1303562: Remove C++ runtime static dependency on Android
This change removes the size of the Android binary by around 5MB and decreases our build time for all platforms.

- Remove C++ runtime static dependency on Android by changing Xerces to be a subtree instead of a submodule.
- Subtree made from Xerces repo tag Xerces-C_3_2_0  commit dffc3028df8ea44985c92f2df28115860e39e344
- Changes to Xerces to avoid using mblen and use mbrlen to be able to compile for Android API level 19
- Adds switch to build Xerces tests and samples (OFF by default)
- Changes AOSP scripts to build for level 19

Related work items: #15424024
2018-01-11 23:31:31 +00:00
Ruben Guerrero Samaniego 91c4aa6ede Merged PR 1208715: Enable Android build
Scripts for building Android on Linux for our build system and for windows for local development.
Archs:
- x86
- arm
- armv7a
- arm64
2017-12-12 20:50:36 +00:00