shared library I --- will copy to system/lib
====================
LOCAL_PATH := $(my-dir)
include $(CLEAR_VARS)
LOCAL_PREBUILT_LIBS := libxxx.so
LOCAL_MODULE_TAGS := optional
include $(BUILD_MULTI_PREBUILT)
====================
shared library II --- will copy to system/lib/extra
====================
LOCAL_PATH := $(my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/extra
LOCAL_PRELINK_MODULE := false
LOCAL_PREBUILT_LIBS := libxxx.so
LOCAL_MODULE := libxxx
LOCAL_MODULE_TAGS := optional
include $(BUILD_SHARED_LIBRARY)
====================
execution file -- will copy to system/bin
====================
LOCAL_PATH := $(my-dir)
include $(CLEAR_VARS)
LOCAL_PREBUILT_EXECUTABLES := sample.exe
LOCAL_MODULE_TAGS := optional
include $(BUILD_MULTI_PREBUILT)
====================
apk file -- will copy to system/app
====================
LOCAL_PATH := $(my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := sample
LOCAL_SRC_FILES := $(LOCAL_MODULE).apk
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := APPS
LOCAL_MODULE_SUFFIX := $(COMMON_ANDROID_PACKAGE_SUFFIX)
LOCAL_CERTIFICATE := xxxx
include $(BUILD_PREBUILT)
====================
jar file -- will copy to system/framework
====================
LOCAL_PATH := $(my-dir)
include $(CLEAR_VARS)
LOCAL_STATIC_JAVA_LIBRARIES := libxxx
LOCAL_MODULE := com.aaa.bbb.xxx.jar
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := JAVA_LIBRARIES
LOCAL_MODULE_PATH := $(ATRGET_OUT_JAVA_LIBRARIES)
LOCAL_SRC_FILES := $(LOCAL_MODULE)
include $(BUILD_PREBUILT)
====================
xml file -- will copy to system/etc/permissions
====================
LOCAL_PATH := $(my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := com.aaa.bbb.xxx.xml
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := ETC
LOCAL_MODULE_PATH := $(ATRGET_OUT_ETC)/permissions
LOCAL_SRC_FILES := $(LOCAL_MODULE)
include $(BUILD_PREBUILT)
====================
沒有留言:
張貼留言