| Bob Badour | 8a6a2bc | 2021-02-12 17:07:05 -0800 | [diff] [blame] | 1 | package { | 
 | 2 |     // See: http://go/android-license-faq | 
 | 3 |     // A large-scale-change added 'default_applicable_licenses' to import | 
 | 4 |     // all of the 'license_kinds' from "frameworks_base_license" | 
 | 5 |     // to get the below license kinds: | 
 | 6 |     //   SPDX-license-identifier-Apache-2.0 | 
 | 7 |     default_applicable_licenses: ["frameworks_base_license"], | 
 | 8 | } | 
 | 9 |  | 
| Dan Willemsen | efc3e37 | 2018-11-19 23:39:03 -0800 | [diff] [blame] | 10 | cc_defaults { | 
 | 11 |     name: "bootanimation_defaults", | 
 | 12 |  | 
 | 13 |     cflags: [ | 
 | 14 |         "-DGL_GLEXT_PROTOTYPES", | 
 | 15 |         "-DEGL_EGLEXT_PROTOTYPES", | 
 | 16 |  | 
 | 17 |         "-Wall", | 
 | 18 |         "-Werror", | 
 | 19 |         "-Wunused", | 
 | 20 |         "-Wunreachable-code", | 
 | 21 |     ], | 
 | 22 |  | 
 | 23 |     shared_libs: [ | 
 | 24 |         "libandroidfw", | 
 | 25 |         "libbase", | 
 | 26 |         "libbinder", | 
 | 27 |         "libcutils", | 
 | 28 |         "liblog", | 
 | 29 |         "libutils", | 
 | 30 |     ], | 
 | 31 | } | 
 | 32 |  | 
 | 33 | // bootanimation executable | 
 | 34 | // ========================================================= | 
 | 35 |  | 
 | 36 | cc_binary { | 
 | 37 |     name: "bootanimation", | 
 | 38 |     defaults: ["bootanimation_defaults"], | 
 | 39 |  | 
| Orion Hodson | 63f06b7 | 2020-04-03 09:42:03 +0100 | [diff] [blame] | 40 |     header_libs: ["jni_headers"], | 
 | 41 |  | 
| Dan Willemsen | efc3e37 | 2018-11-19 23:39:03 -0800 | [diff] [blame] | 42 |     shared_libs: [ | 
 | 43 |         "libOpenSLES", | 
 | 44 |         "libbootanimation", | 
 | 45 |     ], | 
 | 46 |  | 
 | 47 |     srcs: [ | 
 | 48 |         "BootAnimationUtil.cpp", | 
 | 49 |  | 
 | 50 |         "bootanimation_main.cpp", | 
 | 51 |         "audioplay.cpp", | 
 | 52 |     ], | 
 | 53 |  | 
| Dan Willemsen | efc3e37 | 2018-11-19 23:39:03 -0800 | [diff] [blame] | 54 |     init_rc: ["bootanim.rc"], | 
| Glenn Kasten | 1c93527 | 2020-02-03 12:14:40 -0800 | [diff] [blame] | 55 |  | 
 | 56 |     cflags: [ | 
 | 57 |         "-Wno-deprecated-declarations", | 
 | 58 |     ], | 
| Dan Willemsen | efc3e37 | 2018-11-19 23:39:03 -0800 | [diff] [blame] | 59 | } | 
 | 60 |  | 
 | 61 | // libbootanimation | 
 | 62 | // =========================================================== | 
 | 63 |  | 
 | 64 | cc_library_shared { | 
 | 65 |     name: "libbootanimation", | 
 | 66 |     defaults: ["bootanimation_defaults"], | 
 | 67 |  | 
 | 68 |     srcs: ["BootAnimation.cpp"], | 
 | 69 |  | 
 | 70 |     shared_libs: [ | 
 | 71 |         "libui", | 
| Derek Sollenberger | 22d0d4c7 | 2020-04-08 10:53:46 -0400 | [diff] [blame] | 72 |         "libjnigraphics", | 
| Dan Willemsen | efc3e37 | 2018-11-19 23:39:03 -0800 | [diff] [blame] | 73 |         "libEGL", | 
 | 74 |         "libGLESv1_CM", | 
 | 75 |         "libgui", | 
| Dan Willemsen | efc3e37 | 2018-11-19 23:39:03 -0800 | [diff] [blame] | 76 |     ], | 
| Dan Willemsen | efc3e37 | 2018-11-19 23:39:03 -0800 | [diff] [blame] | 77 | } |