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

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

Issue 2589843002: Upstream Chrome on iOS source code [11/11]. (Closed)
Patch Set: Created 4 years 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",
11 "resources/activity_services_print.xcassets/activity_services_print.imageset /activity_services_print-76.png", 11 "resources/activity_services_print.xcassets/activity_services_print.imageset /activity_services_print-76.png",
12 "resources/activity_services_print.xcassets/activity_services_print.imageset /activity_services_print-76@2x.png", 12 "resources/activity_services_print.xcassets/activity_services_print.imageset /activity_services_print-76@2x.png",
13 ] 13 ]
14 outputs = [ 14 outputs = [
15 "{{bundle_resources_dir}}/{{source_file_part}}", 15 "{{bundle_resources_dir}}/{{source_file_part}}",
16 ] 16 ]
17 } 17 }
18 18
19 bundle_data("resources") { 19 bundle_data("resources") {
20 sources = [ 20 sources = [
21 "resources/activity_services_reading_list.png", 21 "resources/activity_services_reading_list.png",
22 "resources/activity_services_reading_list@2x.png", 22 "resources/activity_services_reading_list@2x.png",
23 "resources/activity_services_reading_list@3x.png", 23 "resources/activity_services_reading_list@3x.png",
24 ] 24 ]
25 outputs = [ 25 outputs = [
26 "{{bundle_resources_dir}}/{{source_file_part}}", 26 "{{bundle_resources_dir}}/{{source_file_part}}",
27 ] 27 ]
28 } 28 }
29
30 source_set("activity_services") {
31 configs += [ "//build/config/compiler:enable_arc" ]
32 sources = [
33 "activity_service_controller.h",
34 "activity_service_controller.mm",
35 "activity_type_util.h",
36 "activity_type_util.mm",
37 "appex_constants.h",
38 "appex_constants.mm",
39 "chrome_activity_item_source.h",
40 "chrome_activity_item_source.mm",
41 "print_activity.h",
42 "print_activity.mm",
43 "reading_list_activity.h",
44 "reading_list_activity.mm",
45 "share_protocol.h",
46 "share_to_data.h",
47 "share_to_data.mm",
48 ]
49 deps = [
50 "//base",
51 "//components/reading_list/core",
52 "//ios/chrome/app/strings",
53 "//ios/chrome/browser",
54 "//ios/chrome/browser/tabs",
55 "//ios/chrome/browser/ui",
56 "//ios/chrome/browser/ui/activity_services:assets",
57 "//ios/chrome/browser/ui/activity_services:resources",
58 "//ios/chrome/browser/ui/commands",
59 "//net",
60 "//ui/base",
61 "//url",
62 ]
63 libs = [
64 "MobileCoreServices.framework",
65 "UIKit.framework",
66 ]
67 }
68
69 source_set("unit_tests") {
70 testonly = true
71 sources = [
72 "activity_service_controller_unittest.mm",
73 "activity_type_util_unittest.mm",
74 ]
75 deps = [
76 ":activity_services",
77 "//base",
78 "//base/test:test_support",
79 "//components/reading_list/core",
80 "//ios/chrome/app/strings",
81 "//ios/web:test_support",
82 "//testing/gtest",
83 "//third_party/ocmock",
84 "//ui/base",
85 ]
86 }
87
88 source_set("eg_tests") {
89 testonly = true
90 sources = [
91 "activity_service_controller_egtest.mm",
92 ]
93 deps = [
94 "//base",
95 "//components/strings",
96 "//ios/chrome/app/strings",
97 "//ios/chrome/browser/ui",
98 "//ios/chrome/browser/ui:ui_internal",
99 "//ios/chrome/test/earl_grey:test_support",
100 "//ios/third_party/material_components_ios",
101 "//ios/web:test_support",
102 "//ui/base",
103 ]
104 libs = [ "XCTest.framework" ]
105 }
OLDNEW
« no previous file with comments | « ios/chrome/browser/ui/actions/BUILD.gn ('k') | ios/chrome/browser/ui/alert_coordinator/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698