summaryrefslogtreecommitdiff
path: root/chromium/components/physical_web/data_source/BUILD.gn
blob: 5e1c96203107674b7fce5ddaa383ae4782bf97e5 (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
38
39
40
41
42
43
44
45
# Copyright 2016 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.

source_set("data_source") {
  sources = [
    "physical_web_data_source.cc",
    "physical_web_data_source.h",
    "physical_web_data_source_impl.cc",
    "physical_web_data_source_impl.h",
    "physical_web_listener.h",
  ]

  public_deps = [
    "//base",
    "//url",
  ]
}

source_set("test_support") {
  testonly = true
  sources = [
    "fake_physical_web_data_source.cc",
    "fake_physical_web_data_source.h",
  ]
  deps = [
    ":data_source",
    "//base",
    "//url",
  ]
}

source_set("unit_tests") {
  testonly = true
  sources = [
    "physical_web_data_source_impl_unittest.cc",
  ]

  deps = [
    ":data_source",
    "//base",
    "//testing/gtest",
    "//url",
  ]
}