chromium/ios/chrome/browser/ui/settings/cells/BUILD.gn

# Copyright 2016 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("cells") {
  sources = [
    "account_sign_in_item.h",
    "account_sign_in_item.mm",
    "byo_textfield_item.h",
    "byo_textfield_item.mm",
    "enhanced_safe_browsing_inline_promo_item.h",
    "enhanced_safe_browsing_inline_promo_item.mm",
    "inline_promo_cell.h",
    "inline_promo_cell.mm",
    "inline_promo_item.h",
    "inline_promo_item.mm",
    "passphrase_error_item.h",
    "passphrase_error_item.mm",
    "safe_browsing_header_item.h",
    "safe_browsing_header_item.mm",
    "settings_check_cell.h",
    "settings_check_cell.mm",
    "settings_check_item.h",
    "settings_check_item.mm",
    "settings_image_detail_text_cell.h",
    "settings_image_detail_text_cell.mm",
    "settings_image_detail_text_item.h",
    "settings_image_detail_text_item.mm",
    "settings_search_engine_item.h",
    "settings_search_engine_item.mm",
    "sync_switch_item.h",
    "sync_switch_item.mm",
    "table_view_clear_browsing_data_item.h",
    "table_view_clear_browsing_data_item.mm",
    "version_item.h",
    "version_item.mm",
  ]

  deps = [
    ":public",
    "//components/autofill/core/browser",
    "//components/strings",
    "//components/sync/base:features",
    "//ios/chrome/app/strings",
    "//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/symbols:icons",
    "//ios/chrome/browser/shared/ui/table_view:styler",
    "//ios/chrome/browser/shared/ui/table_view/cells",
    "//ios/chrome/browser/shared/ui/util",
    "//ios/chrome/browser/ui/authentication:authentication_constants",
    "//ios/chrome/browser/ui/search_engine_choice:constants",
    "//ios/chrome/browser/ui/settings:constants",
    "//ios/chrome/browser/ui/settings/privacy/safe_browsing:safe_browsing_promo_delegate",
    "//ios/chrome/common/ui/colors",
    "//ios/chrome/common/ui/favicon",
    "//ios/chrome/common/ui/table_view:cells_constants",
    "//ios/chrome/common/ui/util",
    "//ios/public/provider/chrome/browser/signin:signin_resources_api",
    "//ui/base",
  ]

  public_deps = [ ":clear_browsing_data_constants" ]
}

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

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

source_set("unit_tests") {
  testonly = true
  sources = [
    "byo_textfield_item_unittest.mm",
    "inline_promo_item_unittest.mm",
    "passphrase_error_item_unittest.mm",
    "settings_check_item_unittest.mm",
    "settings_image_detail_text_item_unittest.mm",
    "version_item_unittest.mm",
  ]

  deps = [
    ":cells",
    "//components/browsing_data/core",
    "//components/pref_registry:pref_registry",
    "//components/strings",
    "//components/sync_preferences:sync_preferences",
    "//components/sync_preferences:test_support",
    "//ios/chrome/app/strings",
    "//ios/chrome/browser/browsing_data/model",
    "//ios/chrome/browser/browsing_data/model:counters",
    "//ios/chrome/browser/shared/public/features",
    "//ios/chrome/browser/shared/ui/symbols",
    "//ios/chrome/browser/shared/ui/table_view:styler",
    "//ios/chrome/browser/shared/ui/table_view/cells",
    "//ios/web/public/test:test",
    "//testing/gtest",
    "//ui/base",
  ]
}