blob: 31016c86e67e1fa960305c89cba0b97d22e42233 [file]
# 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.
assert(is_chromeos)
source_set("content_extraction") {
sources = [
"ax_tree_extractor.cc",
"ax_tree_extractor.h",
"content_extraction_service.cc",
"content_extraction_service.h",
]
public_deps = [
"//chromeos/components/mahi/public/mojom",
"//mojo/public/cpp/bindings",
"//services/screen_ai/public/mojom",
"//ui/accessibility",
]
}
source_set("unit_tests") {
testonly = true
sources = [ "content_extraction_service_unittest.cc" ]
deps = [
":content_extraction",
"//base",
"//base/test:test_support",
"//testing/gtest",
"//ui/accessibility",
"//ui/accessibility:test_support",
]
# TODO(crbug.com/40031409): Fix code that adds exit-time destructors and
# enable the diagnostic by removing this line.
configs += [ "//build/config/compiler:no_exit_time_destructors" ]
}