# Copyright 2022 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("promo") {
sources = [
"whats_new_promo_display_handler.h",
"whats_new_promo_display_handler.mm",
"whats_new_scene_agent.h",
"whats_new_scene_agent.mm",
]
deps = [
"//components/feature_engagement/public",
"//ios/chrome/browser/default_browser/model:utils",
"//ios/chrome/browser/feature_engagement/model",
"//ios/chrome/browser/promos_manager/model",
"//ios/chrome/browser/promos_manager/model:constants",
"//ios/chrome/browser/promos_manager/model:features",
"//ios/chrome/browser/promos_manager/model:types",
"//ios/chrome/browser/shared/coordinator/scene:observing_scene_agent",
"//ios/chrome/browser/shared/public/commands",
"//ios/chrome/browser/ui/promos_manager:promos",
"//ios/chrome/browser/ui/whats_new:util",
]
}
source_set("unit_tests") {
testonly = true
sources = [ "whats_new_scene_agent_unittest.mm" ]
deps = [
":promo",
"//base/test:test_support",
"//ios/chrome/app:app_internal",
"//ios/chrome/app/application_delegate:app_state_header",
"//ios/chrome/app/application_delegate:application_delegate_internal",
"//ios/chrome/app/application_delegate:test_support",
"//ios/chrome/browser/promos_manager/model:constants",
"//ios/chrome/browser/promos_manager/model:features",
"//ios/chrome/browser/promos_manager/model:test_support",
"//ios/chrome/browser/shared/coordinator/scene",
"//ios/chrome/browser/shared/model/application_context",
"//ios/chrome/browser/shared/model/browser/test:test_support",
"//ios/chrome/browser/shared/model/prefs:pref_names",
"//ios/chrome/browser/shared/model/profile/test",
"//ios/chrome/browser/ui/whats_new:constants",
"//ios/chrome/browser/ui/whats_new:util",
"//third_party/ocmock",
]
}