blob: befb67bcf26a79f40a5a2d1a7d657dbcbb549610 [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
31 shared_libs: [
32 "libOpenSLES",
33 "libbootanimation",
34 ],
35
36 srcs: [
37 "BootAnimationUtil.cpp",
38
39 "bootanimation_main.cpp",
40 "audioplay.cpp",
41 ],
42
Dan Willemsenefc3e372018-11-19 23:39:03 -080043 init_rc: ["bootanim.rc"],
Glenn Kasten1c935272020-02-03 12:14:40 -080044
45 cflags: [
46 "-Wno-deprecated-declarations",
47 ],
Dan Willemsenefc3e372018-11-19 23:39:03 -080048}
49
50// libbootanimation
51// ===========================================================
52
53cc_library_shared {
54 name: "libbootanimation",
55 defaults: ["bootanimation_defaults"],
56
57 srcs: ["BootAnimation.cpp"],
58
59 shared_libs: [
60 "libui",
61 "libhwui",
62 "libEGL",
63 "libGLESv1_CM",
64 "libgui",
Dan Willemsenefc3e372018-11-19 23:39:03 -080065 ],
Dan Willemsenefc3e372018-11-19 23:39:03 -080066}