# 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.
import("//build/config/chromeos/ui_mode.gni")
assert(is_chromeos_ash)
static_library("annotator") {
sources = [
"annotations_overlay_view_impl.cc",
"annotations_overlay_view_impl.h",
"annotator_client_impl.cc",
"annotator_client_impl.h",
]
public_deps = [ "//chrome/browser:browser_public_dependencies" ]
deps = [
"//ash",
"//ash/public/cpp",
"//ash/webui/annotator",
"//ash/webui/projector_app/public/cpp",
"//base",
"//chrome/browser/profiles:profile",
"//ui/base/metadata",
"//ui/views/controls/webview",
"//url",
]
}
source_set("unit_tests") {
testonly = true
sources = [ "annotator_client_impl_unittest.cc" ]
deps = [
":annotator",
"//ash/public/cpp",
"//ash/public/cpp:test_support",
"//ash/webui/annotator",
"//ash/webui/annotator",
"//ash/webui/annotator:test_support",
"//ash/webui/annotator/public/cpp",
"//base",
"//base/test:test_support",
"//testing/gmock",
"//testing/gtest",
]
}
source_set("browser_tests") {
testonly = true
defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ]
sources = [ "annotator_client_impl_browsertest.cc" ]
deps = [
":annotator",
"//ash",
"//ash/public/cpp",
"//ash/webui/annotator/public/cpp",
"//ash/webui/media_app_ui:buildflags",
"//ash/webui/projector_app:buildflags",
"//ash/webui/projector_app/public/cpp",
"//base",
"//chrome/browser/ui",
"//chrome/test:test_support_ui",
"//content/public/browser",
"//content/public/common",
"//content/test:test_support",
"//testing/gtest",
"//ui/views/controls/webview",
"//url",
]
}