chromium/ios/chrome/browser/ui/whats_new/BUILD.gn

# 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("whats_new") {
  sources = [
    "whats_new_coordinator.h",
    "whats_new_coordinator.mm",
    "whats_new_detail_coordinator.h",
    "whats_new_detail_coordinator.mm",
    "whats_new_detail_view_action_handler.h",
    "whats_new_instructions_coordinator.h",
    "whats_new_instructions_coordinator.mm",
    "whats_new_instructions_coordinator_delegate.h",
    "whats_new_instructions_view_controller.h",
    "whats_new_instructions_view_controller.mm",
    "whats_new_mediator.h",
    "whats_new_mediator.mm",
    "whats_new_mediator_consumer.h",
    "whats_new_screenshot_view_controller.h",
    "whats_new_screenshot_view_controller.mm",
    "whats_new_table_view_action_handler.h",
    "whats_new_table_view_controller.h",
    "whats_new_table_view_controller.mm",
    "whats_new_table_view_delegate.h",
  ]
  deps = [
    ":util",
    "//base",
    "//components/feature_engagement/public",
    "//ios/chrome/app/strings",
    "//ios/chrome/browser/default_browser/model:utils",
    "//ios/chrome/browser/feature_engagement/model",
    "//ios/chrome/browser/shared/coordinator/chrome_coordinator",
    "//ios/chrome/browser/shared/model/browser",
    "//ios/chrome/browser/shared/public/commands",
    "//ios/chrome/browser/shared/public/features",
    "//ios/chrome/browser/shared/ui/elements",
    "//ios/chrome/browser/shared/ui/symbols",
    "//ios/chrome/browser/shared/ui/table_view",
    "//ios/chrome/browser/shared/ui/table_view:utils",
    "//ios/chrome/browser/shared/ui/util",
    "//ios/chrome/browser/ui/lens:lens_entrypoint",
    "//ios/chrome/browser/ui/promos_manager:promos",
    "//ios/chrome/browser/ui/whats_new/cells",
    "//ios/chrome/browser/ui/whats_new/data_source",
    "//ios/chrome/browser/ui/whats_new/data_source:whats_new_item",
    "//ios/chrome/browser/ui/whats_new/strings",
    "//ios/chrome/browser/url_loading/model",
    "//ios/chrome/common/ui/colors",
    "//ios/chrome/common/ui/confirmation_alert",
    "//ios/chrome/common/ui/elements",
    "//ios/chrome/common/ui/table_view:cells_constants",
    "//ios/chrome/common/ui/util",
    "//ios/public/provider/chrome/browser/lottie:lottie_animation_api",
    "//ios/public/provider/chrome/browser/password_auto_fill:password_auto_fill_api",
    "//ui/base",
    "//ui/strings",
    "//url",
  ]
  frameworks = [ "UIKit.framework" ]
}

source_set("util") {
  sources = [
    "whats_new_util.h",
    "whats_new_util.mm",
  ]
  deps = [
    ":constants",
    "//base",
    "//ios/chrome/browser/promos_manager/model",
    "//ios/chrome/browser/promos_manager/model:constants",
    "//ios/chrome/browser/promos_manager/model:features",
    "//ios/chrome/browser/shared/public/features",
    "//ios/chrome/browser/ui/whats_new/data_source:whats_new_item",
  ]
}

source_set("constants") {
  sources = [
    "constants.h",
    "constants.mm",
  ]

  frameworks = [ "Foundation.framework" ]
}