source_set("intents_donation_helper") {
sources = [
"intents_donation_helper.h",
"intents_donation_helper.mm",
]
deps = [
"//base",
"//ios/chrome/app/strings",
"//ios/chrome/app/strings:ios_strings",
"//ios/chrome/browser/shared/public/features",
"//ios/chrome/common/intents",
"//ui/base",
]
public_deps = [ ":intent_type" ]
frameworks = [
"Intents.framework",
"Foundation.framework",
]
}
source_set("intent_type") {
sources = [ "intent_type.h" ]
}
source_set("constants") {
sources = [
"intents_constants.h",
"intents_constants.mm",
]
}
source_set("user_activity_browser_agent") {
sources = [
"user_activity_browser_agent.h",
"user_activity_browser_agent.mm",
]
public_deps = [ "//ios/chrome/browser/shared/model/browser" ]
deps = [
":constants",
"//base",
"//components/crash/core/common",
"//components/handoff",
"//components/search_engines",
"//ios/chrome/app",
"//ios/chrome/app:mode",
"//ios/chrome/app/application_delegate:app_state_header",
"//ios/chrome/app/application_delegate:tab_opening",
"//ios/chrome/app/spotlight",
"//ios/chrome/app/startup:startup_basic",
"//ios/chrome/browser/intents:intent_type",
"//ios/chrome/browser/metrics/model:metrics_internal",
"//ios/chrome/browser/policy/model:policy_util",
"//ios/chrome/browser/search_engines/model",
"//ios/chrome/browser/shared/coordinator/scene:scene_state_header",
"//ios/chrome/browser/shared/model/browser_state",
"//ios/chrome/browser/shared/model/profile",
"//ios/chrome/browser/shared/model/url:constants",
"//ios/chrome/browser/url_loading/model",
"//ios/chrome/browser/url_loading/model:url_loading_params_header",
"//ios/chrome/common/intents:intents_generate_source",
"//ui/base",
"//url",
]
}
source_set("unit_tests") {
testonly = true
sources = [ "user_activity_browser_agent_unittest.mm" ]
deps = [
":constants",
":user_activity_browser_agent",
"//components/handoff",
"//components/policy/core/common:common_constants",
"//components/prefs",
"//components/prefs:test_support",
"//components/sync_preferences:test_support",
"//ios/chrome/app",
"//ios/chrome/app:app_internal",
"//ios/chrome/app:mode",
"//ios/chrome/app/spotlight",
"//ios/chrome/browser/flags:system_flags",
"//ios/chrome/browser/policy/model:policy_util",
"//ios/chrome/browser/shared/coordinator/scene:scene_state_header",
"//ios/chrome/browser/shared/coordinator/scene:scene_testing",
"//ios/chrome/browser/shared/coordinator/scene/test",
"//ios/chrome/browser/shared/model/browser/test:test_support",
"//ios/chrome/browser/shared/model/profile/test",
"//ios/chrome/browser/shared/model/url:constants",
"//ios/chrome/browser/shared/public/features",
"//ios/chrome/browser/ui/main",
"//ios/chrome/browser/url_loading/model",
"//ios/chrome/common/intents",
"//ios/testing:block_swizzler",
"//ios/web/public/test",
"//net:gtest_util",
"//testing/gtest",
"//third_party/ocmock",
]
}