# Copyright 2023 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("default_browser_promo") {
sources = [
"non_modal_default_browser_promo_scheduler_scene_agent.h",
"non_modal_default_browser_promo_scheduler_scene_agent.mm",
]
deps = [
"//base",
"//ios/chrome/browser/default_browser/model:utils",
"//ios/chrome/browser/default_promo/ui_bundled:coordinator",
"//ios/chrome/browser/overlays/model",
"//ios/chrome/browser/shared/coordinator/scene:observing_scene_agent",
"//ios/chrome/browser/shared/coordinator/scene:scene_state_header",
"//ios/chrome/browser/shared/coordinator/scene:scene_state_observer",
"//ios/chrome/browser/shared/model/browser",
"//ios/chrome/browser/shared/model/web_state_list",
"//ios/chrome/browser/shared/public/commands",
"//ios/chrome/browser/shared/public/features",
"//ios/web/public",
]
}
source_set("unit_tests") {
testonly = true
sources =
[ "non_modal_default_browser_promo_scheduler_scene_agent_unittest.mm" ]
deps = [
":default_browser_promo",
"//base",
"//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/default_browser/model:test_support",
"//ios/chrome/browser/default_browser/model:utils",
"//ios/chrome/browser/default_promo/ui_bundled:coordinator",
"//ios/chrome/browser/infobars/model",
"//ios/chrome/browser/infobars/model/test",
"//ios/chrome/browser/overlays/model",
"//ios/chrome/browser/overlays/model/public/common/infobars",
"//ios/chrome/browser/overlays/model/test",
"//ios/chrome/browser/shared/coordinator/scene:scene_state_header",
"//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/web_state_list",
"//ios/chrome/browser/shared/public/commands",
"//ios/chrome/test:test_support",
"//ios/web/public/test/fakes",
"//testing/gtest",
"//third_party/ocmock",
]
}