blob: 18582d67eeb6848776c2916f3fe5ea2e88774c5c [file] [log] [blame]
# Copyright 2017 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/testing/environments.gni")
import("//src/modular/build/tests_package.gni")
visibility = [ "//src/ledger/*" ]
source_set("bup") {
sources = [
"bupsplit.cc",
"bupsplit.h",
]
public_deps = [
"//third_party/abseil-cpp",
"//zircon/public/lib/fit",
]
}
executable("bupsplit_unittest") {
testonly = true
sources = [ "bupsplit_unittest.cc" ]
deps = [
":bup",
"//src/ledger/bin/testing:gtest_main",
"//third_party/googletest:gtest",
]
}
hermetic_tests_package("bup_tests") {
deps = [ ":bupsplit_unittest" ]
environments = basic_envs
}