OSDN Git Service

libmedia2_jni: use libbinder as shared library
authorSteven Moreland <smoreland@google.com>
Tue, 17 Jul 2018 17:11:34 +0000 (10:11 -0700)
committerSteven Moreland <smoreland@google.com>
Wed, 18 Jul 2018 17:18:35 +0000 (10:18 -0700)
In order to prevent prebuilts from freezing the libbinder
internal API (the wire protocol), it is being made a
shared-only library.

Bug: 111454508
Test: m only
Change-Id: If7f8bd931dae5310eda6c230f20179418c2efa43
(cherry picked from commit a192e0e31400ac5a2b9d69788c7a60a89fb6c6ed)
Merged-In: If7f8bd931dae5310eda6c230f20179418c2efa43

media/jni/Android.bp

index 0ba45f1..3215167 100644 (file)
@@ -106,6 +106,7 @@ cc_library_shared {
         "libandroid_runtime",  // ???
         "libaudioclient",  // for use of AudioTrack, AudioSystem. to be removed
         "liblog",  // NDK
+        "libbinder",
         "libdrmframework",  // for FileSource, MediaHTTP
         "libgui",  // for VideoFrameScheduler
         "libhidlallocatorutils",
@@ -122,7 +123,6 @@ cc_library_shared {
     static_libs: [
         "libbacktrace",
         "libbase",
-        "libbinder",
         "libc_malloc_debug_backtrace",
         "libcrypto",
         "libcutils",