OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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("browser") { | 5 source_set("browser") { |
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 "url_opening.h", | 10 "url_opening.h", |
11 ] | 11 ] |
12 | 12 |
13 configs += [ "//build/config/compiler:enable_arc" ] | 13 configs += [ "//build/config/compiler:enable_arc" ] |
14 | 14 |
15 deps = [ | 15 deps = [ |
16 "//base", | 16 "//base", |
| 17 "//ios/chrome/app:tests_fake_hook", |
17 "//ios/chrome/browser", | 18 "//ios/chrome/browser", |
18 "//ios/chrome/browser/browser_state", | 19 "//ios/chrome/browser/browser_state", |
| 20 "//ios/chrome/browser/tabs:tabs_internal", |
19 ] | 21 ] |
20 } | 22 } |
| 23 |
| 24 source_set("unit_tests") { |
| 25 testonly = true |
| 26 sources = [ |
| 27 "browser_coordinator_unittest.mm", |
| 28 ] |
| 29 |
| 30 configs += [ "//build/config/compiler:enable_arc" ] |
| 31 |
| 32 deps = [ |
| 33 ":browser", |
| 34 "//base", |
| 35 "//base/test:test_support", |
| 36 "//ios/chrome/test/base", |
| 37 "//testing/gtest", |
| 38 ] |
| 39 } |
OLD | NEW |