Skip to content

Commit

Permalink
Mark libs as double_loadable
Browse files Browse the repository at this point in the history
libs(libasyncio libmemtrack libprocinfo libusbhost) have
vendor variants and they are also used by LLNDK(libmediandk)
which means these libs can be double-loaded.

deps:
- libmediandk -> libmedia_jni -> libmtp -> libasyncio
- libmediandk -> libmedia_jni -> libandroid_runtime -> libmemtrack
- libmediandk -> libmedia_jni -> libandroid_runtime -> libdebuggerd_client -> libprocinfo
- libmediandk -> libmedia_jni -> libmtp -> libusbhost

Bug: 121280180
Test: m -j
Change-Id: I2c2b5d67cf47b85a2aa8c08f85c7e1a84490cf4e

Former-commit-id: c62462155483257ba69bc00f2b272e65179c6651
  • Loading branch information
Jooyung Han committed Feb 8, 2019
1 parent 66f4215 commit 8c5b0a2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions libasyncio/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ cc_library {
name: "libasyncio",
defaults: ["libasyncio_defaults"],
vendor_available: true,
double_loadable: true,
recovery_available: true,
host_supported: true,
srcs: [
Expand Down
1 change: 1 addition & 0 deletions libmemtrack/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ cc_library_shared {
vndk: {
enabled: true,
},
double_loadable: true,
srcs: ["memtrack.cpp"],
export_include_dirs: ["include"],
local_include_dirs: ["include"],
Expand Down
1 change: 1 addition & 0 deletions libprocinfo/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ cc_library {
vndk: {
enabled: true,
},
double_loadable: true,
host_supported: true,
srcs: [
"process.cpp",
Expand Down
1 change: 1 addition & 0 deletions libusbhost/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ cc_library {
vndk: {
enabled: true,
},
double_loadable: true,
host_supported: true,
srcs: ["usbhost.c"],
cflags: ["-Werror"],
Expand Down

0 comments on commit 8c5b0a2

Please sign in to comment.