Respects dnd settings for sound playback. Basic implementation uses in-memory wavs as buffers. audioplay::playClip should not be called before previous clip ends. Updated FORMAT.md to reflect no more audio_conf.txt Bug: 29055299 Change-Id: Ifc358d7c85f11b8b54ae6446c40643b87bc567f2
44 lines
787 B
Makefile
44 lines
787 B
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES:= \
|
|
bootanimation_main.cpp \
|
|
audioplay.cpp \
|
|
BootAnimation.cpp
|
|
|
|
LOCAL_CFLAGS += -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
|
|
|
|
LOCAL_CFLAGS += -Wall -Werror -Wunused -Wunreachable-code
|
|
|
|
LOCAL_C_INCLUDES += \
|
|
external/tinyalsa/include \
|
|
frameworks/wilhelm/include
|
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
libcutils \
|
|
liblog \
|
|
libandroidfw \
|
|
libutils \
|
|
libbinder \
|
|
libui \
|
|
libskia \
|
|
libEGL \
|
|
libGLESv1_CM \
|
|
libgui \
|
|
libOpenSLES \
|
|
libtinyalsa
|
|
|
|
LOCAL_MODULE:= bootanimation
|
|
|
|
LOCAL_INIT_RC := bootanim.rc
|
|
|
|
ifdef TARGET_32_BIT_SURFACEFLINGER
|
|
LOCAL_32_BIT_ONLY := true
|
|
endif
|
|
|
|
# get asserts to work
|
|
APP_OPTIM := debug
|
|
LOCAL_CFLAGS += -UNDEBUG
|
|
|
|
include $(BUILD_EXECUTABLE)
|