Skip to content

HeftyL/android-bp-guide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

android-bp-guide

A centralized documentation repository for Android.bp and Soong Blueprint.

Start Here

If you are new to this repository, start with soong_build.html. It is the main Soong modules reference index and links each package to its available Android.bp module types.

These files are static generated HTML references. You can open any .html file directly in a browser; no build step or local server is required.

Recommended reading path:

  1. Open soong_build.html to find the module type you care about.
  2. Jump to the linked package page, such as cc.html, java.html, or android.html.
  3. Use the module anchors for direct links, for example cc_library, android_app, or filegroup.
  4. For a specific property, use browser search in the module page or jump to anchors like cc_library.srcs.

Helpful search files:

  • keywords.txt: module type to property keyword map. Use it when you know a property name but not the module page.
  • Browser search (Ctrl+F / Cmd+F): fastest way to find a module type or property inside a large HTML page.

Common entry points:

Notes:

  • This repository is a reference map for module types and properties, not a step-by-step Android build tutorial.
  • Module pages can be large because they include common properties, target-specific properties, and product variable variants.
  • When in doubt, use soong_build.html as the source of truth for which page owns a module type.

阅读入口

第一次查看这个仓库时,建议先从 soong_build.html 开始。它是主要的 Soong 模块参考索引,可以按 package 找到对应的 Android.bp 模块类型文档。

这些文件是静态生成的 HTML 参考文档。可以直接用浏览器打开任意 .html 文件,不需要构建,也不需要启动本地服务。

推荐阅读路径:

  1. 打开 soong_build.html,先找到你关心的模块类型。
  2. 跳到对应的 package 页面,例如 cc.htmljava.htmlandroid.html
  3. 使用模块锚点直接定位,例如 cc_libraryandroid_appfilegroup
  4. 如果要查具体属性,可以在模块页面里用浏览器搜索,也可以直接访问类似 cc_library.srcs 这样的属性锚点。

辅助检索:

  • keywords.txt:模块类型到属性关键字的映射。知道属性名但不知道在哪个页面时,可以先查这里。
  • 浏览器搜索(Ctrl+F / Cmd+F):大页面里查模块名或属性名最快。

常用入口:

说明:

  • 这个仓库更适合作为模块类型和属性的参考地图,不是一步一步的 Android 构建教程。
  • 单个模块页面可能很大,因为里面同时包含通用属性、target 相关属性和 product variable 变体。
  • 不确定某个模块属于哪个页面时,优先回到 soong_build.html 查,它是模块归属关系的总入口。

About

A centralized documentation repository for Android.bp and Soong Blueprint.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages