Dan Willemsen | efc3e37 | 2018-11-19 23:39:03 -0800 | [diff] [blame] | 1 | cc_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 | |
| 27 | cc_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 Willemsen | efc3e37 | 2018-11-19 23:39:03 -0800 | [diff] [blame] | 43 | init_rc: ["bootanim.rc"], |
Glenn Kasten | 1c93527 | 2020-02-03 12:14:40 -0800 | [diff] [blame] | 44 | |
| 45 | cflags: [ |
| 46 | "-Wno-deprecated-declarations", |
| 47 | ], |
Dan Willemsen | efc3e37 | 2018-11-19 23:39:03 -0800 | [diff] [blame] | 48 | } |
| 49 | |
| 50 | // libbootanimation |
| 51 | // =========================================================== |
| 52 | |
| 53 | cc_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 Willemsen | efc3e37 | 2018-11-19 23:39:03 -0800 | [diff] [blame] | 65 | ], |
Dan Willemsen | efc3e37 | 2018-11-19 23:39:03 -0800 | [diff] [blame] | 66 | } |