summaryrefslogtreecommitdiff
path: root/chromium/components/federated_learning/BUILD.gn
blob: 406236fdb411ccf008d84ebc509d4affa2eda9de (plain)
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
36
37
# 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_blocklist_service.cc",
    "floc_blocklist_service.h",
    "floc_constants.cc",
    "floc_constants.h",
    "floc_id.cc",
    "floc_id.h",
    "sim_hash.cc",
    "sim_hash.h",
  ]

  public_deps = [
    "//components/federated_learning/proto:federated_learning",
    "//third_party/protobuf:protobuf_lite",
  ]

  deps = [ "//base" ]
}

source_set("unit_tests") {
  testonly = true
  sources = [
    "floc_blocklist_service_unittest.cc",
    "sim_hash_unittest.cc",
  ]
  deps = [
    ":federated_learning",
    "//base",
    "//base/test:test_support",
    "//testing/gtest",
  ]
}