# Copyright 2014 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/features.gni")
static_library("renderer") {
sources = [
"isolated_world_util.cc",
"isolated_world_util.h",
"translate_agent.cc",
"translate_agent.h",
]
deps = [
"//base",
"//components/language_detection/content/renderer",
"//components/language_detection/core:language_detection",
"//components/translate/content/common",
"//components/translate/core/common",
"//components/translate/core/language_detection",
"//content/public/common",
"//content/public/renderer",
"//services/service_manager/public/cpp",
"//third_party/blink/public:blink",
"//url",
"//v8",
]
public_deps = [ "//third_party/blink/public:blink_headers" ]
}
source_set("unit_tests") {
testonly = true
sources = [ "translate_agent_unittest.cc" ]
deps = [
":renderer",
"//base",
"//testing/gtest",
]
}