blob: 3534624a58a2357e62184520127f752b319abd38 [file] [log] [blame]
Bob Badour8a6a2bc2021-02-12 17:07:05 -08001package {
2 // See: http://go/android-license-faq
3 // A large-scale-change added 'default_applicable_licenses' to import
4 // all of the 'license_kinds' from "frameworks_base_license"
5 // to get the below license kinds:
6 // SPDX-license-identifier-Apache-2.0
7 default_applicable_licenses: ["frameworks_base_license"],
8}
9
Dan Willemsenefc3e372018-11-19 23:39:03 -080010cc_defaults {
11 name: "bootanimation_defaults",
12
13 cflags: [
14 "-DGL_GLEXT_PROTOTYPES",
15 "-DEGL_EGLEXT_PROTOTYPES",
16
17 "-Wall",
18 "-Werror",
19 "-Wunused",
20 "-Wunreachable-code",
21 ],
22
23 shared_libs: [
24 "libandroidfw",
25 "libbase",
26 "libbinder",
27 "libcutils",
28 "liblog",
29 "libutils",
30 ],
31}
32
33// bootanimation executable
34// =========================================================
35
36cc_binary {
37 name: "bootanimation",
38 defaults: ["bootanimation_defaults"],
39
Orion Hodson63f06b72020-04-03 09:42:03 +010040 header_libs: ["jni_headers"],
41
Dan Willemsenefc3e372018-11-19 23:39:03 -080042 shared_libs: [
43 "libOpenSLES",
44 "libbootanimation",
45 ],
46
47 srcs: [
48 "BootAnimationUtil.cpp",
49
50 "bootanimation_main.cpp",
51 "audioplay.cpp",
52 ],
53
Dan Willemsenefc3e372018-11-19 23:39:03 -080054 init_rc: ["bootanim.rc"],
Glenn Kasten1c935272020-02-03 12:14:40 -080055
56 cflags: [
57 "-Wno-deprecated-declarations",
58 ],
Dan Willemsenefc3e372018-11-19 23:39:03 -080059}
60
61// libbootanimation
62// ===========================================================
63
64cc_library_shared {
65 name: "libbootanimation",
66 defaults: ["bootanimation_defaults"],
67
68 srcs: ["BootAnimation.cpp"],
69
70 shared_libs: [
71 "libui",
Derek Sollenberger22d0d4c72020-04-08 10:53:46 -040072 "libjnigraphics",
Dan Willemsenefc3e372018-11-19 23:39:03 -080073 "libEGL",
Lucas Dupindd7ed602021-07-29 21:49:07 +000074 "libGLESv2",
Dan Willemsenefc3e372018-11-19 23:39:03 -080075 "libgui",
Dan Willemsenefc3e372018-11-19 23:39:03 -080076 ],
Dan Willemsenefc3e372018-11-19 23:39:03 -080077}