2018-08-30 00:10:47 +00:00
|
|
|
// Copyright (C) 2018 The Android Open Source Project
|
|
|
|
//
|
|
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
// you may not use this file except in compliance with the License.
|
|
|
|
// You may obtain a copy of the License at
|
|
|
|
//
|
|
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
//
|
|
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
// See the License for the specific language governing permissions and
|
|
|
|
// limitations under the License.
|
|
|
|
|
2018-11-23 08:13:16 +00:00
|
|
|
cc_binary {
|
2019-01-19 20:25:08 +00:00
|
|
|
name: "librank",
|
2018-11-23 08:13:16 +00:00
|
|
|
cflags: [
|
|
|
|
"-Wall",
|
|
|
|
"-Werror",
|
|
|
|
],
|
|
|
|
|
|
|
|
srcs: ["librank.cpp"],
|
|
|
|
shared_libs: [
|
|
|
|
"libbase",
|
|
|
|
"libmeminfo",
|
|
|
|
],
|
|
|
|
}
|
|
|
|
|
2018-08-30 00:10:47 +00:00
|
|
|
cc_binary {
|
2019-01-19 20:25:08 +00:00
|
|
|
name: "procmem",
|
2018-08-30 00:10:47 +00:00
|
|
|
cflags: [
|
|
|
|
"-Wall",
|
|
|
|
"-Werror",
|
|
|
|
],
|
|
|
|
|
|
|
|
srcs: ["procmem.cpp"],
|
|
|
|
shared_libs: [
|
2018-11-20 01:42:55 +00:00
|
|
|
"libbase",
|
2018-08-30 00:10:47 +00:00
|
|
|
"libmeminfo",
|
|
|
|
],
|
|
|
|
}
|
2018-11-16 17:18:57 +00:00
|
|
|
|
|
|
|
cc_binary {
|
2019-01-19 20:25:08 +00:00
|
|
|
name: "procrank",
|
2018-11-16 17:18:57 +00:00
|
|
|
cflags: [
|
|
|
|
"-Wall",
|
|
|
|
"-Werror",
|
|
|
|
],
|
|
|
|
|
|
|
|
srcs: ["procrank.cpp"],
|
|
|
|
shared_libs: [
|
|
|
|
"libbase",
|
|
|
|
"libmeminfo",
|
|
|
|
],
|
|
|
|
}
|
2019-01-02 00:04:04 +00:00
|
|
|
|
|
|
|
cc_binary {
|
2019-01-19 20:25:08 +00:00
|
|
|
name: "showmap",
|
2019-07-17 00:21:10 +00:00
|
|
|
host_supported: true,
|
2019-01-02 00:04:04 +00:00
|
|
|
cflags: [
|
|
|
|
"-Wall",
|
|
|
|
"-Werror",
|
|
|
|
],
|
|
|
|
|
|
|
|
srcs: ["showmap.cpp"],
|
|
|
|
shared_libs: [
|
|
|
|
"libbase",
|
|
|
|
"libmeminfo",
|
|
|
|
],
|
2019-07-18 23:25:15 +00:00
|
|
|
|
|
|
|
target: {
|
|
|
|
darwin: {
|
|
|
|
enabled: false,
|
|
|
|
},
|
|
|
|
},
|
2019-01-02 00:04:04 +00:00
|
|
|
}
|
2019-01-20 05:11:01 +00:00
|
|
|
|
|
|
|
cc_binary {
|
|
|
|
name: "wsstop",
|
|
|
|
cflags: [
|
|
|
|
"-Wall",
|
|
|
|
"-Werror",
|
|
|
|
],
|
|
|
|
srcs: ["wsstop.cpp"],
|
|
|
|
shared_libs: [
|
|
|
|
"libbase",
|
|
|
|
"liblog",
|
|
|
|
"libmeminfo",
|
|
|
|
],
|
|
|
|
}
|