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

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

Issue 2645653003: Expose thumbnails of pages to iOS share extensions. (Closed)
Patch Set: Addressed comments. Created 3 years, 10 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 bundle_data("assets") { 5 bundle_data("assets") {
6 sources = [ 6 sources = [
7 "resources/activity_services_print.xcassets/Contents.json", 7 "resources/activity_services_print.xcassets/Contents.json",
8 "resources/activity_services_print.xcassets/activity_services_print.imageset /Contents.json", 8 "resources/activity_services_print.xcassets/activity_services_print.imageset /Contents.json",
9 "resources/activity_services_print.xcassets/activity_services_print.imageset /activity_services_print-60@2x.png", 9 "resources/activity_services_print.xcassets/activity_services_print.imageset /activity_services_print-60@2x.png",
10 "resources/activity_services_print.xcassets/activity_services_print.imageset /activity_services_print-60@3x.png", 10 "resources/activity_services_print.xcassets/activity_services_print.imageset /activity_services_print-60@3x.png",
(...skipping 20 matching lines...) Expand all
31 configs += [ "//build/config/compiler:enable_arc" ] 31 configs += [ "//build/config/compiler:enable_arc" ]
32 sources = [ 32 sources = [
33 "activity_service_controller.h", 33 "activity_service_controller.h",
34 "activity_service_controller.mm", 34 "activity_service_controller.mm",
35 "activity_type_util.h", 35 "activity_type_util.h",
36 "activity_type_util.mm", 36 "activity_type_util.mm",
37 "appex_constants.h", 37 "appex_constants.h",
38 "appex_constants.mm", 38 "appex_constants.mm",
39 "chrome_activity_item_source.h", 39 "chrome_activity_item_source.h",
40 "chrome_activity_item_source.mm", 40 "chrome_activity_item_source.mm",
41 "chrome_activity_item_thumbnail_generator.h",
42 "chrome_activity_item_thumbnail_generator.mm",
41 "print_activity.h", 43 "print_activity.h",
42 "print_activity.mm", 44 "print_activity.mm",
43 "reading_list_activity.h", 45 "reading_list_activity.h",
44 "reading_list_activity.mm", 46 "reading_list_activity.mm",
45 "share_protocol.h", 47 "share_protocol.h",
46 "share_to_data.h", 48 "share_to_data.h",
47 "share_to_data.mm", 49 "share_to_data.mm",
50 "share_to_data_builder.h",
51 "share_to_data_builder.mm",
48 ] 52 ]
49 deps = [ 53 deps = [
50 ":assets", 54 ":assets",
51 ":resources", 55 ":resources",
52 "//base", 56 "//base",
53 "//components/reading_list/core", 57 "//components/reading_list/core",
54 "//ios/chrome/app/strings", 58 "//ios/chrome/app/strings",
55 "//ios/chrome/browser", 59 "//ios/chrome/browser",
60 "//ios/chrome/browser/browser_state",
56 "//ios/chrome/browser/tabs", 61 "//ios/chrome/browser/tabs",
57 "//ios/chrome/browser/ui", 62 "//ios/chrome/browser/ui",
58 "//ios/chrome/browser/ui/commands", 63 "//ios/chrome/browser/ui/commands",
59 "//net", 64 "//net",
60 "//ui/base", 65 "//ui/base",
61 "//url", 66 "//url",
62 ] 67 ]
63 libs = [ 68 libs = [
64 "MobileCoreServices.framework", 69 "MobileCoreServices.framework",
65 "UIKit.framework", 70 "UIKit.framework",
66 ] 71 ]
67 } 72 }
68 73
69 source_set("unit_tests") { 74 source_set("unit_tests") {
70 testonly = true 75 testonly = true
71 sources = [ 76 sources = [
72 "activity_service_controller_unittest.mm", 77 "activity_service_controller_unittest.mm",
73 "activity_type_util_unittest.mm", 78 "activity_type_util_unittest.mm",
79 "chrome_activity_item_thumbnail_generator_unittest.mm",
74 ] 80 ]
75 deps = [ 81 deps = [
76 ":activity_services", 82 ":activity_services",
77 "//base", 83 "//base",
78 "//base/test:test_support", 84 "//base/test:test_support",
79 "//components/reading_list/core", 85 "//components/reading_list/core",
80 "//ios/chrome/app/strings", 86 "//ios/chrome/app/strings",
87 "//ios/chrome/browser/browser_state:test_support",
88 "//ios/chrome/browser/tabs",
81 "//ios/web:test_support", 89 "//ios/web:test_support",
82 "//testing/gtest", 90 "//testing/gtest",
83 "//third_party/ocmock", 91 "//third_party/ocmock",
84 "//ui/base", 92 "//ui/base",
93 "//ui/base:test_support",
85 ] 94 ]
86 } 95 }
87 96
88 source_set("eg_tests") { 97 source_set("eg_tests") {
89 testonly = true 98 testonly = true
90 sources = [ 99 sources = [
91 "activity_service_controller_egtest.mm", 100 "activity_service_controller_egtest.mm",
92 ] 101 ]
93 deps = [ 102 deps = [
94 "//base", 103 "//base",
95 "//components/strings", 104 "//components/strings",
96 "//ios/chrome/app/strings", 105 "//ios/chrome/app/strings",
97 "//ios/chrome/browser/ui", 106 "//ios/chrome/browser/ui",
98 "//ios/chrome/browser/ui:ui_internal", 107 "//ios/chrome/browser/ui:ui_internal",
99 "//ios/chrome/test/earl_grey:test_support", 108 "//ios/chrome/test/earl_grey:test_support",
100 "//ios/third_party/material_components_ios", 109 "//ios/third_party/material_components_ios",
101 "//ios/web:test_support", 110 "//ios/web:test_support",
102 "//ui/base", 111 "//ui/base",
103 ] 112 ]
104 libs = [ "XCTest.framework" ] 113 libs = [ "XCTest.framework" ]
105 } 114 }
OLDNEW
« no previous file with comments | « ios/chrome/browser/ui/BUILD.gn ('k') | ios/chrome/browser/ui/activity_services/activity_service_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698