platform_system_core/libmemtrack/Android.bp
Sandeep Patil 380995adc7 libmemtrack: Remove libpagemap dependency.
While at it convert the old memtrack_test.c to cpp.
Bug: 111694435
Test: memtrack_test

Change-Id: If297d70cf05b330c578dfabc934fc368d362cc70
Signed-off-by: Sandeep Patil <sspatil@google.com>
2019-01-21 13:47:27 -08:00

41 lines
832 B
Text

// Copyright 2013 The Android Open Source Project
cc_library_shared {
name: "libmemtrack",
vendor_available: true,
vndk: {
enabled: 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",
],
}