android - 如何仅从 AOSP 构建 LatinIME 包?

标签 android

我正在尝试测试我对 AOSP 中的 LatinIME 包所做的一些更改。问题是,文档只展示了如何构建整个东西。

我真正需要知道的是如何从命令行构建单个包(在本例中为 LatinIME)

编辑:(至少对我而言)不清楚的是,在 repo 根目录中,您可以键入 make PACKAGE(例如“make LatinIME”),它会构建它。我还没有对它进行彻底的测试,但它似乎也构建了所需包​​的所有先决条件。

最佳答案

我认为您需要 mmmmm 命令。参见 this documentation

Building only an individual program or module

If you use build/envsetup.sh, you can use some of the defined functions to build only a part of the tree. Use the 'mm' or 'mmm' commands to do this.

The 'mm' command makes stuff in the current directory (and sub-directories, I believe). With the 'mmm' command, you specify a directory or list of directories, and it builds those.

To install your changes, do 'make snod' from the top of tree. 'make snod' builds a new system image from current binaries.

关于android - 如何仅从 AOSP 构建 LatinIME 包?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9667107/

相关文章:

android - ScrollView 只能承载一个具有 relativelayout 的直接子级

android - Fabric for Android/Eclipse - 无法登录

android - Flutter - 使用 Agora 的来电功能

android - Android反向网络共享或使用USB电缆访问LAN或Internet

android - 汇编程序消息 : Branch out of range

java - URLConnection 中的 Android 用户代理

android - 依赖图构建是在 Dagger 2 的编译时还是运行时发生的

android - 解析,安卓; ParseQuery 适配器中的 relation.getQuery()

android - requestFocus 不适用于 EditText

android - React-Native:当应用程序离线(无互联网访问)时,无法使用 firestore 添加或设置()文档