chromium/ios/chrome/browser/ui/settings/privacy/safe_browsing/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("safe_browsing") {
  sources = [
    "safe_browsing_enhanced_protection_coordinator.h",
    "safe_browsing_enhanced_protection_coordinator.mm",
    "safe_browsing_enhanced_protection_view_controller.h",
    "safe_browsing_enhanced_protection_view_controller.mm",
    "safe_browsing_standard_protection_consumer.h",
    "safe_browsing_standard_protection_coordinator.h",
    "safe_browsing_standard_protection_coordinator.mm",
    "safe_browsing_standard_protection_mediator.h",
    "safe_browsing_standard_protection_mediator.mm",
    "safe_browsing_standard_protection_view_controller.h",
    "safe_browsing_standard_protection_view_controller.mm",
    "safe_browsing_standard_protection_view_controller_delegate.h",
  ]
  deps = [
    ":safe_browsing_constants",
    "//build:branding_buildflags",
    "//components/password_manager/core/common",
    "//components/prefs",
    "//components/safe_browsing/core/common",
    "//components/safe_browsing/core/common:safe_browsing_prefs",
    "//components/safe_browsing/core/common/hashprefix_realtime:hash_realtime_utils",
    "//components/signin/public/identity_manager/objc",
    "//components/strings",
    "//ios/chrome/app/strings",
    "//ios/chrome/browser/keyboard/ui_bundled",
    "//ios/chrome/browser/net/model:crurl",
    "//ios/chrome/browser/shared/coordinator/chrome_coordinator",
    "//ios/chrome/browser/shared/model/application_context",
    "//ios/chrome/browser/shared/model/browser",
    "//ios/chrome/browser/shared/model/browser_state",
    "//ios/chrome/browser/shared/model/prefs",
    "//ios/chrome/browser/shared/model/profile",
    "//ios/chrome/browser/shared/model/url:constants",
    "//ios/chrome/browser/shared/model/utils",
    "//ios/chrome/browser/shared/model/web_state_list",
    "//ios/chrome/browser/shared/public/commands",
    "//ios/chrome/browser/shared/public/features",
    "//ios/chrome/browser/shared/ui/list_model",
    "//ios/chrome/browser/shared/ui/symbols",
    "//ios/chrome/browser/shared/ui/table_view",
    "//ios/chrome/browser/shared/ui/table_view:styler",
    "//ios/chrome/browser/shared/ui/table_view:utils",
    "//ios/chrome/browser/shared/ui/table_view/cells",
    "//ios/chrome/browser/signin/model",
    "//ios/chrome/browser/ui/authentication",
    "//ios/chrome/browser/ui/authentication/enterprise:enterprise_utils",
    "//ios/chrome/browser/ui/settings:settings_root",
    "//ios/chrome/browser/ui/settings/cells",
    "//ios/chrome/browser/ui/settings/elements:enterprise_info_popover_view_controller",
    "//ios/chrome/browser/ui/settings/utils",
    "//ios/chrome/common/ui/colors:colors",
    "//ui/base",
  ]
}

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

source_set("safe_browsing_promo_delegate") {
  sources = [ "enhanced_safe_browsing_inline_promo_delegate.h" ]

  frameworks = [ "Foundation.framework" ]
}