Remove unnecessary dependency on libnativehelper.so
libnativedisplay is a transitive dependency of bootanimation and
as libnativehelper.so is in the ART APEX, libnativehelper.so may not
be available when bootanimation runs. nativedisplay just depends on
jni.h and the header-only library libnativehelper_header_only.
Bug: 179115178
Test: m
Change-Id: I3a9f277d27e69b0ff6e9c29c3e2a8a6a7179b9a9
Merged-In: I3a9f277d27e69b0ff6e9c29c3e2a8a6a7179b9a9
(cherry-picked from commit e53587b42207c90f3017b4e49d33c568a3c44f00)
Change-Id: I80353136f63f5e12276bce7758b423febb2e3968
diff --git a/libs/nativedisplay/Android.bp b/libs/nativedisplay/Android.bp
index 2189a42..6e9c999 100644
--- a/libs/nativedisplay/Android.bp
+++ b/libs/nativedisplay/Android.bp
@@ -72,15 +72,12 @@
"libcutils",
"libEGL",
"libGLESv2",
- "libnativehelper",
- ],
-
- export_shared_lib_headers: [
- "libnativehelper",
],
header_libs: [
"libnativedisplay_headers",
+ "libnativehelper_header_only",
],
+ export_header_lib_headers: ["libnativehelper_header_only"],
}