OLD | NEW |
1 # Copyright 2017 The Chromium Authors. All rights reserved. | 1 # Copyright 2017 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 source_set("coordinators") { | 5 source_set("coordinators") { |
6 sources = [ | 6 sources = [ |
7 "browser_coordinator+internal.h", | 7 "browser_coordinator+internal.h", |
8 "browser_coordinator.h", | 8 "browser_coordinator.h", |
9 "browser_coordinator.mm", | 9 "browser_coordinator.mm", |
10 ] | 10 ] |
11 | 11 |
12 configs += [ "//build/config/compiler:enable_arc" ] | 12 configs += [ "//build/config/compiler:enable_arc" ] |
13 | 13 |
14 deps = [ | 14 deps = [ |
15 "//base", | 15 "//base", |
16 "//ios/chrome/app:tests_fake_hook", | 16 "//ios/chrome/app:tests_fake_hook", |
17 "//ios/chrome/browser", | 17 "//ios/chrome/browser", |
18 "//ios/chrome/browser/browser_state", | 18 "//ios/chrome/browser/browser_state", |
19 "//ios/chrome/browser/tabs:tabs_internal", | 19 "//ios/chrome/browser/tabs:tabs_internal", |
20 "//ios/shared/chrome/browser/coordinator_context", | |
21 "//ios/shared/chrome/browser/ui/browser_list", | 20 "//ios/shared/chrome/browser/ui/browser_list", |
22 ] | 21 ] |
23 } | 22 } |
24 | 23 |
25 source_set("unit_tests") { | 24 source_set("unit_tests") { |
26 testonly = true | 25 testonly = true |
27 sources = [ | 26 sources = [ |
28 "browser_coordinator_unittest.mm", | 27 "browser_coordinator_unittest.mm", |
29 ] | 28 ] |
30 | 29 |
31 configs += [ "//build/config/compiler:enable_arc" ] | 30 configs += [ "//build/config/compiler:enable_arc" ] |
32 | 31 |
33 deps = [ | 32 deps = [ |
34 ":coordinators", | 33 ":coordinators", |
35 "//base", | 34 "//base", |
36 "//base/test:test_support", | 35 "//base/test:test_support", |
37 "//ios/chrome/test/base", | 36 "//ios/chrome/test/base", |
38 "//ios/shared/chrome/browser/coordinator_context", | |
39 "//testing/gtest", | 37 "//testing/gtest", |
40 ] | 38 ] |
41 } | 39 } |
OLD | NEW |