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 21 matching lines...) Expand all Loading... |
32 "toolbar_view_controller.h", | 32 "toolbar_view_controller.h", |
33 "toolbar_view_controller.mm", | 33 "toolbar_view_controller.mm", |
34 ] | 34 ] |
35 deps = [ | 35 deps = [ |
36 ":toolbar_components_ui", | 36 ":toolbar_components_ui", |
37 "//base", | 37 "//base", |
38 "//ios/clean/chrome/browser/ui/actions", | 38 "//ios/clean/chrome/browser/ui/actions", |
39 "//ios/clean/chrome/browser/ui/animators", | 39 "//ios/clean/chrome/browser/ui/animators", |
40 "//ios/clean/chrome/browser/ui/commands", | 40 "//ios/clean/chrome/browser/ui/commands", |
41 "//ios/clean/chrome/browser/ui/tools", | 41 "//ios/clean/chrome/browser/ui/tools", |
| 42 "//ios/third_party/material_components_ios", |
42 ] | 43 ] |
43 libs = [ "UIKit.framework" ] | 44 libs = [ "UIKit.framework" ] |
44 configs += [ "//build/config/compiler:enable_arc" ] | 45 configs += [ "//build/config/compiler:enable_arc" ] |
45 } | 46 } |
46 | 47 |
47 source_set("toolbar_components_ui") { | 48 source_set("toolbar_components_ui") { |
48 sources = [ | 49 sources = [ |
49 "toolbar_button+factory.h", | 50 "toolbar_button+factory.h", |
50 "toolbar_button+factory.mm", | 51 "toolbar_button+factory.mm", |
51 "toolbar_button.h", | 52 "toolbar_button.h", |
(...skipping 13 matching lines...) Expand all Loading... |
65 testonly = true | 66 testonly = true |
66 | 67 |
67 sources = [ | 68 sources = [ |
68 "toolbar_mediator_unittest.mm", | 69 "toolbar_mediator_unittest.mm", |
69 ] | 70 ] |
70 deps = [ | 71 deps = [ |
71 ":toolbar", | 72 ":toolbar", |
72 ":toolbar_ui", | 73 ":toolbar_ui", |
73 "//base", | 74 "//base", |
74 "//base/test:test_support", | 75 "//base/test:test_support", |
| 76 "//ios/shared/chrome/browser/ui/toolbar:test_support", |
75 "//ios/web", | 77 "//ios/web", |
76 "//ios/web:test_support", | 78 "//ios/web:test_support", |
77 "//testing/gtest", | 79 "//testing/gtest", |
78 "//third_party/ocmock", | 80 "//third_party/ocmock", |
79 ] | 81 ] |
80 configs += [ "//build/config/compiler:enable_arc" ] | 82 configs += [ "//build/config/compiler:enable_arc" ] |
81 } | 83 } |
OLD | NEW |