blob: 9befd2bc3c2279f463c6a8e147aee33a7daa82a1 [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/components.gni")
###############################################################################
# GROUPS
###############################################################################
group("snapshot") {
testonly = true
deps = [ ":pkg" ]
}
###############################################################################
# PACKAGES
###############################################################################
fuchsia_shell_package("pkg") {
package_name = "snapshot"
deps = [
":main",
"//build/validate:non_production_tag",
]
}
###############################################################################
# EXECUTABLES
###############################################################################
executable("main") {
output_name = "snapshot"
sources = [ "main.cc" ]
deps = [
":snapshotter",
"//sdk/lib/sys/cpp",
]
}
###############################################################################
# SOURCES
###############################################################################
source_set("snapshotter") {
sources = [
"snapshotter.cc",
"snapshotter.h",
]
public_deps = [ "//sdk/lib/sys/cpp" ]
deps = [
"//sdk/fidl/fuchsia.feedback",
"//zircon/system/ulib/zx",
]
}