Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(216)

Side by Side Diff: ios/clean/chrome/browser/ui/tools/BUILD.gn

Issue 2952213003: [ios clean] Refactors ToolsMenu and Tabs presentation (Closed)
Patch Set: Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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("tools") { 5 source_set("tools") {
6 sources = [ 6 sources = [
7 "tools_coordinator.h", 7 "tools_coordinator.h",
8 "tools_coordinator.mm", 8 "tools_coordinator.mm",
9 "tools_mediator.h", 9 "tools_mediator.h",
10 "tools_mediator.mm", 10 "tools_mediator.mm",
11 "tools_mediator_private.h", 11 "tools_mediator_private.h",
12 ] 12 ]
13 13
14 configs += [ "//build/config/compiler:enable_arc" ] 14 configs += [ "//build/config/compiler:enable_arc" ]
15 15
16 deps = [ 16 deps = [
17 ":tools_ui", 17 ":tools_ui",
18 "//base", 18 "//base",
19 "//ios/clean/chrome/browser/ui/animators",
20 "//ios/clean/chrome/browser/ui/commands", 19 "//ios/clean/chrome/browser/ui/commands",
21 "//ios/clean/chrome/browser/ui/presenters",
22 "//ios/shared/chrome/browser/ui/browser_list", 20 "//ios/shared/chrome/browser/ui/browser_list",
23 "//ios/shared/chrome/browser/ui/coordinators", 21 "//ios/shared/chrome/browser/ui/coordinators",
24 "//ios/shared/chrome/browser/ui/tools_menu", 22 "//ios/shared/chrome/browser/ui/tools_menu",
25 "//ios/web", 23 "//ios/web",
26 "//ui/base", 24 "//ui/base",
27 ] 25 ]
28 } 26 }
29 27
30 source_set("tools_ui") { 28 source_set("tools_ui") {
31 sources = [ 29 sources = [
32 "menu_overflow_controls_stackview.h", 30 "menu_overflow_controls_stackview.h",
33 "menu_overflow_controls_stackview.mm", 31 "menu_overflow_controls_stackview.mm",
34 "menu_view_controller.h", 32 "menu_view_controller.h",
35 "menu_view_controller.mm", 33 "menu_view_controller.mm",
36 "tools_consumer.h", 34 "tools_consumer.h",
37 "tools_menu_item.h", 35 "tools_menu_item.h",
38 "tools_menu_item.mm", 36 "tools_menu_item.mm",
39 "tools_menu_model.h", 37 "tools_menu_model.h",
40 "tools_menu_model.mm", 38 "tools_menu_model.mm",
39 "tools_menu_transition_controller.h",
40 "tools_menu_transition_controller.mm",
41 ] 41 ]
42 42
43 configs += [ "//build/config/compiler:enable_arc" ] 43 configs += [ "//build/config/compiler:enable_arc" ]
44 44
45 deps = [ 45 deps = [
46 "//base", 46 "//base",
47 "//base:i18n", 47 "//base:i18n",
48 "//components/strings", 48 "//components/strings",
49 "//ios/chrome/app/strings", 49 "//ios/chrome/app/strings",
50 "//ios/chrome/app/theme", 50 "//ios/chrome/app/theme",
51 "//ios/chrome/browser/ui", 51 "//ios/chrome/browser/ui",
52 "//ios/chrome/browser/ui/tools_menu", 52 "//ios/chrome/browser/ui/tools_menu",
53 "//ios/clean/chrome/browser/ui/animators",
53 "//ios/clean/chrome/browser/ui/commands", 54 "//ios/clean/chrome/browser/ui/commands",
55 "//ios/clean/chrome/browser/ui/presenters",
54 "//ios/clean/chrome/browser/ui/toolbar:toolbar_components_ui", 56 "//ios/clean/chrome/browser/ui/toolbar:toolbar_components_ui",
55 "//ios/third_party/material_components_ios", 57 "//ios/third_party/material_components_ios",
56 ] 58 ]
57 } 59 }
58 60
59 source_set("unit_tests") { 61 source_set("unit_tests") {
60 testonly = true 62 testonly = true
61 63
62 sources = [ 64 sources = [
63 "tools_coordinator_unittest.mm", 65 "tools_coordinator_unittest.mm",
64 "tools_mediator_unittest.mm", 66 "tools_mediator_unittest.mm",
65 ] 67 ]
66 68
67 configs += [ "//build/config/compiler:enable_arc" ] 69 configs += [ "//build/config/compiler:enable_arc" ]
68 70
69 deps = [ 71 deps = [
70 ":tools", 72 ":tools",
71 ":tools_ui", 73 ":tools_ui",
72 "//base", 74 "//base",
73 "//base/test:test_support", 75 "//base/test:test_support",
74 "//ios/chrome/test/base", 76 "//ios/chrome/test/base",
75 "//ios/shared/chrome/browser/ui/toolbar:test_support", 77 "//ios/shared/chrome/browser/ui/toolbar:test_support",
76 "//ios/shared/chrome/browser/ui/tools_menu", 78 "//ios/shared/chrome/browser/ui/tools_menu",
77 "//ios/web", 79 "//ios/web",
78 "//ios/web/public/test/fakes", 80 "//ios/web/public/test/fakes",
79 "//testing/gtest", 81 "//testing/gtest",
80 "//third_party/ocmock", 82 "//third_party/ocmock",
81 ] 83 ]
82 } 84 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698