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

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

Issue 2589843002: Upstream Chrome on iOS source code [11/11]. (Closed)
Patch Set: Created 3 years, 12 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 | « ios/chrome/browser/ui/reader_mode/BUILD.gn ('k') | ios/chrome/browser/ui/sad_tab/BUILD.gn » ('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 bundle_data("resources") { 5 bundle_data("resources") {
6 sources = [ 6 sources = [
7 "resources/distillation_fail.png", 7 "resources/distillation_fail.png",
8 "resources/distillation_fail@2x.png", 8 "resources/distillation_fail@2x.png",
9 "resources/distillation_fail@3x.png", 9 "resources/distillation_fail@3x.png",
10 "resources/distillation_success.png", 10 "resources/distillation_success.png",
11 "resources/distillation_success@2x.png", 11 "resources/distillation_success@2x.png",
12 "resources/distillation_success@3x.png", 12 "resources/distillation_success@3x.png",
13 "resources/reading_list_icon.png", 13 "resources/reading_list_icon.png",
14 "resources/reading_list_icon@2x.png", 14 "resources/reading_list_icon@2x.png",
15 "resources/reading_list_icon@3x.png", 15 "resources/reading_list_icon@3x.png",
16 "resources/reading_list_side_swipe.png", 16 "resources/reading_list_side_swipe.png",
17 "resources/reading_list_side_swipe@2x.png", 17 "resources/reading_list_side_swipe@2x.png",
18 "resources/reading_list_side_swipe@3x.png", 18 "resources/reading_list_side_swipe@3x.png",
19 "resources/share_icon.png", 19 "resources/share_icon.png",
20 "resources/share_icon@2x.png", 20 "resources/share_icon@2x.png",
21 "resources/share_icon@3x.png", 21 "resources/share_icon@3x.png",
22 ] 22 ]
23 outputs = [ 23 outputs = [
24 "{{bundle_resources_dir}}/{{source_file_part}}", 24 "{{bundle_resources_dir}}/{{source_file_part}}",
25 ] 25 ]
26 } 26 }
27
28 source_set("reading_list") {
29 configs += [ "//build/config/compiler:enable_arc" ]
30 sources = [
31 "number_badge_view.h",
32 "number_badge_view.mm",
33 "offline_page_native_content.h",
34 "offline_page_native_content.mm",
35 "reading_list_collection_view_item.h",
36 "reading_list_collection_view_item.mm",
37 "reading_list_menu_notification_delegate.h",
38 "reading_list_menu_notifier.h",
39 "reading_list_menu_notifier.mm",
40 "reading_list_side_swipe_provider.h",
41 "reading_list_side_swipe_provider.mm",
42 "reading_list_toolbar.h",
43 "reading_list_toolbar.mm",
44 "reading_list_view_controller.h",
45 "reading_list_view_controller.mm",
46 "reading_list_view_controller_builder.h",
47 "reading_list_view_controller_builder.mm",
48 ]
49 deps = [
50 "//base",
51 "//components/prefs",
52 "//components/reading_list/core",
53 "//components/strings",
54 "//components/url_formatter",
55 "//ios/chrome/app/strings",
56 "//ios/chrome/browser",
57 "//ios/chrome/browser/browser_state",
58 "//ios/chrome/browser/favicon",
59 "//ios/chrome/browser/reading_list",
60 "//ios/chrome/browser/tabs",
61 "//ios/chrome/browser/ui",
62 "//ios/chrome/browser/ui/alert_coordinator",
63 "//ios/chrome/browser/ui/collection_view/cells",
64 "//ios/chrome/browser/ui/colors",
65 "//ios/chrome/browser/ui/material_components",
66 "//ios/chrome/browser/ui/reading_list:resources",
67 "//ios/chrome/browser/ui/side_swipe",
68 "//ios/chrome/browser/ui/static_content",
69 "//ios/chrome/common",
70 "//ios/third_party/material_components_ios",
71 "//ios/third_party/material_roboto_font_loader_ios",
72 "//ios/web",
73 "//net",
74 "//ui/base",
75 "//url",
76 ]
77 public_deps = [
78 "//components/reading_list/ios",
79 "//ios/chrome/browser/ui/collection_view",
80 ]
81 allow_circular_includes_from = [ "//ios/chrome/browser/ui/side_swipe" ]
82 libs = [ "UIKit.framework" ]
83 }
84
85 source_set("unit_tests") {
86 testonly = true
87 sources = [
88 "offline_page_native_content_unittest.mm",
89 "reading_list_view_controller_unittest.mm",
90 ]
91 deps = [
92 ":reading_list",
93 "//base",
94 "//components/favicon/core",
95 "//components/prefs",
96 "//components/reading_list/ios",
97 "//ios/chrome/browser/browser_state:test_support",
98 "//ios/chrome/browser/favicon",
99 "//ios/chrome/browser/reading_list",
100 "//ios/chrome/browser/tabs",
101 "//ios/chrome/browser/ui",
102 "//ios/chrome/browser/ui/static_content",
103 "//ios/web",
104 "//ios/web:test_support",
105 "//testing/gtest",
106 "//third_party/ocmock",
107 ]
108 }
109
110 source_set("eg_tests") {
111 testonly = true
112 sources = [
113 "reading_list_egtest.mm",
114 ]
115 deps = [
116 "//base",
117 "//components/reading_list/ios",
118 "//ios/chrome/app/strings",
119 "//ios/chrome/browser/reading_list",
120 "//ios/chrome/browser/ui/commands",
121 "//ios/chrome/test/app:test_support",
122 "//ios/chrome/test/earl_grey:test_support",
123 "//ios/testing:ios_test_support",
124 "//ios/third_party/earl_grey",
125 ]
126 libs = [
127 "UIKit.framework",
128 "XCTest.framework",
129 ]
130 }
OLDNEW
« no previous file with comments | « ios/chrome/browser/ui/reader_mode/BUILD.gn ('k') | ios/chrome/browser/ui/sad_tab/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698