/cmds/bootanimation/Android.mk

http://github.com/CyanogenMod/android_frameworks_base · Makefile · 60 lines · 46 code · 14 blank · 0 comment · 0 complexity · bc308b32938270a26fbecc8e5f271208 MD5 · raw file

  1. LOCAL_PATH:= $(call my-dir)
  2. include $(CLEAR_VARS)
  3. LOCAL_SRC_FILES:= \
  4. bootanimation_main.cpp \
  5. audioplay.cpp \
  6. BootAnimation.cpp
  7. LOCAL_CFLAGS += -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
  8. LOCAL_CFLAGS += -Wall -Werror -Wunused -Wunreachable-code
  9. LOCAL_C_INCLUDES += \
  10. external/tinyalsa/include \
  11. frameworks/wilhelm/include
  12. LOCAL_SHARED_LIBRARIES := \
  13. libcutils \
  14. liblog \
  15. libandroidfw \
  16. libutils \
  17. libbinder \
  18. libui \
  19. libskia \
  20. libEGL \
  21. libGLESv1_CM \
  22. libgui \
  23. libOpenSLES \
  24. libtinyalsa \
  25. libregionalization
  26. ifneq ($(TARGET_BOOTANIMATION_MULTITHREAD_DECODE),false)
  27. LOCAL_CFLAGS += -DMULTITHREAD_DECODE
  28. endif
  29. ifeq ($(TARGET_BOOTANIMATION_PRELOAD),true)
  30. LOCAL_CFLAGS += -DPRELOAD_BOOTANIMATION
  31. endif
  32. ifeq ($(TARGET_BOOTANIMATION_TEXTURE_CACHE),true)
  33. LOCAL_CFLAGS += -DNO_TEXTURE_CACHE=0
  34. endif
  35. ifeq ($(TARGET_BOOTANIMATION_TEXTURE_CACHE),false)
  36. LOCAL_CFLAGS += -DNO_TEXTURE_CACHE=1
  37. endif
  38. ifeq ($(TARGET_BOOTANIMATION_USE_RGB565),true)
  39. LOCAL_CFLAGS += -DUSE_565
  40. endif
  41. LOCAL_MODULE:= bootanimation
  42. LOCAL_INIT_RC := bootanim.rc
  43. ifdef TARGET_32_BIT_SURFACEFLINGER
  44. LOCAL_32_BIT_ONLY := true
  45. endif
  46. include $(BUILD_EXECUTABLE)