2016-07-13 07:10:56 +02:00
|
|
|
// Copyright 2013 The Android Open Source Project
|
|
|
|
|
|
|
|
cc_library_shared {
|
|
|
|
name: "libmemtrack",
|
2017-08-03 08:49:19 +02:00
|
|
|
vendor_available: true,
|
|
|
|
vndk: {
|
|
|
|
enabled: true,
|
|
|
|
},
|
2016-10-04 01:56:02 +02:00
|
|
|
srcs: ["memtrack.cpp"],
|
2016-07-13 07:10:56 +02:00
|
|
|
export_include_dirs: ["include"],
|
|
|
|
local_include_dirs: ["include"],
|
|
|
|
include_dirs: ["hardware/libhardware/include"],
|
|
|
|
shared_libs: [
|
|
|
|
"libhardware",
|
|
|
|
"liblog",
|
2016-10-04 01:56:02 +02:00
|
|
|
"libbase",
|
2016-11-17 22:00:55 +01:00
|
|
|
"libhidlbase",
|
|
|
|
"libhidltransport",
|
2016-10-04 01:56:02 +02:00
|
|
|
"libhwbinder",
|
|
|
|
"libutils",
|
|
|
|
"android.hardware.memtrack@1.0",
|
2016-07-13 07:10:56 +02:00
|
|
|
],
|
|
|
|
cflags: [
|
|
|
|
"-Wall",
|
|
|
|
"-Werror",
|
|
|
|
],
|
|
|
|
}
|
|
|
|
|
|
|
|
cc_binary {
|
|
|
|
name: "memtrack_test",
|
|
|
|
srcs: ["memtrack_test.c"],
|
|
|
|
shared_libs: [
|
|
|
|
"libmemtrack",
|
|
|
|
"libpagemap",
|
|
|
|
],
|
|
|
|
cflags: [
|
|
|
|
"-Wall",
|
|
|
|
"-Werror",
|
|
|
|
],
|
|
|
|
}
|