Android.mk 文件编写
作者:互联网
Android.mk
-
以下内容通常够用,如需添加其他变量,百度查看
LOCAL_PATH:= $(call my-dir) //源码所在目录,写法固定 include $(CLEAR_VARS) //清除除外LOCAL_PATH变量以外的其他缓存变量
LOCAL_PACKAGE_NAME := Test //apk名称 LOCAL_CERTIFICATE := platform //签名方式 LOCAL_PRIVILEGED_MODULE := true // LOCAL_MODULE_TAGS := optional
LOCAL_SRC_FILES := $(call all-java-files-under, src) LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res
include $(BUILD_PACKAGE)
标签:PACKAGE,mk,call,PATH,编写,Android,include,LOCAL 来源: https://www.cnblogs.com/a-n-yan/p/16659466.html