Add a copy of the boot animation service
Will show a app specific icon on boot.
This commit is contained in:
parent
1879e634c5
commit
3ccf1d0424
4 changed files with 551 additions and 0 deletions
53
android/bootanimation/Android.mk
Normal file
53
android/bootanimation/Android.mk
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
LOCAL_PATH:= $(call my-dir)
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_SRC_FILES:= \
|
||||
bootanimation_main.cpp \
|
||||
BootAnimation.cpp
|
||||
|
||||
LOCAL_CFLAGS += -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
|
||||
|
||||
LOCAL_C_INCLUDES += external/tinyalsa/include
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libcutils \
|
||||
liblog \
|
||||
libandroidfw \
|
||||
libutils \
|
||||
libbinder \
|
||||
libui \
|
||||
libskia \
|
||||
libEGL \
|
||||
libGLESv1_CM \
|
||||
libgui \
|
||||
libtinyalsa
|
||||
|
||||
LOCAL_MODULE := anbox_bootanimation
|
||||
|
||||
LOCAL_OVERRIDES_PACKAGES := bootanimation
|
||||
|
||||
ifdef TARGET_32_BIT_SURFACEFLINGER
|
||||
LOCAL_32_BIT_ONLY := true
|
||||
endif
|
||||
|
||||
include $(BUILD_EXECUTABLE)
|
||||
|
||||
#
|
||||
# Add symlink to bootanimation
|
||||
#
|
||||
|
||||
ALL_TOOLS:= bootanimation
|
||||
SYMLINKS := $(addprefix $(TARGET_OUT)/bin/,$(ALL_TOOLS))
|
||||
$(SYMLINKS): TOOLBOX_BINARY := $(LOCAL_MODULE)
|
||||
$(SYMLINKS): $(LOCAL_INSTALLED_MODULE) $(LOCAL_PATH)/Android.mk
|
||||
@echo "Symlink: $@ -> $(TOOLBOX_BINARY)"
|
||||
@mkdir -p $(dir $@)
|
||||
@rm -rf $@
|
||||
$(hide) ln -sf $(TOOLBOX_BINARY) $@
|
||||
|
||||
ALL_DEFAULT_INSTALLED_MODULES += $(SYMLINKS)
|
||||
|
||||
# We need this so that the installed files could be picked up based on the
|
||||
# local module name
|
||||
ALL_MODULES.$(LOCAL_MODULE).INSTALLED := \
|
||||
$(ALL_MODULES.$(LOCAL_MODULE).INSTALLED) $(SYMLINKS)
|
||||
Loading…
Add table
Add a link
Reference in a new issue