| # Copyright 2022 The Chromium Authors |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| if (!is_android) { |
| source_set("test_support") { |
| testonly = true |
| sources = [ |
| "live_caption/live_caption_test_util.cc", |
| "live_caption/live_caption_test_util.h", |
| ] |
| |
| deps = [ |
| "//base", |
| "//chrome/browser:browser_process", |
| "//chrome/browser/profiles:profile", |
| "//chrome/browser/ui", |
| "//chrome/test:test_support_ui", |
| "//components/live_caption:constants", |
| "//components/soda", |
| "//components/soda:constants", |
| "//components/sync_preferences", |
| "//ui/accessibility", |
| ] |
| |
| if (is_chromeos) { |
| deps += [ "//ash/constants" ] |
| } |
| } |
| } |
| |
| source_set("utils") { |
| sources = [ |
| "pdf_ocr_metrics.cc", |
| "pdf_ocr_metrics.h", |
| ] |
| |
| deps = [ |
| "//base", |
| "//chrome/browser/profiles", |
| "//chrome/common", |
| "//components/prefs", |
| "//services/screen_ai/buildflags", |
| ] |
| |
| if (is_chromeos) { |
| deps += [ "//chrome/browser/ash/accessibility" ] |
| } else { |
| deps += [ "//content/public/browser" ] |
| } |
| } |