# 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("post_restore_default_browser") {
sources = [
"metrics.h",
"metrics.mm",
"post_restore_default_browser_promo_provider.h",
"post_restore_default_browser_promo_provider.mm",
]
deps = [
"//base",
"//components/feature_engagement/public",
"//ios/chrome/app/strings",
"//ios/chrome/browser/promos_manager/model:types",
"//ios/chrome/browser/shared/public/commands",
"//ios/chrome/browser/ui/promos_manager:promos",
"//ios/chrome/common/ui/confirmation_alert",
"//ui/base",
]
}
source_set("eg2_tests") {
configs += [ "//build/config/ios:xctest_config" ]
testonly = true
sources = [ "post_restore_default_browser_egtest.mm" ]
deps = [
"//ios/chrome/app/strings",
"//ios/chrome/test/earl_grey:eg_test_support+eg2",
"//ios/testing/earl_grey:eg_test_support+eg2",
"//ui/base",
]
frameworks = [ "UIKit.framework" ]
}