# 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.
import("//build/config/chrome_build.gni")
source_set("cells") {
sources = [
"central_account_view.h",
"central_account_view.mm",
"signin_promo_view.h",
"signin_promo_view.mm",
"signin_promo_view_configurator.h",
"signin_promo_view_configurator.mm",
"signin_promo_view_consumer.h",
"signin_promo_view_delegate.h",
"table_view_account_item.h",
"table_view_account_item.mm",
"table_view_identity_cell.h",
"table_view_identity_cell.mm",
"table_view_identity_item.h",
"table_view_identity_item.mm",
"table_view_signin_promo_item.h",
"table_view_signin_promo_item.mm",
]
deps = [
"//base",
"//build:branding_buildflags",
"//ios/chrome/app/strings",
"//ios/chrome/browser/ntp/ui_bundled",
"//ios/chrome/browser/policy/model",
"//ios/chrome/browser/shared/public/commands",
"//ios/chrome/browser/shared/public/features",
"//ios/chrome/browser/shared/ui/symbols",
"//ios/chrome/browser/shared/ui/table_view:styler",
"//ios/chrome/browser/signin/model:constants",
"//ios/chrome/browser/signin/model:signin_util",
"//ios/chrome/browser/ui/authentication/views",
"//ios/chrome/browser/ui/settings/cells:public",
"//ios/chrome/common/ui/colors",
"//ios/chrome/common/ui/table_view:cells_constants",
"//ios/chrome/common/ui/util",
"//ios/chrome/common/ui/util:image_util",
"//ios/public/provider/chrome/browser/signin:signin_resources_api",
"//ui/base",
]
public_deps = [
":constants",
"//ios/chrome/browser/shared/ui/table_view/cells",
"//ios/chrome/browser/ui/authentication/views:views_constants",
]
frameworks = [ "UIKit.framework" ]
}
source_set("unit_tests") {
testonly = true
sources = [
"central_account_view_unittest.mm",
"signin_promo_view_unittest.mm",
"table_view_account_item_unittest.mm",
]
deps = [
":cells",
"//base",
"//base/test:test_support",
"//components/consent_auditor",
"//components/consent_auditor:test_support",
"//components/pref_registry",
"//components/sync_preferences",
"//components/sync_preferences:test_support",
"//components/version_info",
"//ios/chrome/browser/infobars/model",
"//ios/chrome/browser/policy/model",
"//ios/chrome/browser/shared/model/browser_state:test_support",
"//ios/chrome/browser/shared/model/prefs:browser_prefs",
"//ios/chrome/browser/shared/public/commands",
"//ios/chrome/browser/shared/public/features",
"//ios/chrome/browser/shared/ui/table_view:styler",
"//ios/chrome/browser/shared/ui/table_view/cells",
"//ios/chrome/browser/signin/model",
"//ios/chrome/browser/signin/model:test_support",
"//ios/chrome/browser/sync/model",
"//ios/chrome/common/ui/colors",
"//ios/chrome/common/ui/util:image_util",
"//ios/chrome/test:test_support",
"//ios/public/provider/chrome/browser/signin:signin_resources_api",
"//ios/third_party/material_components_ios",
"//ios/web/public/test",
"//testing/gtest",
"//third_party/ocmock",
"//ui/base",
]
}
source_set("constants") {
sources = [
"signin_promo_view_constants.h",
"signin_promo_view_constants.mm",
]
frameworks = [ "Foundation.framework" ]
}