blob: 7883ba3f7bf675668bd452411f550bfb1832f164 [file] [log] [blame]
Michael Giuffrida2cc3a9cef2018-06-08 00:33:111# Copyright 2018 The Chromium Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5source_set("safe_search_api") {
6 sources = [
7 "url_checker.cc",
8 "url_checker.h",
9 ]
10
11 deps = [
12 "//base",
John Abd-El-Malek9cf3d7f02018-07-27 02:40:3913 "//components/google/core/common",
Michael Giuffrida2cc3a9cef2018-06-08 00:33:1114 "//google_apis",
15 "//net",
16 "//services/network/public/cpp",
17 "//url",
18 ]
19}
20
Michael Giuffrida01d7b5d2018-08-21 07:55:5421source_set("test_support") {
Michael Giuffrida2cc3a9cef2018-06-08 00:33:1122 testonly = true
23 sources = [
Michael Giuffrida01d7b5d2018-08-21 07:55:5424 "stub_url_checker.cc",
25 "stub_url_checker.h",
Michael Giuffrida2cc3a9cef2018-06-08 00:33:1126 ]
27 deps = [
28 ":safe_search_api",
29 "//base",
Bruno Kim Medeiros Cesar3095baf2018-07-04 14:02:0430 "//base/test:test_support",
Michael Giuffrida2cc3a9cef2018-06-08 00:33:1131 "//net",
32 "//net/traffic_annotation:test_support",
33 "//services/network:test_support",
34 "//services/network/public/cpp",
Michael Giuffrida01d7b5d2018-08-21 07:55:5435 "//url",
36 ]
37}
38
39source_set("unit_tests") {
40 testonly = true
41 sources = [
42 "url_checker_unittest.cc",
43 ]
44 deps = [
45 ":safe_search_api",
46 ":test_support",
47 "//base",
48 "//base/test:test_support",
49 "//net",
Michael Giuffrida2cc3a9cef2018-06-08 00:33:1150 "//testing/gmock",
51 "//testing/gtest",
52 "//url",
53 ]
54}