bootanimation: Error if screen width or height aren't set

Change-Id: Ic102e49d39a12116e9a0b25accf0ef81520c495f
This commit is contained in:
Luca Stefani 2018-02-17 17:50:57 +01:00
parent 52602baa49
commit 6b47332546

View file

@ -41,6 +41,13 @@ ifeq ($(TARGET_BOOTANIMATION),)
endif
endif
ifeq ($(TARGET_SCREEN_WIDTH),)
$(error TARGET_SCREEN_WIDTH must be set)
endif
ifeq ($(TARGET_SCREEN_HEIGHT),)
$(error TARGET_SCREEN_HEIGHT must be set)
endif
include $(CLEAR_VARS)
LOCAL_MODULE := bootanimation.zip
LOCAL_MODULE_CLASS := ETC