小菜琳今天看客制化想找资源为啥部分无法客制化,却找到了AndroidManifest.xml客制化的地方,就写下备份下。
RESOURCE_OVERLAY_SUPPORT从这个客制化宏入手,全局搜到比较有用的地方如下:
./build/target/product/banyan_addon_x86.mk:150:$(foreach cf,$(RESOURCE_OVERLAY_SUPPORT), \
./build/target/product/common.mk:1513:$(foreach cf,$(RESOURCE_OVERLAY_SUPPORT), \
./build/core/package.mk:60: ifneq ($(RESOURCE_OVERLAY_SUPPORT),)
./build/core/package.mk:103: ifneq ($(RESOURCE_OVERLAY_SUPPORT),)
./build/target/product/common.mk:1513:$(foreach cf,$(RESOURCE_OVERLAY_SUPPORT), \
./build/target/product/banyan_addon_x86.mk:150:$(foreach cf,$(RESOURCE_OVERLAY_SUPPORT), \
$(foreach cf,$(RESOURCE_OVERLAY_SUPPORT), \
$(eval # do NOT modify the overlay resource paths order) \
$(eval # 1. project level resource overlay) \
$(eval _project_overlay_dir := $(MTK_ROOT_CUSTOM)/$(TARGET_PRODUCT)/resource_overlay/$(cf)) \
$(if $(wildcard $(_project_overlay_dir)), \
$(eval PRODUCT_PACKAGE_OVERLAYS += $(_project_overlay_dir)) \
, \
) \
$(eval # 2. operator spec. resource overlay) \
$(eval _operator_overlay_dir := $(MTK_ROOT_CUSTOM)/$(word 1,$(subst _, ,$(OPTR_SPEC_SEG_DEF)))/resource_overlay/$(cf)) \
$(if $(wildcard $(_operator_overlay_dir)), \
$(eval PRODUCT_PA
RESOURCE_OVERLAY_SUPPORT从这个客制化宏入手,全局搜到比较有用的地方如下:
./build/target/product/banyan_addon_x86.mk:150:$(foreach cf,$(RESOURCE_OVERLAY_SUPPORT), \
./build/target/product/common.mk:1513:$(foreach cf,$(RESOURCE_OVERLAY_SUPPORT), \
./build/core/package.mk:60: ifneq ($(RESOURCE_OVERLAY_SUPPORT),)
./build/core/package.mk:103: ifneq ($(RESOURCE_OVERLAY_SUPPORT),)
./build/target/product/common.mk:1513:$(foreach cf,$(RESOURCE_OVERLAY_SUPPORT), \
./build/target/product/banyan_addon_x86.mk:150:$(foreach cf,$(RESOURCE_OVERLAY_SUPPORT), \
$(foreach cf,$(RESOURCE_OVERLAY_SUPPORT), \
$(eval # do NOT modify the overlay resource paths order) \
$(eval # 1. project level resource overlay) \
$(eval _project_overlay_dir := $(MTK_ROOT_CUSTOM)/$(TARGET_PRODUCT)/resource_overlay/$(cf)) \
$(if $(wildcard $(_project_overlay_dir)), \
$(eval PRODUCT_PACKAGE_OVERLAYS += $(_project_overlay_dir)) \
, \
) \
$(eval # 2. operator spec. resource overlay) \
$(eval _operator_overlay_dir := $(MTK_ROOT_CUSTOM)/$(word 1,$(subst _, ,$(OPTR_SPEC_SEG_DEF)))/resource_overlay/$(cf)) \
$(if $(wildcard $(_operator_overlay_dir)), \
$(eval PRODUCT_PA