diff options
author | HandyMenny <handymenny@outlook.com> | 2014-10-19 20:08:03 +0200 |
---|---|---|
committer | Dees Troy <dees_troy@teamw.in> | 2014-10-20 14:50:07 +0200 |
commit | 466dc9764b3c7eacea354f3c952fe800c1211ed9 (patch) | |
tree | 99db951f7e70a40bc7a2350118e492a058c4bc3e /gui/Android.mk | |
parent | Do not set contexts during a factory reset (diff) | |
download | android_bootable_recovery-466dc9764b3c7eacea354f3c952fe800c1211ed9.tar android_bootable_recovery-466dc9764b3c7eacea354f3c952fe800c1211ed9.tar.gz android_bootable_recovery-466dc9764b3c7eacea354f3c952fe800c1211ed9.tar.bz2 android_bootable_recovery-466dc9764b3c7eacea354f3c952fe800c1211ed9.tar.lz android_bootable_recovery-466dc9764b3c7eacea354f3c952fe800c1211ed9.tar.xz android_bootable_recovery-466dc9764b3c7eacea354f3c952fe800c1211ed9.tar.zst android_bootable_recovery-466dc9764b3c7eacea354f3c952fe800c1211ed9.zip |
Diffstat (limited to 'gui/Android.mk')
-rw-r--r-- | gui/Android.mk | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/gui/Android.mk b/gui/Android.mk index baae3edf8..96b2fee49 100644 --- a/gui/Android.mk +++ b/gui/Android.mk @@ -71,12 +71,14 @@ $(warning ********************************************************************** $(error stopping) endif -ifeq "$(wildcard $(commands_recovery_local_path)/gui/devices/$(DEVICE_RESOLUTION))" "" -$(warning ********************************************************************************) -$(warning * DEVICE_RESOLUTION ($(DEVICE_RESOLUTION)) does NOT EXIST in $(commands_recovery_local_path)/gui/devices ) -$(warning * Please choose an existing theme or create a new one for your device ) -$(warning ********************************************************************************) -$(error stopping) +ifeq ($(TW_CUSTOM_THEME),) + ifeq "$(wildcard $(commands_recovery_local_path)/gui/devices/$(DEVICE_RESOLUTION))" "" + $(warning ********************************************************************************) + $(warning * DEVICE_RESOLUTION ($(DEVICE_RESOLUTION)) does NOT EXIST in $(commands_recovery_local_path)/gui/devices ) + $(warning * Please choose an existing theme or create a new one for your device ) + $(warning ********************************************************************************) + $(error stopping) + endif endif LOCAL_C_INCLUDES += bionic external/stlport/stlport $(commands_recovery_local_path)/gui/devices/$(DEVICE_RESOLUTION) |