Sandeep Patil | 54d8721 | 2018-08-29 17:10:47 -0700 | [diff] [blame] | 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 | |
| 15 | cc_binary { |
Sandeep Patil | d8e322c | 2019-01-19 12:25:08 -0800 | [diff] [blame] | 16 | name: "librank", |
Sandeep Patil | 2aeaaeb | 2018-11-23 00:13:16 -0800 | [diff] [blame] | 17 | cflags: [ |
| 18 | "-Wall", |
| 19 | "-Werror", |
| 20 | ], |
| 21 | |
| 22 | srcs: ["librank.cpp"], |
| 23 | shared_libs: [ |
| 24 | "libbase", |
| 25 | "libmeminfo", |
| 26 | ], |
| 27 | } |
| 28 | |
| 29 | cc_binary { |
Sandeep Patil | d8e322c | 2019-01-19 12:25:08 -0800 | [diff] [blame] | 30 | name: "procmem", |
Sandeep Patil | 54d8721 | 2018-08-29 17:10:47 -0700 | [diff] [blame] | 31 | cflags: [ |
| 32 | "-Wall", |
| 33 | "-Werror", |
Sandeep Patil | 54d8721 | 2018-08-29 17:10:47 -0700 | [diff] [blame] | 34 | ], |
| 35 | |
| 36 | srcs: ["procmem.cpp"], |
| 37 | shared_libs: [ |
Sandeep Patil | 99ed4a0 | 2018-11-19 17:42:55 -0800 | [diff] [blame] | 38 | "libbase", |
Sandeep Patil | 54d8721 | 2018-08-29 17:10:47 -0700 | [diff] [blame] | 39 | "libmeminfo", |
| 40 | ], |
| 41 | } |
Sandeep Patil | a14119d | 2018-11-16 09:18:57 -0800 | [diff] [blame] | 42 | |
| 43 | cc_binary { |
Sandeep Patil | d8e322c | 2019-01-19 12:25:08 -0800 | [diff] [blame] | 44 | name: "procrank", |
Sandeep Patil | a14119d | 2018-11-16 09:18:57 -0800 | [diff] [blame] | 45 | cflags: [ |
| 46 | "-Wall", |
| 47 | "-Werror", |
Sandeep Patil | a14119d | 2018-11-16 09:18:57 -0800 | [diff] [blame] | 48 | ], |
| 49 | |
| 50 | srcs: ["procrank.cpp"], |
| 51 | shared_libs: [ |
| 52 | "libbase", |
| 53 | "libmeminfo", |
| 54 | ], |
| 55 | } |
Sandeep Patil | 82a48b1 | 2019-01-01 16:04:04 -0800 | [diff] [blame] | 56 | |
| 57 | cc_binary { |
Sandeep Patil | d8e322c | 2019-01-19 12:25:08 -0800 | [diff] [blame] | 58 | name: "showmap", |
Sandeep Patil | 82a48b1 | 2019-01-01 16:04:04 -0800 | [diff] [blame] | 59 | cflags: [ |
| 60 | "-Wall", |
| 61 | "-Werror", |
| 62 | ], |
| 63 | |
| 64 | srcs: ["showmap.cpp"], |
| 65 | shared_libs: [ |
| 66 | "libbase", |
| 67 | "libmeminfo", |
| 68 | ], |
| 69 | } |
Sandeep Patil | 061b713 | 2019-01-19 21:11:01 -0800 | [diff] [blame] | 70 | |
| 71 | cc_binary { |
| 72 | name: "wsstop", |
| 73 | cflags: [ |
| 74 | "-Wall", |
| 75 | "-Werror", |
| 76 | ], |
| 77 | srcs: ["wsstop.cpp"], |
| 78 | shared_libs: [ |
| 79 | "libbase", |
| 80 | "liblog", |
| 81 | "libmeminfo", |
| 82 | ], |
| 83 | } |