- Java 双重比较
- java - 比较器与 Apache BeanComparator
- Objective-C 完成 block 导致额外的方法调用?
- database - RESTful URI 是否应该公开数据库主键?
我正在尝试测试我对 AOSP 中的 LatinIME 包所做的一些更改。问题是,文档只展示了如何构建整个东西。
我真正需要知道的是如何从命令行构建单个包(在本例中为 LatinIME)
编辑:(至少对我而言)不清楚的是,在 repo 根目录中,您可以键入 make PACKAGE(例如“make LatinIME”),它会构建它。我还没有对它进行彻底的测试,但它似乎也构建了所需包的所有先决条件。
最佳答案
我认为您需要 mm
或 mmm
命令。参见 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/
我是一名优秀的程序员,十分优秀!