Skip to content

Commit

Permalink
Use libnativehelper in preference to libnativehelper_compat_libc++
Browse files Browse the repository at this point in the history
The former is now available as a public library and already loaded in
the process when jni libraries are loaded.

Bug: 151443957
Test: m & boot
Change-Id: I7ca6e517ca2966afbdae056c4bcf4b2380885860
  • Loading branch information
ohodson committed Apr 28, 2020
1 parent 844935c commit 6272f2d
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions NativeCode.bp
Original file line number Diff line number Diff line change
Expand Up @@ -212,15 +212,8 @@ cc_library_shared {
"libicui18n",
"libicuuc",
"liblog",
"libnativehelper",
],
target: {
android: {
shared_libs: ["libnativehelper_compat_libc++"],
},
host: {
shared_libs: ["libnativehelper"],
},
},

cflags: [
// -DANDROID_LINK_SHARED_ICU4C to enable access to the full ICU4C.
Expand Down

0 comments on commit 6272f2d

Please sign in to comment.