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

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

Issue 2944703002: [ios clean] Adds ToolsMenu to Showcase. (Closed)
Patch Set: CL Feedback and extra cleanup Created 3 years, 6 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
« no previous file with comments | « no previous file | ios/clean/chrome/browser/ui/tools/menu_view_controller.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "tools_menu_model.h",
13 "tools_menu_model.mm",
14 ] 12 ]
15 13
16 configs += [ "//build/config/compiler:enable_arc" ] 14 configs += [ "//build/config/compiler:enable_arc" ]
17 15
18 deps = [ 16 deps = [
17 ":tools_model",
19 ":tools_ui", 18 ":tools_ui",
20 "//base", 19 "//base",
21 "//components/strings",
22 "//ios/chrome/app/strings",
23 "//ios/chrome/browser/ui/tools_menu",
24 "//ios/clean/chrome/browser/ui/animators", 20 "//ios/clean/chrome/browser/ui/animators",
25 "//ios/clean/chrome/browser/ui/commands", 21 "//ios/clean/chrome/browser/ui/commands",
26 "//ios/clean/chrome/browser/ui/presenters", 22 "//ios/clean/chrome/browser/ui/presenters",
27 "//ios/shared/chrome/browser/ui/browser_list", 23 "//ios/shared/chrome/browser/ui/browser_list",
28 "//ios/shared/chrome/browser/ui/coordinators", 24 "//ios/shared/chrome/browser/ui/coordinators",
29 "//ios/shared/chrome/browser/ui/tools_menu", 25 "//ios/shared/chrome/browser/ui/tools_menu",
30 "//ios/web", 26 "//ios/web",
31 "//ui/base", 27 "//ui/base",
32 ] 28 ]
33 } 29 }
34 30
31 source_set("tools_model") {
lpromero 2017/06/20 08:50:23 Why not just fold it into tools_ui? It's called mo
32 sources = [
33 "tools_menu_model.h",
34 "tools_menu_model.mm",
35 ]
36
37 configs += [ "//build/config/compiler:enable_arc" ]
38
39 deps = [
40 "//components/strings",
41 "//ios/chrome/app/strings",
42 "//ios/chrome/browser/ui/tools_menu",
43 "//ios/clean/chrome/browser/ui/commands",
44 ]
45 }
46
35 source_set("tools_ui") { 47 source_set("tools_ui") {
36 sources = [ 48 sources = [
37 "menu_overflow_controls_stackview.h", 49 "menu_overflow_controls_stackview.h",
38 "menu_overflow_controls_stackview.mm", 50 "menu_overflow_controls_stackview.mm",
39 "menu_view_controller.h", 51 "menu_view_controller.h",
40 "menu_view_controller.mm", 52 "menu_view_controller.mm",
41 "tools_actions.h",
42 "tools_consumer.h", 53 "tools_consumer.h",
43 "tools_menu_item.h", 54 "tools_menu_item.h",
44 "tools_menu_item.mm", 55 "tools_menu_item.mm",
45 ] 56 ]
46 57
47 configs += [ "//build/config/compiler:enable_arc" ] 58 configs += [ "//build/config/compiler:enable_arc" ]
48 59
49 deps = [ 60 deps = [
50 "//base", 61 "//base",
51 "//base:i18n", 62 "//base:i18n",
(...skipping 22 matching lines...) Expand all
74 "//base/test:test_support", 85 "//base/test:test_support",
75 "//ios/chrome/test/base", 86 "//ios/chrome/test/base",
76 "//ios/shared/chrome/browser/ui/toolbar:test_support", 87 "//ios/shared/chrome/browser/ui/toolbar:test_support",
77 "//ios/shared/chrome/browser/ui/tools_menu", 88 "//ios/shared/chrome/browser/ui/tools_menu",
78 "//ios/web", 89 "//ios/web",
79 "//ios/web/public/test/fakes", 90 "//ios/web/public/test/fakes",
80 "//testing/gtest", 91 "//testing/gtest",
81 "//third_party/ocmock", 92 "//third_party/ocmock",
82 ] 93 ]
83 } 94 }
OLDNEW
« no previous file with comments | « no previous file | ios/clean/chrome/browser/ui/tools/menu_view_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698