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

12 Коммитов

Автор SHA1 Сообщение Дата
Ruben Guerrero add4a30436
Fix Issue 224 (#239) 2019-10-14 18:11:19 -07:00
Ruben Guerrero acc3972515
Disable pack for mobile (#131) 2019-05-12 22:12:51 -07:00
Ruben Guerrero 77c2b1297b
Add CMake MSIX_PACK option (#114) 2019-05-02 11:29:11 -07:00
Ruben Guerrero c5f30923b1
Add 19H1 schemas and enable manifest schema validation for Xerces (#82) 2019-04-10 14:59:39 -07:00
Ruben Guerrero 92b0aa891a
Setup pipelines AOSP (#60) 2019-03-08 14:03:10 -08:00
Ruben Guerrero 1aecf4fe11
Azure pipelines Linux (#56) 2019-03-06 17:47:14 -08:00
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 dea2e72be9 Merged PR 2308191: [MSIX SDK] add a c-make switch to exclude bundles from unpack
Enable the user to disable bundle support for the SDK by specifying -DSKIP_BUNDLES=on on CMake. If the user tries to unpack a bundle or create a bundle factory they will get 0x80070032 (E_NOTSUPPORTED). The binary size decreases ~60k.

Win x64
- bundle: 464 k
- no bundle: 413 k

Win x86
- bundle: 330 k
- no bundle: 293 k

Linux
- bundle: 5,424 k
- no bundle: 5,330 k

AOSP arm
- bundle: 4,381 k
- no bundle: 4,313 k

AOSP arm v7a
- bundle: 4,288 k
- no bundle: 4,220 k

MacOS
- bundle: 4,487 k
- no bundle: 4,413 k

iOS arm64
- bundle: 4,516 k
- no bundle: 4,458 k

Related work items: #18753331
2018-09-21 15:57:06 -07:00
Adrian Mascarenhas fad5fc8b2a Merged PR 2300105: switch to use inbox zlib on android.
updating android to use the ndk version of libz.so instead of the static lib built in the xplatappx repo. If you want to use the xplatappx one instead, you can specify the -xzlib build option to makeaosp.sh
Refactored the inflatestream code to keep the common portions of stream state management and pulled out the compression implementation specifics into a compressionObject PAL implementation.
This reduces the binary size by ~30K on android.

Related work items: #18607665
2018-09-21 15:57:06 -07:00
Ruben Guerrero Samaniego d601808a55 Merged PR 1862819: Support having more than one language on Android for devices running on level 24 or higher.
Android added, on API level 24 support for having more than one language on the device . MSIX min API level is 19, so we can't use Configuration.getLocales() to obtain them and we have to use the deprecated attribute Configuration.locale. We should support returning multiple languages for devices were it is supported and only one when is not possible.

Also add documentation on the README about Android support and removed expecting always $ANDROID_HOME as an environment variable by adding a new switch on CMake that expects the SDK path.

There isn't a problem in building a jar with a higher API level and then run it on a lower API level device. However, there is a problem in building the native lib on a higher API level than one of the device. This is why the distinction has to be made between the NDK and SDK level. In less words, the NDK minimum is 19 and the SDK minimum is 24.

Related work items: #17634105
2018-09-21 15:57:06 -07:00
Ruben Guerrero Samaniego 7e05b7959b Merged PR 1424038: Rename CrossPlat files from appx to MSIX
This change contains the renaming from xPlatAppx to MSIX Packaging SDK

Binaries
- xPlatAppx.dll -> msix.dll
- MakexPlatAppx.exe -> makemsix.exe

Export rename
- UnpackAppx ->UnpackPackage

Related work items: #15704951
2018-02-13 21:25:38 +00:00
Ruben Guerrero Samaniego 1c47d75ea6 Merged PR 1407725: Clean up scripts fro non Win platforms
Less scripts to run our build.

Related work items: #15816394
2018-02-06 18:51:14 +00:00