blob: 3e5877b05708b8ef9ef7edbdad70f4865ebf8d91 [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
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 Willemsenc15cf1d2018-11-19 23:39:03 -080043 init_rc: ["bootanim.rc"],
44}
45
46// libbootanimation
47// ===========================================================
48
49cc_library_shared {
50 name: "libbootanimation",
51 defaults: ["bootanimation_defaults"],
52
53 srcs: ["BootAnimation.cpp"],
54
55 shared_libs: [
56 "libui",
57 "libhwui",
58 "libEGL",
59 "libGLESv1_CM",
60 "libgui",
Dan Willemsenc15cf1d2018-11-19 23:39:03 -080061 ],
Dan Willemsenc15cf1d2018-11-19 23:39:03 -080062}