Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 30f0b7ea authored by Sergey Ten's avatar Sergey Ten Committed by Josh Guilfoyle
Browse files

This is a patch I've checked in in the old repo and apparently it was not ported to devpde01.

This is a first scoop of bringing in aapt tool on a device. We just build aapt as a stand-alone executable for both HOST and TARGET platforms. In future release, we plan to re-factor existing code to produce libaapt library (static for HOST and shared for TARGET), to make sure that the functionality implemented by the library would be exposed (via JNI) to the Java layer. That way, we would be able to invoke aapt in-proc from Java code, instead of spawning a separate process.Here is a brief description of the changes:1. Introduced HOST_LIB compile flag to differentiate HOST and TARGET flavors.2. Moved ZipFile.cpp and ZipEntry.cpp (libutils) from hostSources to commonSources, DESPITE GOOGLE's COMMENT in Android.mk.3. Currently, only 3 following commands are supported by aapt on device:   - create a compiled resource package (package command);   - add new resource to existing package (add command);   - remove resource from existing package (remove command).
parent bcf0e70f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment