about DEXPREOPT_BOOT_JARS related

来源:互联网 发布:网络之混元法师txt下载 编辑:程序博客网 时间:2024/05/18 01:25
According to my team it needs to add the library into BOOTCLASSPATH and
DEXPREOPT_BOOT_JARS. And please add framework2 into the product definition
file like build/target/product/core.mk or add framework2 into
LOCAL_REQUIRED_MODULES of framework definition.

But it may be better for AOSP to move some classes to other java
libraries listed in BOOTCLASSPATH or make another library.


- build/core/*dex_preopt.mk*
- DEXPREOPT_BOOT_JARS := core:core-junit:bouncycastle:ext:framework:*
framework2*:android.policy:services:apache-xml
- system/core/rootdir/*init.rc*
- export BOOTCLASSPATH
/system/framework/core.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar
*:/system/framework/framework2.jar*
:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/apache-xml.jar