diff options
author | Ying Wang <wangying@google.com> | 2014-01-03 16:24:56 -0800 |
---|---|---|
committer | Ying Wang <wangying@google.com> | 2014-01-03 17:53:00 -0800 |
commit | 9db168ca5ce93cbb43f7245f7163f1be2ff06d54 (patch) | |
tree | e9922c945d2a303c71e8a66278f1c3ca28061006 /target/product/base.mk | |
parent | 6e8ffe3f1e328ee71354b539e63b34b2342160a8 (diff) | |
download | build-9db168ca5ce93cbb43f7245f7163f1be2ff06d54.zip build-9db168ca5ce93cbb43f7245f7163f1be2ff06d54.tar.gz build-9db168ca5ce93cbb43f7245f7163f1be2ff06d54.tar.bz2 |
Remove LOCAL_SRC_FILES as precondition of enabling dexpreopt
Because a library or app can be built from mere static libraries,
or generated java files. For example, framework is built from only
static library framework-base but without LOCAL_SRC_FILES.
Also added framework2 to PRODUCT_PACKAGES.
Previously framework2.jar was installed by dependency explicitly
established in frameworks/base/Android.mk. That's not enough for the
.odex file.
This fixed the boot failure reported in bug 12382916.
Bug: 12382916
Change-Id: If1a70261ab2bb7fef77cf7b7b995bdc029be0fc3
Diffstat (limited to 'target/product/base.mk')
-rw-r--r-- | target/product/base.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/product/base.mk b/target/product/base.mk index 6725c0d..68babad 100644 --- a/target/product/base.mk +++ b/target/product/base.mk @@ -31,6 +31,7 @@ PRODUCT_PACKAGES += \ dhcpcd-run-hooks \ dnsmasq \ framework \ + framework2 \ fsck_msdos \ ime \ javax.obex \ |