blob: 320b851ab6f0deb371ee3676f1749e71cbdd5085 [file] [log] [blame]
// 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",
],
}