| 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 |
|
| 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 |
|
| 40 |
header_libs: ["jni_headers"], |
| 41 |
|
| 42 |
shared_libs: [ |
| 43 |
"libOpenSLES", |
| 44 |
"libbootanimation", |
| 45 |
], |
| 46 |
|
| 47 |
srcs: [ |
| 48 |
"BootAnimationUtil.cpp", |
| 49 |
|
| 50 |
"bootanimation_main.cpp", |
| 51 |
"audioplay.cpp", |
| 52 |
], |
| 53 |
|
| 54 |
init_rc: ["bootanim.rc"], |
| 55 |
|
| 56 |
cflags: [ |
| 57 |
"-Wno-deprecated-declarations", |
| 58 |
], |
| 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", |
| 72 |
"libjnigraphics", |
| 73 |
"libEGL", |
| 74 |
"libGLESv2", |
| 75 |
"libgui", |
| 76 |
], |
| 77 |
} |