Lucas Dupin dd7ed60de0 Revert "Revert "Migrate boot animation from GLES 1.0 to GLES2.0.""
This reverts commit 2ded80094ee534cfbf360e89562f9d6f1cee33e0.

Reason for revert: Working on fixing the regression that happened on Wembly, so we can resume feature work.

Change-Id: I9a624beffdaf97f131046fd4441a251ed3a448ad
Test: adb shell /system/bin/bootanimation
Bug: 190093578
(cherry picked from commit 8eedc0293d53d31f96c2f9cd2f773149aaf5d63f)
2021-08-16 20:17:48 +00:00

78 lines
1.5 KiB
Plaintext

package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "frameworks_base_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: ["frameworks_base_license"],
}
cc_defaults {
name: "bootanimation_defaults",
cflags: [
"-DGL_GLEXT_PROTOTYPES",
"-DEGL_EGLEXT_PROTOTYPES",
"-Wall",
"-Werror",
"-Wunused",
"-Wunreachable-code",
],
shared_libs: [
"libandroidfw",
"libbase",
"libbinder",
"libcutils",
"liblog",
"libutils",
],
}
// bootanimation executable
// =========================================================
cc_binary {
name: "bootanimation",
defaults: ["bootanimation_defaults"],
header_libs: ["jni_headers"],
shared_libs: [
"libOpenSLES",
"libbootanimation",
],
srcs: [
"BootAnimationUtil.cpp",
"bootanimation_main.cpp",
"audioplay.cpp",
],
init_rc: ["bootanim.rc"],
cflags: [
"-Wno-deprecated-declarations",
],
}
// libbootanimation
// ===========================================================
cc_library_shared {
name: "libbootanimation",
defaults: ["bootanimation_defaults"],
srcs: ["BootAnimation.cpp"],
shared_libs: [
"libui",
"libjnigraphics",
"libEGL",
"libGLESv2",
"libgui",
],
}