From c62462155483257ba69bc00f2b272e65179c6651 Mon Sep 17 00:00:00 2001 From: Jooyung Han Date: Fri, 18 Jan 2019 18:10:14 +0900 Subject: [PATCH] Mark libs as double_loadable 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 --- libasyncio/Android.bp | 1 + libmemtrack/Android.bp | 1 + libprocinfo/Android.bp | 1 + libusbhost/Android.bp | 1 + 4 files changed, 4 insertions(+) diff --git a/libasyncio/Android.bp b/libasyncio/Android.bp index 4ab439d57..0fd2a3aed 100644 --- a/libasyncio/Android.bp +++ b/libasyncio/Android.bp @@ -27,6 +27,7 @@ cc_library { name: "libasyncio", defaults: ["libasyncio_defaults"], vendor_available: true, + double_loadable: true, recovery_available: true, host_supported: true, srcs: [ diff --git a/libmemtrack/Android.bp b/libmemtrack/Android.bp index 4e4554a7d..320b851ab 100644 --- a/libmemtrack/Android.bp +++ b/libmemtrack/Android.bp @@ -6,6 +6,7 @@ cc_library_shared { vndk: { enabled: true, }, + double_loadable: true, srcs: ["memtrack.cpp"], export_include_dirs: ["include"], local_include_dirs: ["include"], diff --git a/libprocinfo/Android.bp b/libprocinfo/Android.bp index 15f03d080..27cda9361 100644 --- a/libprocinfo/Android.bp +++ b/libprocinfo/Android.bp @@ -31,6 +31,7 @@ cc_library { vndk: { enabled: true, }, + double_loadable: true, host_supported: true, srcs: [ "process.cpp", diff --git a/libusbhost/Android.bp b/libusbhost/Android.bp index fc6f305c0..39bf3a5c0 100644 --- a/libusbhost/Android.bp +++ b/libusbhost/Android.bp @@ -20,6 +20,7 @@ cc_library { vndk: { enabled: true, }, + double_loadable: true, host_supported: true, srcs: ["usbhost.c"], cflags: ["-Werror"],