博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Build system 英文说明 -- Andrlid.mk说明
阅读量:4038 次
发布时间:2019-05-24

本文共 1350 字,大约阅读时间需要 4 分钟。

本文的位置 在源码的 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.

转载地址:http://kspdi.baihongyu.com/

你可能感兴趣的文章
SSH框架总结(框架分析+环境搭建+实例源码下载)
查看>>
js弹窗插件
查看>>
自定义 select 下拉框 多选插件
查看>>
js判断数组内是否有重复值
查看>>
js获取url链接携带的参数值
查看>>
gdb 调试core dump
查看>>
gdb debug tips
查看>>
arm linux 生成火焰图
查看>>
linux和windows内存布局验证
查看>>
linux insmod error -1 required key invalid
查看>>
linux kconfig配置
查看>>
linux不同模块completion通信
查看>>
linux printf获得时间戳
查看>>
C语言位扩展
查看>>
linux dump_backtrace
查看>>
linux irqdebug
查看>>
git 常用命令
查看>>
linux位操作API
查看>>
uboot.lds文件分析
查看>>
uboot start.s文件分析
查看>>