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