OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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("tab") { | 5 source_set("tab") { |
6 sources = [ | 6 sources = [ |
7 "tab_coordinator.h", | 7 "tab_coordinator.h", |
8 "tab_coordinator.mm", | 8 "tab_coordinator.mm", |
9 ] | 9 ] |
10 | 10 |
(...skipping 24 matching lines...) Expand all Loading... |
35 "tab_container_view_controller.mm", | 35 "tab_container_view_controller.mm", |
36 ] | 36 ] |
37 deps = [ | 37 deps = [ |
38 "//ios/clean/chrome/browser/ui", | 38 "//ios/clean/chrome/browser/ui", |
39 "//ios/clean/chrome/browser/ui/animators", | 39 "//ios/clean/chrome/browser/ui/animators", |
40 "//ios/clean/chrome/browser/ui/presenters", | 40 "//ios/clean/chrome/browser/ui/presenters", |
41 ] | 41 ] |
42 libs = [ "UIKit.framework" ] | 42 libs = [ "UIKit.framework" ] |
43 configs += [ "//build/config/compiler:enable_arc" ] | 43 configs += [ "//build/config/compiler:enable_arc" ] |
44 } | 44 } |
| 45 |
| 46 source_set("unit_tests") { |
| 47 testonly = true |
| 48 |
| 49 sources = [ |
| 50 "tab_coordinator_unittest.mm", |
| 51 ] |
| 52 |
| 53 configs += [ "//build/config/compiler:enable_arc" ] |
| 54 |
| 55 deps = [ |
| 56 ":tab", |
| 57 ":tab_ui", |
| 58 "//base", |
| 59 "//ios/chrome/browser/browser_state:test_support", |
| 60 "//ios/shared/chrome/browser/ui/browser_list", |
| 61 "//ios/shared/chrome/browser/ui/coordinators", |
| 62 "//ios/shared/chrome/browser/ui/toolbar:test_support", |
| 63 "//ios/web:test_support", |
| 64 "//testing/gtest", |
| 65 ] |
| 66 } |
OLD | NEW |