Android 中加入第三方的jar, apk, so, .a文件。
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_PREBUILT_LIBS:=xxx.so xxx.a
# xxx will be copied to system/lib/
LOCAL_PREBUILT_EXECUTABLES:=xxx
# file will be copied to system/bin
LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES:=xxx.jar
# file will be integrated into javalib.jar
LOCAL_PREBUILT_JAVA_LIBRARIES:=xxx.jar
# #file will be copied to system/framework/
LOCAL_PREBUILT_STRIP_COMMENTS:=
include $(BUILD_MULTI_PREBUILT)
for more see:
/mnt/sdb1/android_froyo/froyo-clean//build/core/config.mk
/mnt/sdb1/android_froyo/froyo-clean//build/core/multi_prebuilt.mk