From 3454ade92db48236057814f0ade5fa45bd57cd62 Mon Sep 17 00:00:00 2001 From: Dees Troy Date: Tue, 20 Jan 2015 19:21:04 +0000 Subject: Use /twres instead of /res for theme resources AOSP and other ROM trees now do a rm -rf of the res folder during the ramdisk creation process that removes the TWRP resources. Using /twres instead of /res works around this issue making TWRP more compatible with AOSP and other build trees. Change-Id: I0d4c7e06ca381ac5aa0069b6f2b8c47f7dec49e7 --- minuitwrp/Android.mk | 1 + 1 file changed, 1 insertion(+) (limited to 'minuitwrp/Android.mk') diff --git a/minuitwrp/Android.mk b/minuitwrp/Android.mk index c4380aadd..cff532167 100644 --- a/minuitwrp/Android.mk +++ b/minuitwrp/Android.mk @@ -123,6 +123,7 @@ else LOCAL_SRC_FILES += truetype.c endif +LOCAL_CFLAGS += -DTWRES=\"$(TWRES_PATH)\" LOCAL_SHARED_LIBRARIES += libz libc libcutils libjpeg libpng LOCAL_STATIC_LIBRARIES += libpixelflinger_static LOCAL_MODULE_TAGS := eng -- cgit v1.2.3