Android编译分析
来源:互联网 发布:linux的家目录 编辑:程序博客网 时间:2024/05/20 23:03
Android-6.0编译分析
#Startsource env.sh source build/envsetup.sh . device/.../vendorsetup.sh . vendor/.../vendorsetup.sh addcompletionslunch ... set_stuff_for_environment setpaths local ARCH=$(get_build_var TARGET_ARCH) get_build_var() CALLED_FROM_SETUP=true BUILD_SYSTEM=build/core \ command make --no-print-directory -f build/core/config.mk dumpvar-$1 build/core/config.mk dumpvar-TARGET_ARCH include $(BUILD_SYSTEM)/dumpvar.mk $(dumpvar_target):@echo $(DUMPVAR_VALUE) makeMakefile build/core/main.mk include $(BUILD_SYSTEM)/config.mk include $(BUILD_SYSTEM)/envsetup.mk FIND_LEAVES_EXCLUDES := $(addprefix --prune=, $(OUT_DIR) $(SCAN_EXCLUDE_DIRS) .repo .git) include $(BUILD_SYSTEM)/product_config.mk include $(BUILD_SYSTEM)/product.mk #查找所有AndroidProducts.mk all_product_configs := $(get-all-product-makefiles) $(call get-product-makefiles,$(_find-android-products-files)) #product.mk $(eval include $(f)) #include device/.../AndroidProducts.mk #include vendor/.../AndroidProducts.mk #include $(SRC_TARGET_DIR)/product/AndroidProducts.mk TARGET_BUILD_APPS= #查找所有product配置Makefile $(call import-products, $(current_product_makefile)) $(call import-nodes,PRODUCTS,$(1),$(_product_var_list)) ---- device/r/k/r_k.mk $(call inherit-product, device/r/k/device.mk) $(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base.mk) $(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk) $(call inherit-product, $(SRC_TARGET_DIR)/product/generic_no_telephony.mk) $(call inherit-product, $(SRC_TARGET_DIR)/product/core.mk) $(call inherit-product, device/r/k/r/r.mk) ---- #查找所有Android.mk subdir_makefiles := $(shell build/tools/findleaves.py $(FIND_LEAVES_EXCLUDES) $(subdirs) Android.mk) $(foreach mk, $(subdir_makefiles), $(info including $(mk) ...)$(eval include $(mk)))#End
阅读全文
0 0
- android编译分析【一】
- tiny210 android 编译分析
- Android 编译出错分析
- Android编译预处理分析
- Android 编译初始化分析
- android编译命令分析
- Android编译分析
- Android系统编译过程分析
- android编译结果: 文件系统分析
- Android系统编译过程分析
- Android系统编译过程分析
- Android系统编译过程分析
- Android SQLiteStatement 编译、执行 分析
- Android系统编译过程分析
- Android SQLiteStatement 编译、执行 分析
- Android系统编译过程分析
- Android SQLiteStatement 编译、执行 分析
- android makefile 编译分析及 android.mk分析
- 掏钱总是痛苦的
- mac python3.* ModuleNotFoundError: No module named 'MySQLdb'
- 运行窗口常用命令(持续更新)
- HDU5950 Recursive sequence(矩阵快速幂)
- eclipse修改Java文件的编码
- Android编译分析
- Integer和int的区别?在什么时候用Integer和什么时候用int
- Android基础总结十一:intent-filter的action,category,data匹配规则
- 关于jquery中on绑定click事件在苹果手机失效的问题
- Android图片之Glide二
- docker相关
- Linux内核:中断、软中断、tasklet
- Android录屏通过udp共享到其它手机
- leetcode 674 Longest Continuous Increasing Subsequence