1cc_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
43    init_rc: ["bootanim.rc"],
44
45    cflags: [
46        "-Wno-deprecated-declarations",
47    ],
48}
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",
65    ],
66}
67