ANDROID模块编译
来源:互联网 发布:物理学书籍知乎 编辑:程序博客网 时间:2024/05/06 09:55
每次修改BoardConfig.mk后,再make clean然后重新编译,这样浪费的时间不计其数。后来忍受不了这种效率,Google了一下,果然不出所料是可以模块独立编译的。
1、进入Android源码根目录,执行source build/envsetup.sh;
2、可以执行mm、mmm等模块编译命令了。如要编译audioflinger,则执行mmm frameworks/base/services/audioflinger/ -B即可。
3、make -snod重新生成system.img映像。
将envsetup.sh的一些注释摘下来如下:
Invoke ". build/envsetup.sh" from your shell to add the following functions to your environment:
- croot: Changes directory to the top of the tree.
- m: Makes from the top of the tree.
- mm: Builds all of the modules in the current directory.
- mmm: Builds all of the modules in the supplied directories.
- cgrep: Greps on all local C/C++ files.
- jgrep: Greps on all local Java files.
- resgrep: Greps on all local res/*.xml files.
- godir: Go to the directory containing a file.
转载地址:http://blog.csdn.net/azloong/article/details/6314975
- android模块编译,mm命令, 模块编译
- android模块编译,mm命令, 模块编译
- android模块编译,mm命令, 模块编译
- android模块编译,mm命令, 模块编译
- android模块编译,mm命令, 模块编译
- android源码编译,模块编译
- Android 单个模块编译
- android 编译部分模块
- Android单个模块编译
- Android单个模块编译
- android 编译单个模块
- Android编译模块
- ANDROID模块编译
- 编译android部分模块
- android 单个模块编译
- Android 模块编译技巧
- Android单个模块编译
- 编译模块 android
- Cocos2d-x 游戏中嵌入广告(mogo横幅)
- 序列化serializable原理
- Toast用法总结
- 计算各个位数之和
- XCODE5 导入项目出现问题解决方法
- ANDROID模块编译
- AlertDialog
- c笔试题
- 采用MQTT协议实现Android消息推送
- 广搜水题
- Spring CXF Mybatis 发布 Web Service 实例
- UML之序列图
- 调试思想
- 可重入和不可重入——(二)实践部分