You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
78 lines
1.5 KiB
78 lines
1.5 KiB
4 months ago
|
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",
|
||
|
"libGLESv1_CM",
|
||
|
"libgui",
|
||
|
],
|
||
|
}
|