OLD | NEW |
| (Empty) |
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 | |
3 # found in the LICENSE file. | |
4 | |
5 source_set("tools_menu") { | |
6 sources = [ | |
7 "reading_list_menu_view_item.h", | |
8 "reading_list_menu_view_item.mm", | |
9 "tools_menu_context.h", | |
10 "tools_menu_context.mm", | |
11 "tools_menu_view_controller.h", | |
12 "tools_menu_view_controller.mm", | |
13 "tools_menu_view_item.h", | |
14 "tools_menu_view_item.mm", | |
15 "tools_popup_controller.h", | |
16 "tools_popup_controller.mm", | |
17 ] | |
18 deps = [ | |
19 "//base", | |
20 "//base:i18n", | |
21 "//components/reading_list/core", | |
22 "//components/strings", | |
23 "//ios/chrome/app/strings", | |
24 "//ios/chrome/browser", | |
25 "//ios/chrome/browser/ui", | |
26 "//ios/chrome/browser/ui/colors", | |
27 "//ios/chrome/browser/ui/commands", | |
28 "//ios/chrome/browser/ui/popup_menu", | |
29 "//ios/chrome/browser/ui/reading_list", | |
30 "//ios/chrome/browser/ui/toolbar:resource_macros", | |
31 "//ios/chrome/common", | |
32 "//ios/public/provider/chrome/browser", | |
33 "//ios/public/provider/chrome/browser/user_feedback", | |
34 "//ios/third_party/material_components_ios", | |
35 "//ios/third_party/material_roboto_font_loader_ios", | |
36 "//ui/base", | |
37 ] | |
38 libs = [ | |
39 "QuartzCore.framework", | |
40 "UIKit.framework", | |
41 ] | |
42 } | |
43 | |
44 source_set("unit_tests") { | |
45 testonly = true | |
46 sources = [ | |
47 "tools_menu_view_item_unittest.mm", | |
48 ] | |
49 deps = [ | |
50 ":tools_menu", | |
51 "//base", | |
52 "//testing/gtest", | |
53 ] | |
54 } | |
55 | |
56 source_set("eg_tests") { | |
57 testonly = true | |
58 sources = [ | |
59 "tools_popup_menu_egtest.mm", | |
60 ] | |
61 deps = [ | |
62 "//base", | |
63 "//components/strings", | |
64 "//ios/chrome/app/strings", | |
65 "//ios/chrome/browser/ui", | |
66 "//ios/chrome/browser/ui:ui_internal", | |
67 "//ios/chrome/browser/ui/toolbar", | |
68 "//ios/chrome/browser/ui/tools_menu", | |
69 "//ios/chrome/test/earl_grey:test_support", | |
70 "//ios/third_party/earl_grey", | |
71 "//ios/web:test_support", | |
72 "//ui/base", | |
73 ] | |
74 libs = [ "XCTest.framework" ] | |
75 } | |
OLD | NEW |