# Copyright 2016 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
source_set("activities") {
sources = [
"bookmark_activity.h",
"bookmark_activity.mm",
"copy_activity.h",
"copy_activity.mm",
"find_in_page_activity.h",
"find_in_page_activity.mm",
"generate_qr_code_activity.h",
"generate_qr_code_activity.mm",
"print_activity.h",
"print_activity.mm",
"reading_list_activity.h",
"reading_list_activity.mm",
"request_desktop_or_mobile_site_activity.h",
"request_desktop_or_mobile_site_activity.mm",
"send_tab_to_self_activity.h",
"send_tab_to_self_activity.mm",
]
deps = [
"//base",
"//components/bookmarks/browser",
"//components/bookmarks/common",
"//components/prefs",
"//ios/chrome/app/strings",
"//ios/chrome/browser/reading_list/model",
"//ios/chrome/browser/send_tab_to_self/model",
"//ios/chrome/browser/shared/public/commands",
"//ios/chrome/browser/shared/ui/symbols",
"//ios/chrome/browser/shared/ui/util",
"//ios/chrome/browser/shared/ui/util:url_with_title",
"//ios/chrome/browser/ui/sharing/activity_services/data",
"//ios/chrome/browser/web/model",
"//ios/web/common:user_agent",
"//ios/web/public",
"//ui/base",
"//url",
]
frameworks = [ "UIKit.framework" ]
}
source_set("unit_tests") {
testonly = true
sources = [
"bookmark_activity_unittest.mm",
"copy_activity_unittest.mm",
"find_in_page_activity_unittest.mm",
"generate_qr_code_activity_unittest.mm",
"print_activity_unittest.mm",
"request_desktop_or_mobile_site_activity_unittest.mm",
"send_tab_to_self_activity_unittest.mm",
]
deps = [
":activities",
"//base",
"//base/test:test_support",
"//components/bookmarks/browser",
"//components/bookmarks/common",
"//components/prefs:test_support",
"//ios/chrome/app/strings",
"//ios/chrome/browser/bookmarks/model",
"//ios/chrome/browser/bookmarks/model:test_support",
"//ios/chrome/browser/lens/model",
"//ios/chrome/browser/shared/model/browser",
"//ios/chrome/browser/shared/model/browser/test:test_support",
"//ios/chrome/browser/shared/model/profile/test",
"//ios/chrome/browser/shared/model/web_state_list",
"//ios/chrome/browser/shared/public/commands",
"//ios/chrome/browser/shared/ui/util",
"//ios/chrome/browser/shared/ui/util:url_with_title",
"//ios/chrome/browser/ui/sharing/activity_services/data",
"//ios/chrome/browser/web/model",
"//ios/web/public/test",
"//testing/gtest",
"//third_party/ocmock",
"//ui/base",
"//url",
]
}