blob: 7ab402a2cd467dc4c952223c7a29ed9e68113fe8 [file] [log] [blame]
Ed Coyne2c9e94a2017-05-31 10:08:28 -07001bootanimation_CommonCFlags = -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
2bootanimation_CommonCFlags += -Wall -Werror -Wunused -Wunreachable-code
3
4
5# bootanimation executable
6# =========================================================
7
Mathias Agopian627e7b52009-05-21 19:21:59 -07008LOCAL_PATH:= $(call my-dir)
9include $(CLEAR_VARS)
10
11LOCAL_SRC_FILES:= \
Andreas Gampecfedceb2014-09-30 21:48:18 -070012 bootanimation_main.cpp \
Geoffrey Pitschd6d9a1d2016-06-08 00:38:58 -070013 audioplay.cpp \
Ed Coyne2c9e94a2017-05-31 10:08:28 -070014
15LOCAL_CFLAGS += ${bootanimation_CommonCFlags}
16
17LOCAL_SHARED_LIBRARIES := \
18 libOpenSLES \
19 libandroidfw \
20 libbase \
21 libbinder \
22 libbootanimation \
23 libcutils \
24 liblog \
25 libutils \
26
27LOCAL_MODULE:= bootanimation
28
29LOCAL_INIT_RC := bootanim.rc
30
31ifdef TARGET_32_BIT_SURFACEFLINGER
32LOCAL_32_BIT_ONLY := true
33endif
34
35include $(BUILD_EXECUTABLE)
36
37
38# libbootanimation
39# ===========================================================
40
41include $(CLEAR_VARS)
42LOCAL_MODULE := libbootanimation
43LOCAL_CFLAGS += ${bootanimation_CommonCFlags}
44
45LOCAL_SRC_FILES:= \
Andreas Gampecfedceb2014-09-30 21:48:18 -070046 BootAnimation.cpp
Mathias Agopian627e7b52009-05-21 19:21:59 -070047
Geoffrey Pitschd6d9a1d2016-06-08 00:38:58 -070048LOCAL_C_INCLUDES += \
49 external/tinyalsa/include \
50 frameworks/wilhelm/include
Mike Lockwoodebf9a0d2014-10-02 16:08:47 -070051
Mathias Agopian627e7b52009-05-21 19:21:59 -070052LOCAL_SHARED_LIBRARIES := \
Andreas Gampecfedceb2014-09-30 21:48:18 -070053 libcutils \
54 liblog \
55 libandroidfw \
56 libutils \
57 libbinder \
Mathias Agopian627e7b52009-05-21 19:21:59 -070058 libui \
Andreas Gampecfedceb2014-09-30 21:48:18 -070059 libskia \
Mathias Agopian627e7b52009-05-21 19:21:59 -070060 libEGL \
Mathias Agopian000479f2010-02-09 17:46:37 -080061 libGLESv1_CM \
Mike Lockwoodebf9a0d2014-10-02 16:08:47 -070062 libgui \
Keun-young Parkb5938422017-03-23 13:46:24 -070063 libtinyalsa \
64 libbase
Mathias Agopian627e7b52009-05-21 19:21:59 -070065
Colin Cross31d16e52014-03-19 18:09:01 -070066ifdef TARGET_32_BIT_SURFACEFLINGER
67LOCAL_32_BIT_ONLY := true
68endif
Mathias Agopian627e7b52009-05-21 19:21:59 -070069
Ed Coyne2c9e94a2017-05-31 10:08:28 -070070include ${BUILD_SHARED_LIBRARY}