| 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 10 matching lines...) Expand all Loading... |
| 21 "//ios/shared/chrome/browser/ui/browser_list", | 21 "//ios/shared/chrome/browser/ui/browser_list", |
| 22 "//ios/shared/chrome/browser/ui/commands", | 22 "//ios/shared/chrome/browser/ui/commands", |
| 23 "//ios/shared/chrome/browser/ui/coordinators", | 23 "//ios/shared/chrome/browser/ui/coordinators", |
| 24 "//ios/shared/chrome/browser/ui/tools_menu", | 24 "//ios/shared/chrome/browser/ui/tools_menu", |
| 25 "//ios/web", | 25 "//ios/web", |
| 26 ] | 26 ] |
| 27 } | 27 } |
| 28 | 28 |
| 29 source_set("toolbar_ui") { | 29 source_set("toolbar_ui") { |
| 30 sources = [ | 30 sources = [ |
| 31 "toolbar_constants.h", | |
| 32 "toolbar_constants.mm", | |
| 33 "toolbar_consumer.h", | 31 "toolbar_consumer.h", |
| 34 "toolbar_view_controller.h", | 32 "toolbar_view_controller.h", |
| 35 "toolbar_view_controller.mm", | 33 "toolbar_view_controller.mm", |
| 36 ] | 34 ] |
| 37 deps = [ | 35 deps = [ |
| 38 ":toolbar_components_ui", | 36 ":toolbar_components_ui", |
| 39 "//base", | 37 "//base", |
| 40 "//ios/clean/chrome/browser/ui/actions", | 38 "//ios/clean/chrome/browser/ui/actions", |
| 41 "//ios/clean/chrome/browser/ui/animators", | 39 "//ios/clean/chrome/browser/ui/animators", |
| 42 "//ios/clean/chrome/browser/ui/commands", | 40 "//ios/clean/chrome/browser/ui/commands", |
| 43 "//ios/clean/chrome/browser/ui/tools", | 41 "//ios/clean/chrome/browser/ui/tools", |
| 44 "//ios/third_party/material_components_ios", | 42 "//ios/third_party/material_components_ios", |
| 45 ] | 43 ] |
| 46 libs = [ "UIKit.framework" ] | 44 libs = [ "UIKit.framework" ] |
| 47 configs += [ "//build/config/compiler:enable_arc" ] | 45 configs += [ "//build/config/compiler:enable_arc" ] |
| 48 } | 46 } |
| 49 | 47 |
| 50 source_set("toolbar_components_ui") { | 48 source_set("toolbar_components_ui") { |
| 51 sources = [ | 49 sources = [ |
| 52 "toolbar_button+factory.h", | 50 "toolbar_button+factory.h", |
| 53 "toolbar_button+factory.mm", | 51 "toolbar_button+factory.mm", |
| 54 "toolbar_button.h", | 52 "toolbar_button.h", |
| 55 "toolbar_button.mm", | 53 "toolbar_button.mm", |
| 56 "toolbar_component_options.h", | 54 "toolbar_component_options.h", |
| 55 "toolbar_constants.h", |
| 56 "toolbar_constants.mm", |
| 57 ] | 57 ] |
| 58 deps = [ | 58 deps = [ |
| 59 "//base", | 59 "//base", |
| 60 "//ios/chrome/app/theme", | 60 "//ios/chrome/app/theme", |
| 61 "//ios/chrome/browser/ui", | 61 "//ios/chrome/browser/ui", |
| 62 ] | 62 ] |
| 63 libs = [ "UIKit.framework" ] | 63 libs = [ "UIKit.framework" ] |
| 64 configs += [ "//build/config/compiler:enable_arc" ] | 64 configs += [ "//build/config/compiler:enable_arc" ] |
| 65 } | 65 } |
| 66 | 66 |
| 67 source_set("unit_tests") { | 67 source_set("unit_tests") { |
| 68 testonly = true | 68 testonly = true |
| 69 | 69 |
| 70 sources = [ | 70 sources = [ |
| 71 "toolbar_mediator_unittest.mm", | 71 "toolbar_mediator_unittest.mm", |
| 72 ] | 72 ] |
| 73 deps = [ | 73 deps = [ |
| 74 ":toolbar", | 74 ":toolbar", |
| 75 ":toolbar_ui", | 75 ":toolbar_ui", |
| 76 "//base", | 76 "//base", |
| 77 "//base/test:test_support", | 77 "//base/test:test_support", |
| 78 "//ios/shared/chrome/browser/ui/toolbar:test_support", | 78 "//ios/shared/chrome/browser/ui/toolbar:test_support", |
| 79 "//ios/web", | 79 "//ios/web", |
| 80 "//ios/web:test_support", | 80 "//ios/web:test_support", |
| 81 "//testing/gtest", | 81 "//testing/gtest", |
| 82 "//third_party/ocmock", | 82 "//third_party/ocmock", |
| 83 ] | 83 ] |
| 84 configs += [ "//build/config/compiler:enable_arc" ] | 84 configs += [ "//build/config/compiler:enable_arc" ] |
| 85 } | 85 } |
| OLD | NEW |