| # 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. |
| |
| 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", |
| "partial_translate_manager.cc", |
| "partial_translate_manager.h", |
| ] |
| |
| public_deps = [ |
| "//base", |
| "//components/touch_to_search/core/browser", |
| "//components/translate/content/common", |
| "//components/translate/core/browser", |
| "//components/translate/core/common", |
| "//content/public/browser", |
| ] |
| deps = [ |
| "//components/keyed_service/core", |
| "//components/language/core/browser", |
| "//components/language_detection/core/browser:language_detection_model_service", |
| "//components/optimization_guide/content/browser", |
| "//components/optimization_guide/core", |
| "//components/optimization_guide/proto:optimization_guide_proto", |
| "//components/search_engines", |
| "//components/translate/core/language_detection", |
| "//components/ukm/content", |
| "//content/public/browser", |
| "//content/public/common", |
| "//net", |
| ] |
| } |
| |
| source_set("unit_tests") { |
| testonly = true |
| sources = [ "partial_translate_manager_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", |
| ] |
| } |