summaryrefslogtreecommitdiff
path: root/chromium/ios/clean/chrome/browser/BUILD.gn
blob: 621ee11e079bd2b010d05085371faab5f266973c (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
34
35
36
37
38
39
40
41
# 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") {
  sources = [
    "browser_coordinator+internal.h",
    "browser_coordinator.h",
    "browser_coordinator.mm",
    "url_opening.h",
  ]

  configs += [ "//build/config/compiler:enable_arc" ]

  deps = [
    "//base",
    "//ios/chrome/app:tests_fake_hook",
    "//ios/chrome/browser",
    "//ios/chrome/browser/browser_state",
    "//ios/chrome/browser/tabs:tabs_internal",
    "//ios/shared/chrome/browser/coordinator_context",
  ]
}

source_set("unit_tests") {
  testonly = true
  sources = [
    "browser_coordinator_unittest.mm",
  ]

  configs += [ "//build/config/compiler:enable_arc" ]

  deps = [
    ":browser",
    "//base",
    "//base/test:test_support",
    "//ios/chrome/test/base",
    "//ios/shared/chrome/browser/coordinator_context",
    "//testing/gtest",
  ]
}