No description
Find a file
Ying Wang 3a61eeb6cb Rebuild odex files in PDK fusion build.
To rebuild odex files of Java libraries and apps,
we store the jars/apks without stripping the classes.dex inside the
platform.zip. We also save the build variables that may affect how we
rebuild an odex in pdk_dexpreopt_config.mk in the platform.zip.
We store the files and configuration only for libraries/apps that get
installed to the system.img (or vendor.img).

In PDK fusion build, we auto-generate prebuilt module definitions for
the javalib.jar and package.dex.apk carried in the platform.zip, using
configuration stored in pdk_dexpreopt_config.mk.
With the prebult modules, we override the implicit rule that directly
copies the odex from the platform.zip.
To rebuild odex of javalib.jar, we added support for prebuilt shared Java
library to prebiult_internal.mk. An installable prebuilt Java library is
treated as shared Java library, i.e. with classes.dex in the jar instead
of a set of .class files.
For apks in the platform.zip, we install the stripped version from
platform files inside platform.zip, instead of the package.dex.apk,
using a new variable LOCAL_REPLACE_PREBUILT_APK_INSTALLED. We can't
strip package.dex.apk because we can't re-sign the stripped apk at this
point.

We generate prebuilt module only if it's not already defined in the
source tree.

Bug: 27543283
Change-Id: I9e146f8b713d6f57c397fd28d88c9ab700757ca1
2016-03-14 21:01:46 -07:00
core Rebuild odex files in PDK fusion build. 2016-03-14 21:01:46 -07:00
libs/host Clean up Mac OS hacks in acp slightly. 2016-01-05 09:32:42 -08:00
target Emulator: Bump arm(64) system image partition size to 1.75 GB 2016-03-14 18:07:31 +00:00
tools Fix two cosmetic issues in signapk. 2016-03-14 15:13:30 -07:00
.gitignore Add build subprojects to .gitignore 2015-07-23 13:18:47 -07:00
buildspec.mk.default Remove WEBCORE_INSTRUMENTATION and ENABLE_SVG 2013-07-25 15:52:17 -07:00
CleanSpec.mk Merge "CleanSpec: Clean up /recovery/root/sdcard." am: b69d3b28a5 2016-01-22 18:53:15 +00:00
envsetup.sh Small fixes. 2016-03-04 14:02:25 -08:00