1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Copyright 2020 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
static_library("federated_learning") {
sources = [
"floc_constants.cc",
"floc_constants.h",
"floc_id.cc",
"floc_id.h",
"floc_sorting_lsh_clusters_service.cc",
"floc_sorting_lsh_clusters_service.h",
"sim_hash.cc",
"sim_hash.h",
]
public_deps = [ "//third_party/protobuf:protobuf_lite" ]
deps = [ "//base" ]
}
source_set("unit_tests") {
testonly = true
sources = [
"floc_id_unittest.cc",
"floc_sorting_lsh_clusters_service_unittest.cc",
"sim_hash_unittest.cc",
]
deps = [
":federated_learning",
"//base",
"//base/test:test_support",
"//testing/gtest",
]
}
|