blob: 0c05dedef4908799b9f449721ec389279e25cf9a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES:= \
bootanimation_main.cpp \
AudioPlayer.cpp \
BootAnimation.cpp
LOCAL_CFLAGS += -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
LOCAL_CFLAGS += -Wall -Werror -Wunused -Wunreachable-code
LOCAL_C_INCLUDES += external/tinyalsa/include
LOCAL_SHARED_LIBRARIES := \
libcutils \
liblog \
libandroidfw \
libutils \
libbinder \
libui \
libskia \
libEGL \
libGLESv1_CM \
libgui \
libtinyalsa \
libmedia
ifeq ($(TARGET_CONTINUOUS_SPLASH_ENABLED),true)
LOCAL_CFLAGS += -DCONTINUOUS_SPLASH
endif
ifeq ($(TARGET_BOOTANIMATION_PRELOAD),true)
LOCAL_CFLAGS += -DPRELOAD_BOOTANIMATION
endif
ifeq ($(TARGET_BOOTANIMATION_TEXTURE_CACHE),true)
LOCAL_CFLAGS += -DNO_TEXTURE_CACHE=0
endif
ifeq ($(TARGET_BOOTANIMATION_TEXTURE_CACHE),false)
LOCAL_CFLAGS += -DNO_TEXTURE_CACHE=1
endif
ifeq ($(TARGET_BOOTANIMATION_USE_RGB565),true)
LOCAL_CFLAGS += -DUSE_565
endif
LOCAL_MODULE:= bootanimation
ifdef TARGET_32_BIT_SURFACEFLINGER
LOCAL_32_BIT_ONLY := true
endif
include $(BUILD_EXECUTABLE)
|