blob: 1fe2f89629d08d8faae4602c8b25bc54c84f63f8 [file] [log] [blame]
# Copyright 2024 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# TODO(crbug.com/327181467): Consider adding another interface for main content
# extraction.
source_set("optical_character_recognizer") {
sources = [
"optical_character_recognizer.cc",
"optical_character_recognizer.h",
]
deps = [
"//chrome/browser/profiles:profile",
"//chrome/browser/screen_ai:screen_ai_service_router_factory",
"//content/public/browser",
"//services/screen_ai/public/mojom",
]
configs += [ "//build/config/compiler:wexit_time_destructors" ]
}
source_set("test_support") {
testonly = true
sources = [
"test/fake_optical_character_recognizer.cc",
"test/fake_optical_character_recognizer.h",
]
deps = [ "//base" ]
public_deps = [ ":optical_character_recognizer" ]
configs += [ "//build/config/compiler:wexit_time_destructors" ]
}