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
52
53
54
55
56
57
58
59
60
61
62
|
# 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_search_metrics.cc",
"google_search_metrics.h",
"google_switches.cc",
"google_switches.h",
"google_url_tracker.cc",
"google_url_tracker.h",
"google_url_tracker_client.cc",
"google_url_tracker_client.h",
"google_url_tracker_infobar_delegate.cc",
"google_url_tracker_infobar_delegate.h",
"google_url_tracker_map_entry.cc",
"google_url_tracker_map_entry.h",
"google_url_tracker_navigation_helper.cc",
"google_url_tracker_navigation_helper.h",
"google_util.cc",
"google_util.h",
]
if (is_win) {
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
cflags = [ "/wd4267" ]
}
deps = [
"//base",
"//base:prefs",
"//components/keyed_service/core",
"//components/infobars/core",
"//components/strings",
"//components/url_fixer",
"//net",
"//ui/base",
"//url",
]
}
source_set("unit_tests") {
testonly = true
sources = [
"google_url_tracker_unittest.cc",
"google_util_unittest.cc",
]
deps = [
":browser",
"//base",
"//base:prefs",
"//base:prefs_test_support",
"//components/infobars/core",
"//net:test_support",
"//testing/gtest",
]
}
|