Glenn Kasten 1c93527d16 Deprecate OpenSL ES for Android as of API level 30 (R)
Bug: 134958169
Test: try with an NDK r21 canary for both R and earlier, and a pre-21 NDK
Change-Id: Ie0a317debd07230d344218c5874f3060dc3ab85f
2020-02-11 13:29:09 -08:00

67 lines
1.1 KiB
Plaintext

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"],
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",
"libhwui",
"libEGL",
"libGLESv1_CM",
"libgui",
],
}