blob: d59233a1526bc561d1d5a2f080e4d81dd29369ce [file] [log] [blame]
# Copyright 2016 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/fuzzing/fuzzer.gni")
import("//build/package.gni")
visibility = [ "//src/ledger/*" ]
package("bin") {
package_name = "ledger"
deps = [
"app",
]
binary = "ledger"
meta = [
{
path = rebase_path("meta/ledger.cmx")
dest = "ledger.cmx"
},
]
}
executable("ledger_unittests") {
testonly = true
deps = [
"//src/ledger/bin/app:unittests",
"//src/ledger/bin/cache:unittests",
"//src/ledger/bin/cloud_sync/impl:unittests",
"//src/ledger/bin/encryption/impl:unittests",
"//src/ledger/bin/encryption/primitives:unittests",
"//src/ledger/bin/environment:unittests",
"//src/ledger/bin/fidl/syncable:unittests",
"//src/ledger/bin/filesystem:unittests",
"//src/ledger/bin/lock:unittests",
"//src/ledger/bin/p2p_provider/impl:unittests",
"//src/ledger/bin/p2p_sync/impl:unittests",
"//src/ledger/bin/public:unittests",
"//src/ledger/bin/storage/impl:unittests",
"//src/ledger/bin/storage/impl/btree:unittests",
"//src/ledger/bin/storage/public:unittests",
"//src/ledger/bin/storage/testing:unittests",
"//src/ledger/bin/sync_coordinator/impl:unittests",
"//src/ledger/bin/sync_helper:unittests",
"//src/ledger/bin/testing:unittests",
"//src/ledger/bin/testing/netconnector:unittests",
"//src/lib/fxl:printers",
"//src/lib/fxl/test:gtest_main",
]
configs += [ "//src/ledger:ledger_config" ]
}
fuzzers_package("ledger_fuzzers") {
fuzzers = [
"//src/ledger/bin/p2p_sync/impl:p2p_sync_fuzzer",
"//src/ledger/bin/storage/impl/btree:encoding_fuzzer",
"//peridot/lib/commit_pack:commit_pack_fuzzer",
]
generated_test_package = "ledger_fuzzer_tests"
}