blob: 0f569971ff62806e4a9c461264d3426f5a4bebbf [file] [log] [blame]
Dan Willemsenefc3e372018-11-19 23:39:03 -08001cc_defaults {
2 name: "bootanimation_defaults",
3
4 cflags: [
5 "-DGL_GLEXT_PROTOTYPES",
6 "-DEGL_EGLEXT_PROTOTYPES",
7
8 "-Wall",
9 "-Werror",
10 "-Wunused",
11 "-Wunreachable-code",
12 ],
13
14 shared_libs: [
15 "libandroidfw",
16 "libbase",
17 "libbinder",
18 "libcutils",
19 "liblog",
20 "libutils",
21 ],
22}
23
24// bootanimation executable
25// =========================================================
26
27cc_binary {
28 name: "bootanimation",
29 defaults: ["bootanimation_defaults"],
30
Orion Hodson63f06b72020-04-03 09:42:03 +010031 header_libs: ["jni_headers"],
32
Dan Willemsenefc3e372018-11-19 23:39:03 -080033 shared_libs: [
34 "libOpenSLES",
35 "libbootanimation",
36 ],
37
38 srcs: [
39 "BootAnimationUtil.cpp",
40
41 "bootanimation_main.cpp",
42 "audioplay.cpp",
43 ],
44
Dan Willemsenefc3e372018-11-19 23:39:03 -080045 init_rc: ["bootanim.rc"],
Glenn Kasten1c935272020-02-03 12:14:40 -080046
47 cflags: [
48 "-Wno-deprecated-declarations",
49 ],
Dan Willemsenefc3e372018-11-19 23:39:03 -080050}
51
52// libbootanimation
53// ===========================================================
54
55cc_library_shared {
56 name: "libbootanimation",
57 defaults: ["bootanimation_defaults"],
58
59 srcs: ["BootAnimation.cpp"],
60
61 shared_libs: [
62 "libui",
Derek Sollenberger22d0d4c72020-04-08 10:53:46 -040063 "libjnigraphics",
Dan Willemsenefc3e372018-11-19 23:39:03 -080064 "libEGL",
65 "libGLESv1_CM",
66 "libgui",
Dan Willemsenefc3e372018-11-19 23:39:03 -080067 ],
Dan Willemsenefc3e372018-11-19 23:39:03 -080068}