blob: c60d08b2bda13aa58e74e541ce693739009c4139 [file] [log] [blame]
Dan Willemsenc15cf1d2018-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 Willemsenc15cf1d2018-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 Willemsenc15cf1d2018-11-19 23:39:03 -080045 init_rc: ["bootanim.rc"],
46}
47
48// libbootanimation
49// ===========================================================
50
51cc_library_shared {
52 name: "libbootanimation",
53 defaults: ["bootanimation_defaults"],
54
55 srcs: ["BootAnimation.cpp"],
56
57 shared_libs: [
58 "libui",
59 "libhwui",
60 "libEGL",
61 "libGLESv1_CM",
62 "libgui",
Dan Willemsenc15cf1d2018-11-19 23:39:03 -080063 ],
Dan Willemsenc15cf1d2018-11-19 23:39:03 -080064}