blob: 73f4cde182f9b418c3cc800accf5480d09dc7050 [file] [log] [blame]
# Copyright 2020 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.
visibility = [ "$cobalt_root/src/lib/*" ]
group("tests") {
testonly = true
deps = [ ":private_index_decoding_test" ]
}
source_set("private_index_decoding") {
sources = [
"private_index_decoding.cc",
"private_index_decoding.h",
]
public_deps = [
"$cobalt_root/src/algorithms/privacy:numeric_encoding",
"$cobalt_root/src/logger:event_vector_index",
"$cobalt_root/src/public/lib:status",
"$cobalt_root/src/public/lib/statusor",
"$cobalt_root/src/registry:cobalt_registry_proto",
"//third_party/protobuf:protobuf_lite",
]
public_configs = [ "$cobalt_root:cobalt_config" ]
}
source_set("private_index_decoding_test") {
testonly = true
sources = [ "private_index_decoding_test.cc" ]
deps = [
":private_index_decoding",
"$cobalt_root/src/logger:event_vector_index",
"//third_party/googletest:gmock",
"//third_party/googletest:gtest",
]
public_configs = [ "$cobalt_root:cobalt_config" ]
}