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("toolbar") { | 5 source_set("toolbar") { |
6 sources = [ | 6 sources = [ |
7 "toolbar_coordinator.h", | 7 "toolbar_coordinator.h", |
8 "toolbar_coordinator.mm", | 8 "toolbar_coordinator.mm", |
9 "toolbar_mediator.h", | 9 "toolbar_mediator.h", |
10 "toolbar_mediator.mm", | 10 "toolbar_mediator.mm", |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 "toolbar_button+factory.h", | 52 "toolbar_button+factory.h", |
53 "toolbar_button+factory.mm", | 53 "toolbar_button+factory.mm", |
54 "toolbar_button.h", | 54 "toolbar_button.h", |
55 "toolbar_button.mm", | 55 "toolbar_button.mm", |
56 "toolbar_component_options.h", | 56 "toolbar_component_options.h", |
57 "toolbar_constants.h", | 57 "toolbar_constants.h", |
58 "toolbar_constants.mm", | 58 "toolbar_constants.mm", |
59 ] | 59 ] |
60 deps = [ | 60 deps = [ |
61 "//base", | 61 "//base", |
| 62 "//components/strings", |
| 63 "//ios/chrome/app/strings", |
62 "//ios/chrome/app/theme", | 64 "//ios/chrome/app/theme", |
63 "//ios/chrome/browser/ui", | 65 "//ios/chrome/browser/ui", |
| 66 "//ui/base", |
64 ] | 67 ] |
65 libs = [ "UIKit.framework" ] | 68 libs = [ "UIKit.framework" ] |
66 configs += [ "//build/config/compiler:enable_arc" ] | 69 configs += [ "//build/config/compiler:enable_arc" ] |
67 } | 70 } |
68 | 71 |
69 source_set("unit_tests") { | 72 source_set("unit_tests") { |
70 testonly = true | 73 testonly = true |
71 | 74 |
72 sources = [ | 75 sources = [ |
73 "toolbar_mediator_unittest.mm", | 76 "toolbar_mediator_unittest.mm", |
74 ] | 77 ] |
75 deps = [ | 78 deps = [ |
76 ":toolbar", | 79 ":toolbar", |
77 ":toolbar_ui", | 80 ":toolbar_ui", |
78 "//base", | 81 "//base", |
79 "//base/test:test_support", | 82 "//base/test:test_support", |
80 "//ios/chrome/browser/web_state_list", | 83 "//ios/chrome/browser/web_state_list", |
81 "//ios/chrome/browser/web_state_list:test_support", | 84 "//ios/chrome/browser/web_state_list:test_support", |
82 "//ios/shared/chrome/browser/ui/toolbar:test_support", | 85 "//ios/shared/chrome/browser/ui/toolbar:test_support", |
83 "//ios/web", | 86 "//ios/web", |
84 "//ios/web/public/test/fakes", | 87 "//ios/web/public/test/fakes", |
85 "//testing/gtest", | 88 "//testing/gtest", |
86 "//third_party/ocmock", | 89 "//third_party/ocmock", |
87 ] | 90 ] |
88 configs += [ "//build/config/compiler:enable_arc" ] | 91 configs += [ "//build/config/compiler:enable_arc" ] |
89 } | 92 } |
OLD | NEW |