summaryrefslogtreecommitdiff
path: root/chromium/components/google/core/browser/BUILD.gn
blob: 96ada900a7121a051aaf04d783c06d0658b1e3db (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
46
47
48
49
50
51
# Copyright 2014 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("browser") {
  sources = [
    "google_pref_names.cc",
    "google_pref_names.h",
    "google_switches.cc",
    "google_switches.h",
    "google_tld_list.h",
    "google_url_tracker.cc",
    "google_url_tracker.h",
    "google_url_tracker_client.cc",
    "google_url_tracker_client.h",
    "google_util.cc",
    "google_util.h",
  ]

  public_deps = [
    "//base",
    "//components/keyed_service/core",
    "//net",
    "//url",
  ]

  deps = [
    "//components/data_use_measurement/core",
    "//components/pref_registry",
    "//components/prefs",
    "//components/strings",
    "//components/url_formatter",
  ]
}

source_set("unit_tests") {
  testonly = true

  sources = [
    "google_url_tracker_unittest.cc",
    "google_util_unittest.cc",
  ]

  deps = [
    ":browser",
    "//base",
    "//components/prefs:test_support",
    "//net:test_support",
    "//testing/gtest",
  ]
}