1// Copyright (C) 2018 The Android Open Source Project 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15cc_binary { 16 name: "librank", 17 cflags: [ 18 "-Wall", 19 "-Werror", 20 ], 21 22 srcs: ["librank.cpp"], 23 shared_libs: [ 24 "libbase", 25 "libmeminfo", 26 ], 27} 28 29cc_binary { 30 name: "procmem", 31 cflags: [ 32 "-Wall", 33 "-Werror", 34 ], 35 36 srcs: ["procmem.cpp"], 37 shared_libs: [ 38 "libbase", 39 "libmeminfo", 40 ], 41} 42 43cc_binary { 44 name: "procrank", 45 cflags: [ 46 "-Wall", 47 "-Werror", 48 ], 49 50 srcs: ["procrank.cpp"], 51 shared_libs: [ 52 "libbase", 53 "libmeminfo", 54 ], 55} 56 57cc_binary { 58 name: "showmap", 59 host_supported: true, 60 cflags: [ 61 "-Wall", 62 "-Werror", 63 ], 64 65 srcs: ["showmap.cpp"], 66 shared_libs: [ 67 "libbase", 68 "libmeminfo", 69 ], 70 71 target: { 72 darwin: { 73 enabled: false, 74 }, 75 }, 76} 77 78cc_binary { 79 name: "wsstop", 80 cflags: [ 81 "-Wall", 82 "-Werror", 83 ], 84 srcs: ["wsstop.cpp"], 85 shared_libs: [ 86 "libbase", 87 "liblog", 88 "libmeminfo", 89 ], 90} 91