diff options
author | Sergey Ten <sergey.ten6@t-mobile.com> | 2009-03-10 14:29:28 -0700 |
---|---|---|
committer | Josh Guilfoyle <Josh.Guilfoyle@T-Mobile.com> | 2009-07-14 13:50:34 -0700 |
commit | 30f0b7eac75e70e8cedce42b614f33ef5c0a5785 (patch) | |
tree | ed4b1755ac0fbf3d589c6493328b39f27c91f01d /include | |
parent | bcf0e70fdbdced2a6f3df7369156da0eef9eefaf (diff) | |
download | frameworks_base-30f0b7eac75e70e8cedce42b614f33ef5c0a5785.zip frameworks_base-30f0b7eac75e70e8cedce42b614f33ef5c0a5785.tar.gz frameworks_base-30f0b7eac75e70e8cedce42b614f33ef5c0a5785.tar.bz2 |
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).
Diffstat (limited to 'include')
-rw-r--r-- | include/utils/Asset.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/utils/Asset.h b/include/utils/Asset.h index 453a204..7b8d96a 100644 --- a/include/utils/Asset.h +++ b/include/utils/Asset.h @@ -63,7 +63,7 @@ public: enum { /* data larger than this does not get uncompressed into a buffer */ #ifdef HAVE_ANDROID_OS - UNCOMPRESS_DATA_MAX = 1 * 1024 * 1024 + UNCOMPRESS_DATA_MAX = 2 * 1024 * 1024 #else UNCOMPRESS_DATA_MAX = 2 * 1024 * 1024 #endif |