1package { 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 10aconfig_declarations { 11 name: "bootanimation_flags", 12 package: "com.android.graphics.bootanimation.flags", 13 container: "system", 14 srcs: ["bootanimation_flags.aconfig"], 15} 16 17cc_aconfig_library { 18 name: "libbootanimationflags", 19 aconfig_declarations: "bootanimation_flags", 20} 21 22cc_defaults { 23 name: "bootanimation_defaults", 24 25 cflags: [ 26 "-DGL_GLEXT_PROTOTYPES", 27 "-DEGL_EGLEXT_PROTOTYPES", 28 29 "-Wall", 30 "-Werror", 31 "-Wunused", 32 "-Wunreachable-code", 33 ], 34 35 shared_libs: [ 36 "libandroidfw", 37 "libbase", 38 "libbinder", 39 "libcutils", 40 "liblog", 41 "libutils", 42 ], 43 44 static_libs: [ 45 "libbootanimationflags", 46 ], 47} 48 49// bootanimation executable 50// ========================================================= 51 52cc_binary { 53 name: "bootanimation", 54 defaults: ["bootanimation_defaults"], 55 56 header_libs: ["jni_headers"], 57 58 shared_libs: [ 59 "libOpenSLES", 60 "libbootanimation", 61 ], 62 63 srcs: [ 64 "BootAnimationUtil.cpp", 65 66 "bootanimation_main.cpp", 67 "audioplay.cpp", 68 ], 69 70 init_rc: ["bootanim.rc"], 71 72 cflags: [ 73 "-Wno-deprecated-declarations", 74 ], 75} 76 77// libbootanimation 78// =========================================================== 79 80cc_library_shared { 81 name: "libbootanimation", 82 defaults: ["bootanimation_defaults"], 83 84 srcs: ["BootAnimation.cpp"], 85 86 shared_libs: [ 87 "libui", 88 "libjnigraphics", 89 "libEGL", 90 "libGLESv2", 91 "libgui", 92 ], 93} 94