Build system 英文说明 -- Andrlid.mk说明

本文的位置 在源码的 build/core/build-system.html ,以下 部分 文档 是 本人 觉得  比较 重要的 地方,尽量看 加粗 和 上颜色的 部分,他们是 重点!





LOCAL_MODULE_CLASS

This variable is used to construct othervariable names used to locate the modules. See base_rules.make andenvsetup.make.

//apk文件用APPS 并且 会检查 是否是apk文件,动态库so文件用SHARED_LIBRARIES ,bin文件用 EXECUTABLES,其他文件 用ETC

LOCAL_MODULE_SUFFIX

The suffix that will be appended to LOCAL_MODULE to formLOCAL_MODULE_NAME. For example,.so, .a, .dylib.

//给 被安装文件 添加 后缀,后缀 任意 指定;

LOCAL_REQUIRED_MODULES

Set LOCAL_REQUIRED_MODULES to any number of whitespace-separatedmodule names, like "libblah" or "Email". If this module is installed, allof the modules that it requires will be installed as well. This can beused to, e.g., ensure that necessary shared libraries or providers are installed when a given app is installed.

//指定依赖,如:当安装一个 apk时,而这个apk依赖 其他的文件,可以用这个 变量 指定 依赖文件也被 安装;
LOCAL_BUILT_MODULE

When a module is built, the module is created in an intermediatedirectory then copied to its final location. LOCAL_BUILT_MODULE is the full path to the intermediate file. See LOCAL_INSTALLED_MODULEfor the path to the final installed location of the module.

LOCAL_INSTALLED_MODULE

The fully qualified path name of the final location of the module.See LOCAL_BUILT_MODULE for the location of the intermediate file thatthe make rules should actually be constructing.





  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值