加快Android单模块编译 - Linux mobile development - CSDN博客
来源:百度文库 编辑:神马文学网 时间:2024/04/28 15:57:40
加快Android单模块编译收藏
加快Android单模块编译
转载时请注明出处和作者联系方式
文章出处:http://www.limodev.cn/blog
作者联系方式:李先静
习惯了automake之后,再用Android的编译系统,就是感觉不爽。编译一个小模块也等上几分钟,有次实在受不了,看了一下它的实现,发现它对任何一次编译都要查找所有的Android.mk:
subdir_makefiles=$(shell cat build/tools/Android.mk.cache)
我把build/core/main.mk修改了一下,增加了一个cache:
subdir_makefiles=$(shell cat build/tools/Android.mk.cache)
ifeq ($(subdir_makefiles),)
$(info "no cache. create build/tools/Android.mk.cache")
$(shell build/tools/findleaves.sh --prune="./out" . Android.mk > build/tools/Android.mk.cache)
subdir_makefiles=$(shell cat build/tools/Android.mk.cache)
else
$(info "use cache: build/tools/Android.mk.cache")
endif
速度终于可以接受了。
加快Android单模块编译 - Linux mobile development - CSDN博客
插件式设计的架构模型与实例 - Linux mobile development - CSDN博客
Android编译环境配置 - vrix的专栏 - CSDN博客
Linux 2.4.30 内核文件系统学习(多图) 1 : 关键数据结构 - Linux Mobile Development Platform -- 小马哥的博客 - CSDNBlogq
Linux-Android系统启动之INIT进程和system v init - guopeixin的专栏 - CSDN博客
Linux-Android启动之Init进程前传 - guopeixin的专栏 - CSDN博客
Android flinger - simmer_ken的专栏 - CSDN博客
Android的PVPlayer介绍 CSDN博客
Android模拟器及编译环境安装新手入门-1 - 51WinCE-CSDN分站 - CS...
Android源码编译说明
Android源码编译_
android 编译错误
Android PVPlayer介绍 - 常青的专栏 - CSDN博客
Android的源代码结构 - 常青的专栏 - CSDN博客
搭建Android环境 - shenbin1430的专栏 - CSDN博客
Android的垃圾回收机制 - 一醉千年 - CSDN博客
Android build sequence - 一醉千年 - CSDN博客
搭建Android环境 - shenbin1430的专栏 - CSDN博客
android源码下载以及编译
Mobile Linux Group Launches
android编译系统阅读与分析(1)-envsetup.sh(editing.) - twxst博客
Linux编译内核
Linux 内核编译详解
Linux编译动态库