赞
踩
# perbuilt.mk
BUILD_PREBUILT
# multi_perbuilt.mk
BUILD_MULTI_PREBUILT
Perbuilt
针对独立文件的操作。
Multi_Perbuilt
针对多个文件,对多个文件进行判断,调用Prebuilt依次处理。
LOCAL_PATH := $(call my-dir)
##############################
include $(CLEAR_VARS)
LOCAL_SRC_FILES := xxx.file
LOCAL_MODULE_CLASS := ETC
LOCAL_MODULE_PATH := /xxx/xxx/xxx/
LOCAL_MODULE := xxx.file
include $(BUILD_PREBUILT)
LOCAL_PATH := $(call my-dir)
##############################
#include #(CLEAR_VARS)
LOCAL_PREBUILT_LIBS := libxxx.so
LOCAL_MODULE_PATH := /xxx/xxx/xxx/lib
LOCAL_MODULE_TAGS := optional
LOCAL_STRIP_MODULE := true
include $(BUILD_MULTI_PREBUILT)
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。