# Copyright 2026 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

assert(!is_android)

source_set("user_education") {
  testonly = true
  sources = [
    "interactive_feature_promo_test.h",
    "interactive_feature_promo_test_common.h",
    "interactive_feature_promo_test_internal.h",
    "mock_browser_user_education_interface.h",
  ]
  public_deps = [
    "//chrome/browser/ui/user_education",
    "//chrome/test/base:in_process_browser_test",
    "//chrome/test/interaction",
    "//components/feature_engagement/test:test_support",
    "//components/user_education/common",
    "//components/user_education/test",
    "//components/webui/chrome_urls",
  ]
}

source_set("impl") {
  testonly = true
  sources = [
    "interactive_feature_promo_test.cc",
    "interactive_feature_promo_test_common.cc",
    "interactive_feature_promo_test_internal.cc",
    "mock_browser_user_education_interface.cc",
  ]
  public_deps = [ ":user_education" ]
  deps = [
    "//chrome/browser/feature_engagement",
    "//chrome/browser/search_engine_choice",
    "//chrome/browser/ui/views/frame",
    "//chrome/browser/user_education",
    "//components/keyed_service/content",
    "//components/user_education/views",
  ]
}

source_set("interactive_ui_tests") {
  testonly = true
  defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ]
  sources = [ "interactive_feature_promo_test_interactive_uitest.cc" ]
  deps = [
    ":impl",
    "//components/feature_engagement/test:test_support",
    "//components/user_education/views",
  ]
}
