Bazel 上的 Android
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
谷歌有一个将 Android Build 系统迁移到 Bazel 的多年计划。此迁移处于早期阶段,但可以对当前的构建文件进行一些更改,以开始为 Bazel 准备它们。
巴泽尔概述
Bazel是 Google 的开源构建系统。 Bazel 项目使用 BUILD 文件进行描述,这些文件由 Bazel 读取并分析为要执行的操作图(如编译 .cc 文件)。分析完成后,Bazel 使用 clang 和 javac 等工具执行这些操作。
Bazel 将提供更快、更可靠的 AOSP 构建。 Bazel 还应该使在自定义配置中构建 AOSP 变得更加容易。
有关 Bazel 构建系统的更多信息,请参阅bazel.build 。要观看迁移 AOSP 以使用 Bazel 的概述,请参阅Bazel for Android Open Source Platform (AOSP) 。
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2022-06-06。
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"没有我需要的信息"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"太复杂/步骤太多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"内容需要更新"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/代码问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]