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





  • 相关阅读:
    隔离级别 && SNAPSHOT
    多态性&& 虚函数 && 抽象类
    socket编程
    [APIO2015]巴邻旁之桥
    LuoguP3701 「伪模板」主席树
    线段树标记永久化
    [HNOI2015]开店
    NOIP2017划水记
    FFTNTT总结
    [THUWC 2017]在美妙的数学王国中畅游
  • 原文地址:https://www.cnblogs.com/liulaolaiu/p/11744741.html
Copyright © 2020-2023  润新知