# Copyright 2020 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("data") {
sources = [
"chrome_activity_file_source.h",
"chrome_activity_file_source.mm",
"chrome_activity_image_source.h",
"chrome_activity_image_source.mm",
"chrome_activity_item_source.h",
"chrome_activity_item_thumbnail_generator.h",
"chrome_activity_item_thumbnail_generator.mm",
"chrome_activity_text_source.h",
"chrome_activity_text_source.mm",
"chrome_activity_url_source.h",
"chrome_activity_url_source.mm",
"share_file_data.h",
"share_file_data.mm",
"share_image_data.h",
"share_image_data.mm",
"share_to_data.h",
"share_to_data.mm",
"share_to_data_builder.h",
"share_to_data_builder.mm",
]
deps = [
"//base",
"//components/send_tab_to_self",
"//ios/chrome/browser/find_in_page/model",
"//ios/chrome/browser/shared/model/browser_state",
"//ios/chrome/browser/shared/model/profile",
"//ios/chrome/browser/shared/public/features",
"//ios/chrome/browser/shared/ui/util:url_with_title",
"//ios/chrome/browser/signin/model",
"//ios/chrome/browser/snapshots/model",
"//ios/chrome/browser/sync/model",
"//ios/chrome/browser/tabs/model",
"//ios/chrome/common/ui/util:image_util",
"//ios/web/common:user_agent",
"//ios/web/public",
"//ios/web/public:web_state_observer",
"//ios/web/public/navigation",
"//net",
"//url",
]
frameworks = [
"LinkPresentation.framework",
"MobileCoreServices.framework",
"UIKit.framework",
"UniformTypeIdentifiers.framework",
]
}
source_set("unit_tests") {
testonly = true
sources = [
"chrome_activity_item_thumbnail_generator_unittest.mm",
"share_to_data_builder_unittest.mm",
]
deps = [
":data",
"//base",
"//base/test:test_support",
"//ios/chrome/browser/download/model",
"//ios/chrome/browser/shared/model/profile/test",
"//ios/chrome/browser/snapshots/model",
"//ios/chrome/browser/snapshots/model:test_utils",
"//ios/testing:ocmock_support",
"//ios/web/public/test",
"//ios/web/public/test/fakes",
"//testing/gtest",
"//third_party/ocmock",
"//ui/base:test_support",
]
}