| 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", |
| 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 ":toolbar_ui", | 16 ":toolbar_ui", |
| 17 "//base", | 17 "//base", |
| 18 "//ios/chrome/browser/web_state_list", |
| 18 "//ios/clean/chrome/browser/ui/commands", | 19 "//ios/clean/chrome/browser/ui/commands", |
| 19 "//ios/clean/chrome/browser/ui/omnibox", | 20 "//ios/clean/chrome/browser/ui/omnibox", |
| 20 "//ios/clean/chrome/browser/ui/tools", | 21 "//ios/clean/chrome/browser/ui/tools", |
| 21 "//ios/shared/chrome/browser/ui/broadcaster", | 22 "//ios/shared/chrome/browser/ui/broadcaster", |
| 22 "//ios/shared/chrome/browser/ui/browser_list", | 23 "//ios/shared/chrome/browser/ui/browser_list", |
| 23 "//ios/shared/chrome/browser/ui/commands", | 24 "//ios/shared/chrome/browser/ui/commands", |
| 24 "//ios/shared/chrome/browser/ui/coordinators", | 25 "//ios/shared/chrome/browser/ui/coordinators", |
| 25 "//ios/shared/chrome/browser/ui/tools_menu", | 26 "//ios/shared/chrome/browser/ui/tools_menu", |
| 26 "//ios/web", | 27 "//ios/web", |
| 27 ] | 28 ] |
| 28 } | 29 } |
| 29 | 30 |
| 30 source_set("toolbar_ui") { | 31 source_set("toolbar_ui") { |
| 31 sources = [ | 32 sources = [ |
| 32 "toolbar_consumer.h", | 33 "toolbar_consumer.h", |
| 33 "toolbar_view_controller.h", | 34 "toolbar_view_controller.h", |
| 34 "toolbar_view_controller.mm", | 35 "toolbar_view_controller.mm", |
| 35 ] | 36 ] |
| 36 deps = [ | 37 deps = [ |
| 37 ":toolbar_components_ui", | 38 ":toolbar_components_ui", |
| 38 "//base", | 39 "//base", |
| 40 "//ios/chrome/browser/ui", |
| 39 "//ios/clean/chrome/browser/ui/actions", | 41 "//ios/clean/chrome/browser/ui/actions", |
| 40 "//ios/clean/chrome/browser/ui/animators", | 42 "//ios/clean/chrome/browser/ui/animators", |
| 41 "//ios/clean/chrome/browser/ui/commands", | 43 "//ios/clean/chrome/browser/ui/commands", |
| 42 "//ios/clean/chrome/browser/ui/tools", | 44 "//ios/clean/chrome/browser/ui/tools", |
| 43 "//ios/third_party/material_components_ios", | 45 "//ios/third_party/material_components_ios", |
| 44 ] | 46 ] |
| 45 libs = [ "UIKit.framework" ] | 47 libs = [ "UIKit.framework" ] |
| 46 configs += [ "//build/config/compiler:enable_arc" ] | 48 configs += [ "//build/config/compiler:enable_arc" ] |
| 47 } | 49 } |
| 48 | 50 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 69 testonly = true | 71 testonly = true |
| 70 | 72 |
| 71 sources = [ | 73 sources = [ |
| 72 "toolbar_mediator_unittest.mm", | 74 "toolbar_mediator_unittest.mm", |
| 73 ] | 75 ] |
| 74 deps = [ | 76 deps = [ |
| 75 ":toolbar", | 77 ":toolbar", |
| 76 ":toolbar_ui", | 78 ":toolbar_ui", |
| 77 "//base", | 79 "//base", |
| 78 "//base/test:test_support", | 80 "//base/test:test_support", |
| 81 "//ios/chrome/browser/web_state_list", |
| 82 "//ios/chrome/browser/web_state_list:test_support", |
| 79 "//ios/shared/chrome/browser/ui/toolbar:test_support", | 83 "//ios/shared/chrome/browser/ui/toolbar:test_support", |
| 80 "//ios/web", | 84 "//ios/web", |
| 81 "//ios/web:test_support", | 85 "//ios/web:test_support", |
| 82 "//testing/gtest", | 86 "//testing/gtest", |
| 83 "//third_party/ocmock", | 87 "//third_party/ocmock", |
| 84 ] | 88 ] |
| 85 configs += [ "//build/config/compiler:enable_arc" ] | 89 configs += [ "//build/config/compiler:enable_arc" ] |
| 86 } | 90 } |
| OLD | NEW |