• 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.





  • 相关阅读:
    牛客_设计带有setAll功能的哈希表
    leetcode30 串联所有单词的子串
    leetcode715 Range模块
    centos7升级gcc & make & glibc
    SqlServer开窗函数
    使用 new Date() 在chrome、安卓和 IOS 中表现不同
    Mybatis中 ON DUPLICATE KEY UPDATE用法
    应用层是哪一层
    设计模式
    零拷贝
  • 原文地址:https://www.cnblogs.com/liulaolaiu/p/11744741.html
Copyright © 2020-2023  润新知