chromium/ios/chrome/browser/ui/settings/utils/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("utils") {
  sources = [
    "content_setting_backed_boolean.h",
    "content_setting_backed_boolean.mm",
    "password_auto_fill_status_manager.h",
    "password_auto_fill_status_manager.mm",
    "password_auto_fill_status_observer.h",
    "password_utils.h",
    "password_utils.mm",
  ]
  deps = [
    "//base",
    "//components/content_settings/core/browser",
    "//components/content_settings/core/common",
    "//components/prefs",
    "//ios/chrome/app/strings",
    "//ios/chrome/browser/shared/model/utils",
    "//ios/chrome/browser/shared/public/commands",
    "//ios/chrome/browser/shared/public/features",
    "//ios/chrome/browser/shared/ui/util",
    "//ios/chrome/browser/ui/settings/password/password_settings:common",
    "//ios/chrome/common/ui/reauthentication",
    "//ui/base",
  ]
}

source_set("unit_tests") {
  testonly = true
  sources = [ "content_setting_backed_boolean_unittest.mm" ]
  deps = [
    ":utils",
    "//base",
    "//components/content_settings/core/browser",
    "//components/content_settings/core/common",
    "//components/prefs",
    "//components/prefs:test_support",
    "//components/sync_preferences:test_support",
    "//ios/chrome/browser/content_settings/model",
    "//ios/chrome/browser/shared/model/profile/test",
    "//ios/chrome/browser/shared/model/utils:test_support",
    "//ios/web/public/test",
    "//testing/gtest",
  ]
}