blob: 543ab51a3b05635a148d2800f82115fc57801c69 [file] [log] [blame]
# Copyright 2019 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/config.gni")
import("//build/package.gni")
executable("bin") {
output_name = "mem"
sources = [ "main.cc" ]
deps = [
"//sdk/lib/sys/cpp",
"//src/developer/memory/metrics",
"//src/lib/fxl",
"//zircon/system/ulib/async-loop:async-loop-cpp",
"//zircon/system/ulib/async-loop:async-loop-default",
"//zircon/system/ulib/trace",
"//zircon/system/ulib/trace-provider:trace-provider-with-fdio",
]
# TODO(fxbug.dev/58162): delete the below and fix compiler warnings
configs += [ "//build/config:Wno-conversion" ]
}
package("mem") {
deps = [ ":bin" ]
binaries = [
{
name = "mem"
shell = true
},
]
}