Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 1 | LOCAL_PATH := $(call my-dir) |
| 2 | include $(CLEAR_VARS) |
| 3 | |
bigbiff | d58ba18 | 2020-03-23 10:02:29 -0400 | [diff] [blame] | 4 | LOCAL_CFLAGS := -fno-strict-aliasing -Wno-implicit-fallthrough |
Motorhead1991 | c7f2e12 | 2014-06-12 15:57:36 -0700 | [diff] [blame] | 5 | |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 6 | LOCAL_SRC_FILES := \ |
| 7 | gui.cpp \ |
| 8 | resources.cpp \ |
| 9 | pages.cpp \ |
| 10 | text.cpp \ |
| 11 | image.cpp \ |
| 12 | action.cpp \ |
| 13 | console.cpp \ |
| 14 | fill.cpp \ |
| 15 | button.cpp \ |
| 16 | checkbox.cpp \ |
| 17 | fileselector.cpp \ |
| 18 | progressbar.cpp \ |
| 19 | animation.cpp \ |
Vojtech Bocek | ede51c5 | 2014-02-07 23:58:09 +0100 | [diff] [blame] | 20 | object.cpp \ |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 21 | slider.cpp \ |
Vojtech Bocek | 8593234 | 2013-04-01 22:11:33 +0200 | [diff] [blame] | 22 | slidervalue.cpp \ |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 23 | listbox.cpp \ |
| 24 | keyboard.cpp \ |
bigbiff bigbiff | 8a68c31 | 2013-02-10 14:28:30 -0500 | [diff] [blame] | 25 | input.cpp \ |
| 26 | blanktimer.cpp \ |
Vojtech Bocek | 1fc30fc | 2014-01-29 18:37:19 +0100 | [diff] [blame] | 27 | partitionlist.cpp \ |
Ethan Yonker | 0a3a98f | 2015-02-05 00:48:28 +0100 | [diff] [blame] | 28 | mousecursor.cpp \ |
Vojtech Bocek | 7e11ac5 | 2015-03-05 23:21:49 +0100 | [diff] [blame] | 29 | scrolllist.cpp \ |
Ethan Yonker | 44925ad | 2015-07-22 12:33:59 -0500 | [diff] [blame] | 30 | patternpassword.cpp \ |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 31 | textbox.cpp \ |
that | 1964d19 | 2016-01-07 00:41:03 +0100 | [diff] [blame] | 32 | terminal.cpp \ |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 33 | twmsg.cpp |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 34 | |
bigbiff | 1f78066 | 2020-06-26 16:14:32 -0400 | [diff] [blame] | 35 | ifneq ($(TW_DELAY_TOUCH_INIT_MS),) |
| 36 | LOCAL_CFLAGS += -DTW_DELAY_TOUCH_INIT_MS=$(TW_DELAY_TOUCH_INIT_MS) |
| 37 | endif |
| 38 | |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 39 | ifneq ($(TWRP_CUSTOM_KEYBOARD),) |
Ethan Yonker | 591b920 | 2015-03-11 11:17:15 -0500 | [diff] [blame] | 40 | LOCAL_SRC_FILES += $(TWRP_CUSTOM_KEYBOARD) |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 41 | else |
Ethan Yonker | 591b920 | 2015-03-11 11:17:15 -0500 | [diff] [blame] | 42 | LOCAL_SRC_FILES += hardwarekeyboard.cpp |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 43 | endif |
| 44 | |
Ethan Yonker | 8373cfe | 2017-09-08 06:50:54 -0500 | [diff] [blame] | 45 | LOCAL_SHARED_LIBRARIES += libminuitwrp libc libstdc++ libaosprecovery libselinux |
bigbiff | d58ba18 | 2020-03-23 10:02:29 -0400 | [diff] [blame] | 46 | LOCAL_C_INCLUDES += $(LOCAL_PATH)/../otautil/include |
bigbiff | 1f9e484 | 2020-10-31 11:33:15 -0400 | [diff] [blame] | 47 | LOCAL_C_INCLUDES += $(LOCAL_PATH)/../twrpinstall/include |
Ethan Yonker | 8373cfe | 2017-09-08 06:50:54 -0500 | [diff] [blame] | 48 | ifeq ($(shell test $(PLATFORM_SDK_VERSION) -ge 26; echo $$?),0) |
bigbiff | 1f9e484 | 2020-10-31 11:33:15 -0400 | [diff] [blame] | 49 | LOCAL_SHARED_LIBRARIES += libziparchive |
| 50 | LOCAL_STATIC_LIBRARIES += libotautil libtwrpinstall |
bigbiff | 7ba7500 | 2020-04-11 20:47:09 -0400 | [diff] [blame] | 51 | ifneq ($(TW_INCLUDE_CRYPTO),) |
| 52 | LOCAL_C_INCLUDES += bootable/recovery/crypto/fscrypt |
| 53 | endif |
bigbiff | d58ba18 | 2020-03-23 10:02:29 -0400 | [diff] [blame] | 54 | ifeq ($(shell test $(PLATFORM_SDK_VERSION) -gt 28; echo $$?),0) |
| 55 | LOCAL_C_INCLUDES += $(LOCAL_PATH)/../install/include \ |
| 56 | system/core/libziparchive/include/ \ |
| 57 | $(LOCAL_PATH)/../recovery_ui/include \ |
| 58 | $(LOCAL_PATH)/../fuse_sideload/include |
| 59 | LOCAL_CFLAGS += -D_USE_SYSTEM_ZIPARCHIVE |
| 60 | else |
| 61 | LOCAL_C_INCLUDES += $(LOCAL_PATH)/../install28/ \ |
| 62 | $(LOCAL_PATH)/../fuse_sideload28/ |
| 63 | LOCAL_CFLAGS += -DUSE_28_INSTALL -DUSE_OTAUTIL_ZIPARCHIVE |
| 64 | endif |
Ethan Yonker | 8373cfe | 2017-09-08 06:50:54 -0500 | [diff] [blame] | 65 | else |
| 66 | LOCAL_SHARED_LIBRARIES += libminzip |
| 67 | LOCAL_CFLAGS += -DUSE_MINZIP |
| 68 | endif |
bigbiff | 325e0a2 | 2020-06-08 15:59:32 -0400 | [diff] [blame] | 69 | ifeq ($(TARGET_USERIMAGES_USE_EXT4), true) |
| 70 | ifeq ($(shell test $(PLATFORM_SDK_VERSION) -le 28; echo $$?),0) |
| 71 | LOCAL_C_INCLUDES += system/extras/ext4_utils \ |
| 72 | system/extras/ext4_utils/include \ |
| 73 | $(LOCAL_PATH)/../crypto/ext4crypt |
| 74 | LOCAL_SHARED_LIBRARIES += libext4_utils |
| 75 | endif |
| 76 | endif |
| 77 | |
Dees_Troy | 2673cec | 2013-04-02 20:22:16 +0000 | [diff] [blame] | 78 | LOCAL_MODULE := libguitwrp |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 79 | |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 80 | #TWRP_EVENT_LOGGING := true |
| 81 | ifeq ($(TWRP_EVENT_LOGGING), true) |
Ethan Yonker | 30fa335 | 2015-03-09 13:57:21 -0500 | [diff] [blame] | 82 | LOCAL_CFLAGS += -D_EVENT_LOGGING |
| 83 | endif |
| 84 | ifneq ($(TW_USE_KEY_CODE_TOUCH_SYNC),) |
| 85 | LOCAL_CFLAGS += -DTW_USE_KEY_CODE_TOUCH_SYNC=$(TW_USE_KEY_CODE_TOUCH_SYNC) |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 86 | endif |
mauronofrio | 6d3bf89 | 2019-10-26 19:47:55 +0200 | [diff] [blame] | 87 | ifneq ($(TW_OZIP_DECRYPT_KEY),) |
| 88 | LOCAL_CFLAGS += -DTW_OZIP_DECRYPT_KEY=\"$(TW_OZIP_DECRYPT_KEY)\" |
| 89 | else |
| 90 | LOCAL_CFLAGS += -DTW_OZIP_DECRYPT_KEY=0 |
| 91 | endif |
bigbiff bigbiff | 8794036 | 2013-03-09 09:58:50 -0500 | [diff] [blame] | 92 | ifneq ($(TW_NO_SCREEN_BLANK),) |
Ethan Yonker | 591b920 | 2015-03-11 11:17:15 -0500 | [diff] [blame] | 93 | LOCAL_CFLAGS += -DTW_NO_SCREEN_BLANK |
bigbiff bigbiff | 8794036 | 2013-03-09 09:58:50 -0500 | [diff] [blame] | 94 | endif |
Ricardo Gomez | c9ecd44 | 2013-07-05 16:13:52 -0700 | [diff] [blame] | 95 | ifneq ($(TW_NO_SCREEN_TIMEOUT),) |
Ethan Yonker | 591b920 | 2015-03-11 11:17:15 -0500 | [diff] [blame] | 96 | LOCAL_CFLAGS += -DTW_NO_SCREEN_TIMEOUT |
Ricardo Gomez | c9ecd44 | 2013-07-05 16:13:52 -0700 | [diff] [blame] | 97 | endif |
bigbiff bigbiff | c7eee6f | 2014-09-02 18:59:01 -0400 | [diff] [blame] | 98 | ifeq ($(TW_OEM_BUILD), true) |
Ethan Yonker | 83e8257 | 2014-04-04 10:59:28 -0500 | [diff] [blame] | 99 | LOCAL_CFLAGS += -DTW_OEM_BUILD |
| 100 | endif |
Ethan Yonker | 751a85e | 2014-12-12 16:59:10 -0600 | [diff] [blame] | 101 | ifneq ($(TW_X_OFFSET),) |
Ethan Yonker | 591b920 | 2015-03-11 11:17:15 -0500 | [diff] [blame] | 102 | LOCAL_CFLAGS += -DTW_X_OFFSET=$(TW_X_OFFSET) |
Ethan Yonker | 751a85e | 2014-12-12 16:59:10 -0600 | [diff] [blame] | 103 | endif |
| 104 | ifneq ($(TW_Y_OFFSET),) |
Ethan Yonker | 591b920 | 2015-03-11 11:17:15 -0500 | [diff] [blame] | 105 | LOCAL_CFLAGS += -DTW_Y_OFFSET=$(TW_Y_OFFSET) |
Ethan Yonker | 751a85e | 2014-12-12 16:59:10 -0600 | [diff] [blame] | 106 | endif |
James Christopher Adduono | dcd1e44 | 2016-11-06 13:17:34 -0500 | [diff] [blame] | 107 | ifneq ($(TW_W_OFFSET),) |
| 108 | LOCAL_CFLAGS += -DTW_W_OFFSET=$(TW_W_OFFSET) |
| 109 | endif |
| 110 | ifneq ($(TW_H_OFFSET),) |
| 111 | LOCAL_CFLAGS += -DTW_H_OFFSET=$(TW_H_OFFSET) |
| 112 | endif |
Ethan Yonker | 63e414f | 2015-02-06 15:44:39 -0600 | [diff] [blame] | 113 | ifeq ($(TW_ROUND_SCREEN), true) |
Ethan Yonker | 591b920 | 2015-03-11 11:17:15 -0500 | [diff] [blame] | 114 | LOCAL_CFLAGS += -DTW_ROUND_SCREEN |
bigbiff bigbiff | 163d474 | 2013-11-16 13:25:27 -0500 | [diff] [blame] | 115 | endif |
| 116 | |
Matt Mower | 0c88b84 | 2017-01-15 16:00:49 -0600 | [diff] [blame] | 117 | LOCAL_C_INCLUDES += \ |
| 118 | bionic \ |
mauronofrio | 38ed6a7 | 2020-01-10 16:44:28 +0100 | [diff] [blame] | 119 | system/core/base/include \ |
Matt Mower | 0c88b84 | 2017-01-15 16:00:49 -0600 | [diff] [blame] | 120 | system/core/include \ |
bigbiff | d58ba18 | 2020-03-23 10:02:29 -0400 | [diff] [blame] | 121 | system/core/libpixelflinger/include \ |
| 122 | external/freetype/include |
Matt Mower | 0c88b84 | 2017-01-15 16:00:49 -0600 | [diff] [blame] | 123 | |
Xing | 0af1ac1 | 2015-11-27 11:19:37 -0800 | [diff] [blame] | 124 | ifeq ($(shell test $(PLATFORM_SDK_VERSION) -lt 23; echo $$?),0) |
| 125 | LOCAL_C_INCLUDES += external/stlport/stlport |
Ethan Yonker | 58f2132 | 2018-08-24 11:17:36 -0500 | [diff] [blame] | 126 | LOCAL_CFLAGS += -DUSE_FUSE_SIDELOAD22 |
Xing | 0af1ac1 | 2015-11-27 11:19:37 -0800 | [diff] [blame] | 127 | endif |
| 128 | |
Dees Troy | 3454ade | 2015-01-20 19:21:04 +0000 | [diff] [blame] | 129 | LOCAL_CFLAGS += -DTWRES=\"$(TWRES_PATH)\" |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 130 | |
| 131 | include $(BUILD_STATIC_LIBRARY) |
| 132 | |
| 133 | # Transfer in the resources for the device |
| 134 | include $(CLEAR_VARS) |
| 135 | LOCAL_MODULE := twrp |
bigbiff | d58ba18 | 2020-03-23 10:02:29 -0400 | [diff] [blame] | 136 | LOCAL_MODULE_TAGS := optional |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 137 | LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES |
Dees Troy | 3454ade | 2015-01-20 19:21:04 +0000 | [diff] [blame] | 138 | LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)$(TWRES_PATH) |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 139 | |
Matt Mower | d4a1118 | 2017-01-18 20:06:36 -0600 | [diff] [blame] | 140 | # The extra blank line before *** is intentional to ensure it ends up on its own line |
| 141 | define TW_THEME_WARNING_MSG |
| 142 | |
| 143 | **************************************************************************** |
| 144 | Could not find ui.xml for TW_THEME: $(TW_THEME) |
| 145 | Set TARGET_SCREEN_WIDTH and TARGET_SCREEN_HEIGHT to automatically select |
| 146 | an appropriate theme, or set TW_THEME to one of the following: |
Ethan Yonker | 58f2132 | 2018-08-24 11:17:36 -0500 | [diff] [blame] | 147 | $(notdir $(wildcard $(LOCAL_PATH)/theme/*_*)) |
Matt Mower | d4a1118 | 2017-01-18 20:06:36 -0600 | [diff] [blame] | 148 | **************************************************************************** |
| 149 | endef |
| 150 | define TW_CUSTOM_THEME_WARNING_MSG |
| 151 | |
| 152 | **************************************************************************** |
| 153 | Could not find ui.xml for TW_CUSTOM_THEME: $(TW_CUSTOM_THEME) |
Matt Mower | 0c00571 | 2017-02-12 13:10:08 -0600 | [diff] [blame] | 154 | Expected to find custom theme's ui.xml at: |
Matt Mower | d4a1118 | 2017-01-18 20:06:36 -0600 | [diff] [blame] | 155 | $(TWRP_THEME_LOC)/ui.xml |
| 156 | Please fix this or set TW_THEME to one of the following: |
Ethan Yonker | 58f2132 | 2018-08-24 11:17:36 -0500 | [diff] [blame] | 157 | $(notdir $(wildcard $(LOCAL_PATH)/theme/*_*)) |
Matt Mower | d4a1118 | 2017-01-18 20:06:36 -0600 | [diff] [blame] | 158 | **************************************************************************** |
| 159 | endef |
| 160 | |
Ethan Yonker | 58f2132 | 2018-08-24 11:17:36 -0500 | [diff] [blame] | 161 | TWRP_RES := $(LOCAL_PATH)/theme/common/fonts |
| 162 | TWRP_RES += $(LOCAL_PATH)/theme/common/languages |
nkk71 | 6e4114f | 2017-01-19 16:56:07 +0200 | [diff] [blame] | 163 | ifeq ($(TW_EXTRA_LANGUAGES),true) |
Ethan Yonker | 58f2132 | 2018-08-24 11:17:36 -0500 | [diff] [blame] | 164 | TWRP_RES += $(LOCAL_PATH)/theme/extra-languages/fonts |
| 165 | TWRP_RES += $(LOCAL_PATH)/theme/extra-languages/languages |
nkk71 | 6e4114f | 2017-01-19 16:56:07 +0200 | [diff] [blame] | 166 | endif |
| 167 | |
Ethan Yonker | 1ecaca7 | 2014-04-14 09:27:15 -0500 | [diff] [blame] | 168 | ifeq ($(TW_CUSTOM_THEME),) |
Ethan Yonker | 591b920 | 2015-03-11 11:17:15 -0500 | [diff] [blame] | 169 | ifeq ($(TW_THEME),) |
niks255 | d73903c | 2017-01-15 17:39:48 +0600 | [diff] [blame] | 170 | ifeq ($(DEVICE_RESOLUTION),) |
Matt Mower | d4a1118 | 2017-01-18 20:06:36 -0600 | [diff] [blame] | 171 | GUI_WIDTH := $(TARGET_SCREEN_WIDTH) |
| 172 | GUI_HEIGHT := $(TARGET_SCREEN_HEIGHT) |
| 173 | else |
| 174 | SPLIT_DEVICE_RESOLUTION := $(subst x, ,$(DEVICE_RESOLUTION)) |
| 175 | GUI_WIDTH := $(word 1, $(SPLIT_DEVICE_RESOLUTION)) |
| 176 | GUI_HEIGHT := $(word 2, $(SPLIT_DEVICE_RESOLUTION)) |
niks255 | d73903c | 2017-01-15 17:39:48 +0600 | [diff] [blame] | 177 | endif |
Matt Mower | d4a1118 | 2017-01-18 20:06:36 -0600 | [diff] [blame] | 178 | |
| 179 | # Minimum resolution of 100x100 |
| 180 | # This also ensures GUI_WIDTH and GUI_HEIGHT are numbers |
| 181 | ifeq ($(shell test $(GUI_WIDTH) -ge 100; echo $$?),0) |
| 182 | ifeq ($(shell test $(GUI_HEIGHT) -ge 100; echo $$?),0) |
| 183 | ifeq ($(shell test $(GUI_WIDTH) -gt $(GUI_HEIGHT); echo $$?),0) |
| 184 | ifeq ($(shell test $(GUI_WIDTH) -ge 1280; echo $$?),0) |
| 185 | TW_THEME := landscape_hdpi |
| 186 | else |
| 187 | TW_THEME := landscape_mdpi |
| 188 | endif |
| 189 | else ifeq ($(shell test $(GUI_WIDTH) -lt $(GUI_HEIGHT); echo $$?),0) |
| 190 | ifeq ($(shell test $(GUI_WIDTH) -ge 720; echo $$?),0) |
| 191 | TW_THEME := portrait_hdpi |
| 192 | else |
| 193 | TW_THEME := portrait_mdpi |
| 194 | endif |
| 195 | else ifeq ($(shell test $(GUI_WIDTH) -eq $(GUI_HEIGHT); echo $$?),0) |
| 196 | # watch_hdpi does not yet exist |
| 197 | TW_THEME := watch_mdpi |
| 198 | endif |
| 199 | endif |
Ethan Yonker | 591b920 | 2015-03-11 11:17:15 -0500 | [diff] [blame] | 200 | endif |
| 201 | endif |
bigbiff | ce8f83c | 2015-12-12 18:30:21 -0500 | [diff] [blame] | 202 | |
Ethan Yonker | 58f2132 | 2018-08-24 11:17:36 -0500 | [diff] [blame] | 203 | TWRP_THEME_LOC := $(LOCAL_PATH)/theme/$(TW_THEME) |
Matt Mower | d4a1118 | 2017-01-18 20:06:36 -0600 | [diff] [blame] | 204 | ifeq ($(wildcard $(TWRP_THEME_LOC)/ui.xml),) |
| 205 | $(warning $(TW_THEME_WARNING_MSG)) |
| 206 | $(error Theme selection failed; exiting) |
| 207 | endif |
| 208 | |
Ethan Yonker | 58f2132 | 2018-08-24 11:17:36 -0500 | [diff] [blame] | 209 | TWRP_RES += $(LOCAL_PATH)/theme/common/$(word 1,$(subst _, ,$(TW_THEME))).xml |
nkk71 | 6e4114f | 2017-01-19 16:56:07 +0200 | [diff] [blame] | 210 | # for future copying of used include xmls and fonts: |
| 211 | # UI_XML := $(TWRP_THEME_LOC)/ui.xml |
| 212 | # TWRP_INCLUDE_XMLS := $(shell xmllint --xpath '/recovery/include/xmlfile/@name' $(UI_XML)|sed -n 's/[^\"]*\"\([^\"]*\)\"[^\"]*/\1\n/gp'|sort|uniq) |
| 213 | # TWRP_FONTS_TTF := $(shell xmllint --xpath '/recovery/resources/font/@filename' $(UI_XML)|sed -n 's/[^\"]*\"\([^\"]*\)\"[^\"]*/\1\n/gp'|sort|uniq)niq) |
| 214 | else |
| 215 | TWRP_THEME_LOC := $(TW_CUSTOM_THEME) |
Matt Mower | d4a1118 | 2017-01-18 20:06:36 -0600 | [diff] [blame] | 216 | ifeq ($(wildcard $(TWRP_THEME_LOC)/ui.xml),) |
| 217 | $(warning $(TW_CUSTOM_THEME_WARNING_MSG)) |
| 218 | $(error Theme selection failed; exiting) |
nkk71 | 6e4114f | 2017-01-19 16:56:07 +0200 | [diff] [blame] | 219 | endif |
that | d16b2ce | 2015-07-27 20:39:19 +0200 | [diff] [blame] | 220 | endif |
Vojtech Bocek | 76ee903 | 2014-09-07 15:01:56 +0200 | [diff] [blame] | 221 | |
Matt Mower | d4a1118 | 2017-01-18 20:06:36 -0600 | [diff] [blame] | 222 | TWRP_RES += $(TW_ADDITIONAL_RES) |
| 223 | |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 224 | TWRP_RES_GEN := $(intermediates)/twrp |
Ethan Yonker | 5c93369 | 2014-04-04 11:26:32 -0500 | [diff] [blame] | 225 | $(TWRP_RES_GEN): |
Dees Troy | 3454ade | 2015-01-20 19:21:04 +0000 | [diff] [blame] | 226 | mkdir -p $(TARGET_RECOVERY_ROOT_OUT)$(TWRES_PATH) |
that | d16b2ce | 2015-07-27 20:39:19 +0200 | [diff] [blame] | 227 | cp -fr $(TWRP_RES) $(TARGET_RECOVERY_ROOT_OUT)$(TWRES_PATH) |
Dees Troy | 3454ade | 2015-01-20 19:21:04 +0000 | [diff] [blame] | 228 | cp -fr $(TWRP_THEME_LOC)/* $(TARGET_RECOVERY_ROOT_OUT)$(TWRES_PATH) |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 229 | |
| 230 | LOCAL_GENERATED_SOURCES := $(TWRP_RES_GEN) |
| 231 | LOCAL_SRC_FILES := twrp $(TWRP_RES_GEN) |
Dees_Troy | 7d15c25 | 2012-09-05 20:47:21 -0400 | [diff] [blame] | 232 | include $(BUILD_PREBUILT) |