Tommy C. Li | 39b55a3 | 2022-12-08 03:01:43 | [diff] [blame] | 1 | # Copyright 2022 The Chromium Authors |
| 2 | # Use of this source code is governed by a BSD-style license that can be |
| 3 | # found in the LICENSE file. |
| 4 | |
Tommy C. Li | df33ea61 | 2023-03-29 23:04:52 | [diff] [blame] | 5 | source_set("page_image_service") { |
Tommy C. Li | 39b55a3 | 2022-12-08 03:01:43 | [diff] [blame] | 6 | sources = [ |
Tommy C. Li | 982c3fee | 2023-02-17 19:36:19 | [diff] [blame] | 7 | "features.cc", |
| 8 | "features.h", |
Tommy C. Li | 39b55a3 | 2022-12-08 03:01:43 | [diff] [blame] | 9 | "image_service.cc", |
| 10 | "image_service.h", |
Tommy C. Li | 2e53253 | 2023-02-17 22:47:36 | [diff] [blame] | 11 | "image_service_handler.cc", |
| 12 | "image_service_handler.h", |
Tommy C. Li | 3846d74 | 2023-03-01 20:38:44 | [diff] [blame] | 13 | "metrics_util.cc", |
| 14 | "metrics_util.h", |
Tommy C. Li | 39b55a3 | 2022-12-08 03:01:43 | [diff] [blame] | 15 | ] |
Tommy C. Li | 789079d | 2023-02-22 23:30:28 | [diff] [blame] | 16 | public_deps = [ "mojom:mojo_bindings" ] |
Tommy C. Li | 39b55a3 | 2022-12-08 03:01:43 | [diff] [blame] | 17 | deps = [ |
| 18 | "//base", |
Sophie Chang | 6cde9de4 | 2023-02-13 23:29:05 | [diff] [blame] | 19 | "//components/google/core/common", |
Tommy C. Li | 39b55a3 | 2022-12-08 03:01:43 | [diff] [blame] | 20 | "//components/keyed_service/core", |
| 21 | "//components/omnibox/browser", |
Tommy C. Li | a2d4bc0 | 2023-02-24 03:29:44 | [diff] [blame] | 22 | "//components/optimization_guide/core", |
| 23 | "//components/optimization_guide/proto:optimization_guide_proto", |
Tommy C. Li | 39b55a3 | 2022-12-08 03:01:43 | [diff] [blame] | 24 | "//components/search_engines", |
| 25 | "//components/sync/driver", |
| 26 | "//components/unified_consent", |
| 27 | "//services/network/public/cpp", |
| 28 | "//services/network/public/mojom", |
| 29 | ] |
| 30 | } |
Tommy C. Li | 7e0c6bac | 2023-02-23 10:41:45 | [diff] [blame] | 31 | |
| 32 | source_set("unit_tests") { |
| 33 | testonly = true |
| 34 | sources = [ "image_service_unittest.cc" ] |
| 35 | deps = [ |
Tommy C. Li | df33ea61 | 2023-03-29 23:04:52 | [diff] [blame] | 36 | ":page_image_service", |
Tommy C. Li | 7e0c6bac | 2023-02-23 10:41:45 | [diff] [blame] | 37 | "//base/test:test_support", |
| 38 | "//components/omnibox/browser", |
Tommy C. Li | a2d4bc0 | 2023-02-24 03:29:44 | [diff] [blame] | 39 | "//components/optimization_guide/core", |
| 40 | "//components/optimization_guide/core:test_support", |
| 41 | "//components/optimization_guide/proto:optimization_guide_proto", |
Tommy C. Li | 7e0c6bac | 2023-02-23 10:41:45 | [diff] [blame] | 42 | "//components/sync:test_support", |
Tommy C. Li | a2d4bc0 | 2023-02-24 03:29:44 | [diff] [blame] | 43 | "//testing/gmock", |
Tommy C. Li | 7e0c6bac | 2023-02-23 10:41:45 | [diff] [blame] | 44 | "//testing/gtest", |
| 45 | ] |
| 46 | } |