Merge "libandroid_runtime,libhwui: use libnativehelper_lazy"

This commit is contained in:
Orion Hodson
2021-02-21 10:03:21 +00:00
committed by Gerrit Code Review
2 changed files with 8 additions and 5 deletions

View File

@@ -67,11 +67,12 @@ cc_library_shared {
"libhwui", "libhwui",
"liblog", "liblog",
"libminikin", "libminikin",
"libnativehelper",
"libz", "libz",
"libziparchive", "libziparchive",
], ],
static_libs: ["libnativehelper_lazy"],
export_include_dirs: [ export_include_dirs: [
".", ".",
"include", "include",
@@ -284,12 +285,13 @@ cc_library_shared {
"libstatspull", "libstatspull",
], ],
export_shared_lib_headers: [ export_shared_lib_headers: [
// AndroidRuntime.h depends on nativehelper/jni.h
"libnativehelper",
// our headers include libnativewindow's public headers // our headers include libnativewindow's public headers
"libnativewindow", "libnativewindow",
], ],
export_static_lib_headers: [
// AndroidRuntime.h depends on nativehelper/jni.h
"libnativehelper_lazy",
],
header_libs: [ header_libs: [
"bionic_libc_platform_headers", "bionic_libc_platform_headers",
"dnsproxyd_protocol_headers", "dnsproxyd_protocol_headers",

View File

@@ -343,12 +343,13 @@ cc_defaults {
"libharfbuzz_ng", "libharfbuzz_ng",
"liblog", "liblog",
"libminikin", "libminikin",
"libnativehelper",
"libz", "libz",
"libziparchive", "libziparchive",
"libjpeg", "libjpeg",
], ],
static_libs: ["libnativehelper_lazy"],
target: { target: {
android: { android: {
srcs: [ // sources that depend on android only libraries srcs: [ // sources that depend on android only libraries