show_logo_log.h 460 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. #ifndef _SHOW_LOGO_LOG_H
  2. #define _SHOW_LOGO_LOG_H
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. #ifdef BUILD_LK
  7. #ifdef MTK_LOG_ENABLE
  8. #undef MTK_LOG_ENABLE
  9. #endif
  10. #define MTK_LOG_ENABLE 1
  11. #include <debug.h>
  12. #include <lib/zlib.h>
  13. #ifndef LOG_ANIM
  14. #define LOG_ANIM(x...) dprintf(0, x)
  15. #endif
  16. #else
  17. #include <cutils/log.h>
  18. #include "zlib.h"
  19. #ifndef LOG_ANIM
  20. #define LOG_ANIM(x...) ALOGD(x)
  21. #endif
  22. #endif
  23. #ifdef __cplusplus
  24. }
  25. #endif
  26. #endif