| # 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. |
| |
| import("//build/buildflag_header.gni") |
| import("//build/config/ui.gni") |
| |
| source_set("common") { |
| sources = [ |
| "feature_promo_controller.cc", |
| "feature_promo_controller.h", |
| "feature_promo_handle.cc", |
| "feature_promo_handle.h", |
| "feature_promo_registry.cc", |
| "feature_promo_registry.h", |
| "feature_promo_snooze_service.cc", |
| "feature_promo_snooze_service.h", |
| "feature_promo_specification.cc", |
| "feature_promo_specification.h", |
| "help_bubble.cc", |
| "help_bubble.h", |
| "help_bubble_factory.h", |
| "help_bubble_factory_registry.cc", |
| "help_bubble_factory_registry.h", |
| "help_bubble_params.cc", |
| "help_bubble_params.h", |
| "scoped_new_badge_tracker_base.cc", |
| "scoped_new_badge_tracker_base.h", |
| "tutorial.cc", |
| "tutorial.h", |
| "tutorial_description.cc", |
| "tutorial_description.h", |
| "tutorial_identifier.h", |
| "tutorial_registry.cc", |
| "tutorial_registry.h", |
| "tutorial_service.cc", |
| "tutorial_service.h", |
| "user_education_class_properties.cc", |
| "user_education_class_properties.h", |
| ] |
| |
| deps = [ |
| "//base", |
| "//components/feature_engagement/public", |
| "//components/strings", |
| "//components/variations", |
| "//components/vector_icons", |
| "//skia", |
| "//third_party/abseil-cpp:absl", |
| "//ui/accessibility", |
| "//ui/base", |
| ] |
| } |
| |
| source_set("unit_tests") { |
| testonly = true |
| |
| sources = [ |
| "feature_promo_controller_unittest.cc", |
| "feature_promo_snooze_service_unittest.cc", |
| "help_bubble_factory_registry_unittest.cc", |
| "tutorial_unittest.cc", |
| ] |
| |
| deps = [ |
| ":common", |
| "//base", |
| "//base/test:test_support", |
| "//components/feature_engagement/public", |
| "//components/strings", |
| "//components/user_education/test", |
| "//components/variations", |
| "//skia", |
| "//testing/gmock", |
| "//testing/gtest", |
| "//third_party/abseil-cpp:absl", |
| "//ui/accessibility", |
| "//ui/base", |
| "//ui/base:test_support", |
| ] |
| } |