Ed Coyne | 2c9e94a | 2017-05-31 10:08:28 -0700 | [diff] [blame] | 1 | bootanimation_CommonCFlags = -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES |
| 2 | bootanimation_CommonCFlags += -Wall -Werror -Wunused -Wunreachable-code |
| 3 | |
| 4 | |
| 5 | # bootanimation executable |
| 6 | # ========================================================= |
| 7 | |
Mathias Agopian | 627e7b5 | 2009-05-21 19:21:59 -0700 | [diff] [blame] | 8 | LOCAL_PATH:= $(call my-dir) |
| 9 | include $(CLEAR_VARS) |
| 10 | |
| 11 | LOCAL_SRC_FILES:= \ |
Andreas Gampe | cfedceb | 2014-09-30 21:48:18 -0700 | [diff] [blame] | 12 | bootanimation_main.cpp \ |
Geoffrey Pitsch | d6d9a1d | 2016-06-08 00:38:58 -0700 | [diff] [blame] | 13 | audioplay.cpp \ |
Ed Coyne | 2c9e94a | 2017-05-31 10:08:28 -0700 | [diff] [blame] | 14 | |
| 15 | LOCAL_CFLAGS += ${bootanimation_CommonCFlags} |
| 16 | |
| 17 | LOCAL_SHARED_LIBRARIES := \ |
| 18 | libOpenSLES \ |
| 19 | libandroidfw \ |
| 20 | libbase \ |
| 21 | libbinder \ |
| 22 | libbootanimation \ |
| 23 | libcutils \ |
| 24 | liblog \ |
| 25 | libutils \ |
| 26 | |
| 27 | LOCAL_MODULE:= bootanimation |
| 28 | |
| 29 | LOCAL_INIT_RC := bootanim.rc |
| 30 | |
| 31 | ifdef TARGET_32_BIT_SURFACEFLINGER |
| 32 | LOCAL_32_BIT_ONLY := true |
| 33 | endif |
| 34 | |
| 35 | include $(BUILD_EXECUTABLE) |
| 36 | |
| 37 | |
| 38 | # libbootanimation |
| 39 | # =========================================================== |
| 40 | |
| 41 | include $(CLEAR_VARS) |
| 42 | LOCAL_MODULE := libbootanimation |
| 43 | LOCAL_CFLAGS += ${bootanimation_CommonCFlags} |
| 44 | |
| 45 | LOCAL_SRC_FILES:= \ |
Andreas Gampe | cfedceb | 2014-09-30 21:48:18 -0700 | [diff] [blame] | 46 | BootAnimation.cpp |
Mathias Agopian | 627e7b5 | 2009-05-21 19:21:59 -0700 | [diff] [blame] | 47 | |
Geoffrey Pitsch | d6d9a1d | 2016-06-08 00:38:58 -0700 | [diff] [blame] | 48 | LOCAL_C_INCLUDES += \ |
| 49 | external/tinyalsa/include \ |
| 50 | frameworks/wilhelm/include |
Mike Lockwood | ebf9a0d | 2014-10-02 16:08:47 -0700 | [diff] [blame] | 51 | |
Mathias Agopian | 627e7b5 | 2009-05-21 19:21:59 -0700 | [diff] [blame] | 52 | LOCAL_SHARED_LIBRARIES := \ |
Andreas Gampe | cfedceb | 2014-09-30 21:48:18 -0700 | [diff] [blame] | 53 | libcutils \ |
| 54 | liblog \ |
| 55 | libandroidfw \ |
| 56 | libutils \ |
| 57 | libbinder \ |
Mathias Agopian | 627e7b5 | 2009-05-21 19:21:59 -0700 | [diff] [blame] | 58 | libui \ |
Andreas Gampe | cfedceb | 2014-09-30 21:48:18 -0700 | [diff] [blame] | 59 | libskia \ |
Mathias Agopian | 627e7b5 | 2009-05-21 19:21:59 -0700 | [diff] [blame] | 60 | libEGL \ |
Mathias Agopian | 000479f | 2010-02-09 17:46:37 -0800 | [diff] [blame] | 61 | libGLESv1_CM \ |
Mike Lockwood | ebf9a0d | 2014-10-02 16:08:47 -0700 | [diff] [blame] | 62 | libgui \ |
Keun-young Park | b593842 | 2017-03-23 13:46:24 -0700 | [diff] [blame] | 63 | libtinyalsa \ |
| 64 | libbase |
Mathias Agopian | 627e7b5 | 2009-05-21 19:21:59 -0700 | [diff] [blame] | 65 | |
Colin Cross | 31d16e5 | 2014-03-19 18:09:01 -0700 | [diff] [blame] | 66 | ifdef TARGET_32_BIT_SURFACEFLINGER |
| 67 | LOCAL_32_BIT_ONLY := true |
| 68 | endif |
Mathias Agopian | 627e7b5 | 2009-05-21 19:21:59 -0700 | [diff] [blame] | 69 | |
Ed Coyne | 2c9e94a | 2017-05-31 10:08:28 -0700 | [diff] [blame] | 70 | include ${BUILD_SHARED_LIBRARY} |