Skip to content

Commit

Permalink
Support customize_framework-res.sh
Browse files Browse the repository at this point in the history
Thanks to wangtongli(MiCode#19)
  • Loading branch information
nian0114 committed Dec 3, 2016
1 parent 6a8103e commit 7aff8b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions porting.mk
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,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) $(TARGET_OUT_DIR)/framework-res/res $(TARGET_OUT_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

0 comments on commit 7aff8b6

Please sign in to comment.