# Copyright 2017 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. source_set("browser") { configs += [ "//build/config/compiler:enable_arc" ] sources = [ "ios_language_detection_tab_helper.h", "ios_language_detection_tab_helper.mm", "ios_language_detection_tab_helper_observer_bridge.h", "ios_language_detection_tab_helper_observer_bridge.mm", ] deps = [ "//base", "//components/language/core/browser", "//components/translate/core/common", "//ios/web", "//net", ] } source_set("unit_tests") { configs += [ "//build/config/compiler:enable_arc" ] testonly = true sources = [ "ios_language_detection_tab_helper_observer_bridge_unittest.mm" ] deps = [ ":browser", "//components/translate/core/common", "//ios/web/public/test/fakes", "//testing/gtest", ] }