# Copyright 2021 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
static_library("renderer") {
sources = [
"page_text_agent.cc",
"page_text_agent.h",
]
public_deps = [
"//base",
"//components/optimization_guide/content/mojom:mojo_interfaces",
"//content/public/renderer",
"//third_party/blink/public:blink_headers",
"//third_party/blink/public/common:common",
]
configs += [ "//build/config/compiler:wexit_time_destructors" ]
}
source_set("unit_tests") {
testonly = true
sources = [ "page_text_agent_unittest.cc" ]
deps = [
":renderer",
"//content/test:test_support",
"//testing/gmock",
"//testing/gtest",
]
}