Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support customize_framework-res.sh #19

Open
wants to merge 1 commit into
base: marshmallow
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions porting.mk
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ include $(PORT_BUILD)/prebuilt.mk
# The global variable could be used in local makefile, and the name
# would not be changed in future
SHELL := /bin/bash
TMP_DIR := out
TOOL_DIR := $(PORT_ROOT)/tools
STOCKROM_DIR := $(basename $(ZIP_FILE))
ZIP_DIR := $(TARGET_OUT_DIR)/ZIP
Expand Down Expand Up @@ -140,6 +141,7 @@ framework-res-overlay-files:= $(call all-files-under-dir,$(OVERLAY_RES))
$(TARGET_OUT_DIR)/framework-res.apk: $(STOCKROM_DIR)/system/framework/framework-res.apk $(framework-res-overlay-files)
@echo ">>> build $@..."
$(APKTOOL) d -f $(STOCKROM_DIR)/system/framework/framework-res.apk -o $(TARGET_OUT_DIR)/framework-res
$(hide) $(ADDMIUIRES) $(TMP_DIR)/framework-res/res $(TMP_DIR)/framework-res/res
$(AAPT) p -f -x --auto-add-overlay --wlan-replace Wi-Fi --wlan-replace WiFi \
--min-sdk-version $(ANDROID_PLATFORM) --target-sdk-version $(ANDROID_PLATFORM) \
$(addprefix -S ,$(wildcard $(OVERLAY_RES))) \
Expand Down