| 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" ]
|
| +}
|
|
|