Michael Giuffrida | 2cc3a9cef | 2018-06-08 00:33:11 | [diff] [blame] | 1 | # 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 | |
| 5 | source_set("safe_search_api") { |
| 6 | sources = [ |
| 7 | "url_checker.cc", |
| 8 | "url_checker.h", |
| 9 | ] |
| 10 | |
| 11 | deps = [ |
| 12 | "//base", |
John Abd-El-Malek | 9cf3d7f0 | 2018-07-27 02:40:39 | [diff] [blame] | 13 | "//components/google/core/common", |
Michael Giuffrida | 2cc3a9cef | 2018-06-08 00:33:11 | [diff] [blame] | 14 | "//google_apis", |
| 15 | "//net", |
| 16 | "//services/network/public/cpp", |
| 17 | "//url", |
| 18 | ] |
| 19 | } |
| 20 | |
Michael Giuffrida | 01d7b5d | 2018-08-21 07:55:54 | [diff] [blame] | 21 | source_set("test_support") { |
Michael Giuffrida | 2cc3a9cef | 2018-06-08 00:33:11 | [diff] [blame] | 22 | testonly = true |
| 23 | sources = [ |
Michael Giuffrida | 01d7b5d | 2018-08-21 07:55:54 | [diff] [blame] | 24 | "stub_url_checker.cc", |
| 25 | "stub_url_checker.h", |
Michael Giuffrida | 2cc3a9cef | 2018-06-08 00:33:11 | [diff] [blame] | 26 | ] |
| 27 | deps = [ |
| 28 | ":safe_search_api", |
| 29 | "//base", |
Bruno Kim Medeiros Cesar | 3095baf | 2018-07-04 14:02:04 | [diff] [blame] | 30 | "//base/test:test_support", |
Michael Giuffrida | 2cc3a9cef | 2018-06-08 00:33:11 | [diff] [blame] | 31 | "//net", |
| 32 | "//net/traffic_annotation:test_support", |
| 33 | "//services/network:test_support", |
| 34 | "//services/network/public/cpp", |
Michael Giuffrida | 01d7b5d | 2018-08-21 07:55:54 | [diff] [blame] | 35 | "//url", |
| 36 | ] |
| 37 | } |
| 38 | |
| 39 | source_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 Giuffrida | 2cc3a9cef | 2018-06-08 00:33:11 | [diff] [blame] | 50 | "//testing/gmock", |
| 51 | "//testing/gtest", |
| 52 | "//url", |
| 53 | ] |
| 54 | } |