android_system_core/libmeminfo/tools/Android.bp
Sandeep Patil 99ed4a0b4e procmem2: Finish implementing all options
In the same time replace iomanipulators with
::android::base::StringPrintf which makes the output much more readable
and the overall program simpler.

Bug: 114325007
Bug: 111694435
Test: procmem 1
Test: procmem -W 1
Test: procmem -u 1
Test: procmem -p 1
Test: procmem -w 1
Test: procmem -w -u 1
Test: procmem -w -p 1

Change-Id: Ibf7ef59b24dfcb851c78a3b2fad672d96a708b98
Signed-off-by: Sandeep Patil <sspatil@google.com>
2018-12-07 09:16:35 -08:00

43 lines
1 KiB
Text

// 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.
cc_binary {
name: "procmem2",
cflags: [
"-Wall",
"-Werror",
"-Wno-unused-parameter",
],
srcs: ["procmem.cpp"],
shared_libs: [
"libbase",
"libmeminfo",
],
}
cc_binary {
name: "procrank2",
cflags: [
"-Wall",
"-Werror",
"-Wno-unused-parameter",
],
srcs: ["procrank.cpp"],
shared_libs: [
"libbase",
"libmeminfo",
],
}