# Copyright 2014 The Chromium Authors. All rights reserved. # 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("browser") { sources = [ "content_record_page_language.cc", "content_record_page_language.h", "content_translate_driver.cc", "content_translate_driver.h", "content_translate_util.cc", "content_translate_util.h", "per_frame_content_translate_driver.cc", "per_frame_content_translate_driver.h", ] public_deps = [ "//base", "//components/translate/content/common", "//components/translate/core/browser", "//components/translate/core/common", "//content/public/browser", ] deps = [ "//components/language/core/browser", "//components/search_engines:search_engines", "//components/services/language_detection/public/cpp", "//components/services/language_detection/public/mojom", "//components/translate/core/language_detection:language_detection", "//components/ukm/content", "//content/public/common", "//net", ] } source_set("unit_tests") { testonly = true sources = [ "per_frame_content_translate_driver_unittest.cc" ] deps = [ ":browser", "//base", "//content/test:test_support", "//testing/gtest", ] } static_library("test_support") { testonly = true sources = [ "translate_waiter.cc", "translate_waiter.h", ] public_deps = [ ":browser", "//base", "//components/translate/core/common", ] }