summaryrefslogtreecommitdiff
path: root/chromium/components/language/ios/browser/BUILD.gn
blob: c07c701e46ec3b02d797eef03a3e76956de3e2cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# 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",
  ]
}