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

Unified 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/ui/activity_services/BUILD.gn
diff --git a/ios/chrome/browser/ui/activity_services/BUILD.gn b/ios/chrome/browser/ui/activity_services/BUILD.gn
index bbc602f2f9cb86e805047b904c8d118ddab4f634..53b8977da0822a77533523c29830ed53f1716408 100644
--- a/ios/chrome/browser/ui/activity_services/BUILD.gn
+++ b/ios/chrome/browser/ui/activity_services/BUILD.gn
@@ -26,3 +26,80 @@ bundle_data("resources") {
"{{bundle_resources_dir}}/{{source_file_part}}",
]
}
+
+source_set("activity_services") {
+ configs += [ "//build/config/compiler:enable_arc" ]
+ sources = [
+ "activity_service_controller.h",
+ "activity_service_controller.mm",
+ "activity_type_util.h",
+ "activity_type_util.mm",
+ "appex_constants.h",
+ "appex_constants.mm",
+ "chrome_activity_item_source.h",
+ "chrome_activity_item_source.mm",
+ "print_activity.h",
+ "print_activity.mm",
+ "reading_list_activity.h",
+ "reading_list_activity.mm",
+ "share_protocol.h",
+ "share_to_data.h",
+ "share_to_data.mm",
+ ]
+ deps = [
+ "//base",
+ "//components/reading_list/core",
+ "//ios/chrome/app/strings",
+ "//ios/chrome/browser",
+ "//ios/chrome/browser/tabs",
+ "//ios/chrome/browser/ui",
+ "//ios/chrome/browser/ui/activity_services:assets",
+ "//ios/chrome/browser/ui/activity_services:resources",
+ "//ios/chrome/browser/ui/commands",
+ "//net",
+ "//ui/base",
+ "//url",
+ ]
+ libs = [
+ "MobileCoreServices.framework",
+ "UIKit.framework",
+ ]
+}
+
+source_set("unit_tests") {
+ testonly = true
+ sources = [
+ "activity_service_controller_unittest.mm",
+ "activity_type_util_unittest.mm",
+ ]
+ deps = [
+ ":activity_services",
+ "//base",
+ "//base/test:test_support",
+ "//components/reading_list/core",
+ "//ios/chrome/app/strings",
+ "//ios/web:test_support",
+ "//testing/gtest",
+ "//third_party/ocmock",
+ "//ui/base",
+ ]
+}
+
+source_set("eg_tests") {
+ testonly = true
+ sources = [
+ "activity_service_controller_egtest.mm",
+ ]
+ deps = [
+ "//base",
+ "//components/strings",
+ "//ios/chrome/app/strings",
+ "//ios/chrome/browser/ui",
+ "//ios/chrome/browser/ui:ui_internal",
+ "//ios/chrome/test/earl_grey:test_support",
+ "//ios/third_party/material_components_ios",
+ "//ios/web:test_support",
+ "//ui/base",
+ ]
+ libs = [ "XCTest.framework" ]
+}
« 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