c624621554
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
42 lines
859 B
Text
42 lines
859 B
Text
// Copyright 2013 The Android Open Source Project
|
|
|
|
cc_library_shared {
|
|
name: "libmemtrack",
|
|
vendor_available: true,
|
|
vndk: {
|
|
enabled: true,
|
|
},
|
|
double_loadable: true,
|
|
srcs: ["memtrack.cpp"],
|
|
export_include_dirs: ["include"],
|
|
local_include_dirs: ["include"],
|
|
include_dirs: ["hardware/libhardware/include"],
|
|
shared_libs: [
|
|
"libhardware",
|
|
"liblog",
|
|
"libbase",
|
|
"libhidlbase",
|
|
"libhidltransport",
|
|
"libhwbinder",
|
|
"libutils",
|
|
"android.hardware.memtrack@1.0",
|
|
],
|
|
cflags: [
|
|
"-Wall",
|
|
"-Werror",
|
|
],
|
|
}
|
|
|
|
cc_binary {
|
|
name: "memtrack_test",
|
|
srcs: ["memtrack_test.cpp"],
|
|
static_libs: ["libc++fs"],
|
|
shared_libs: [
|
|
"libbase",
|
|
"libmemtrack",
|
|
],
|
|
cflags: [
|
|
"-Wall",
|
|
"-Werror",
|
|
],
|
|
}
|