| # Copyright 2016 The Chromium Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| bundle_data("resources") { |
| sources = [ |
| "resources/signin_confirmation_more.png", |
| "resources/signin_confirmation_more@2x.png", |
| "resources/signin_confirmation_more@3x.png", |
| ] |
| outputs = [ |
| "{{bundle_resources_dir}}/{{source_file_part}}", |
| ] |
| } |
| |
| source_set("authentication") { |
| sources = [ |
| "authentication_flow.h", |
| "authentication_flow.mm", |
| "authentication_flow_performer.h", |
| "authentication_flow_performer.mm", |
| "authentication_flow_performer_delegate.h", |
| "authentication_ui_util.h", |
| "authentication_ui_util.mm", |
| "chrome_signin_view_controller.h", |
| "chrome_signin_view_controller.mm", |
| "re_signin_infobar_delegate.h", |
| "re_signin_infobar_delegate.mm", |
| "signed_in_accounts_view_controller.h", |
| "signed_in_accounts_view_controller.mm", |
| "signin_account_selector_view_controller.h", |
| "signin_account_selector_view_controller.mm", |
| "signin_confirmation_view_controller.h", |
| "signin_confirmation_view_controller.mm", |
| "signin_interaction_controller.h", |
| "signin_interaction_controller.mm", |
| ] |
| deps = [ |
| ":resources", |
| "//base", |
| "//components/google/core/browser", |
| "//components/infobars/core", |
| "//components/prefs", |
| "//components/signin/core/browser", |
| "//components/signin/core/common", |
| "//components/signin/ios/browser", |
| "//components/strings", |
| "//google_apis", |
| "//ios/chrome/app/strings", |
| "//ios/chrome/app/theme", |
| "//ios/chrome/browser", |
| "//ios/chrome/browser/browser_state", |
| "//ios/chrome/browser/browsing_data", |
| "//ios/chrome/browser/infobars", |
| "//ios/chrome/browser/signin", |
| "//ios/chrome/browser/sync", |
| "//ios/chrome/browser/tabs", |
| "//ios/chrome/browser/ui", |
| "//ios/chrome/browser/ui/alert_coordinator", |
| "//ios/chrome/browser/ui/collection_view", |
| "//ios/chrome/browser/ui/collection_view/cells", |
| "//ios/chrome/browser/ui/colors", |
| "//ios/chrome/browser/ui/commands", |
| "//ios/chrome/browser/ui/settings/cells", |
| "//ios/chrome/browser/ui/settings/utils", |
| "//ios/chrome/browser/ui/util", |
| "//ios/chrome/common", |
| "//ios/public/provider/chrome/browser", |
| "//ios/public/provider/chrome/browser/images", |
| "//ios/public/provider/chrome/browser/signin", |
| "//ios/third_party/material_components_ios", |
| "//ios/third_party/material_roboto_font_loader_ios", |
| "//ui/base", |
| "//ui/gfx", |
| "//url", |
| ] |
| libs = [ |
| "CoreGraphics.framework", |
| "QuartzCore.framework", |
| "UIKit.framework", |
| ] |
| } |
| |
| source_set("unit_tests") { |
| testonly = true |
| sources = [ |
| "authentication_flow_unittest.mm", |
| "re_signin_infobar_delegate_unittest.mm", |
| "signed_in_accounts_view_controller_unittest.mm", |
| ] |
| deps = [ |
| ":authentication", |
| "//base", |
| "//base/test:test_support", |
| "//components/pref_registry", |
| "//components/sync_preferences", |
| "//components/sync_preferences:test_support", |
| "//ios/chrome/browser/browser_state:test_support", |
| "//ios/chrome/browser/infobars", |
| "//ios/chrome/browser/prefs:browser_prefs", |
| "//ios/chrome/browser/signin", |
| "//ios/chrome/browser/signin:test_support", |
| "//ios/chrome/browser/ui/commands", |
| "//ios/chrome/test:test_support", |
| "//ios/public/provider/chrome/browser/signin:test_support", |
| "//ios/web:test_support", |
| "//testing/gtest", |
| "//third_party/ocmock", |
| "//ui/base", |
| ] |
| } |
| |
| source_set("eg_tests") { |
| configs += [ "//build/config/compiler:enable_arc" ] |
| testonly = true |
| sources = [ |
| "signin_interaction_controller_egtest.mm", |
| ] |
| deps = [ |
| "//base", |
| "//base/test:test_support", |
| "//components/signin/core/browser", |
| "//ios/chrome/app/strings", |
| "//ios/chrome/browser", |
| "//ios/chrome/browser/signin", |
| "//ios/chrome/browser/ui", |
| "//ios/chrome/browser/ui/commands", |
| "//ios/chrome/browser/ui/settings", |
| "//ios/chrome/browser/ui/tools_menu", |
| "//ios/chrome/test/app:test_support", |
| "//ios/chrome/test/earl_grey:test_support", |
| "//ios/public/provider/chrome/browser/signin:test_support", |
| "//ios/testing:ios_test_support", |
| "//ios/testing/earl_grey:earl_grey_support", |
| "//ios/third_party/earl_grey", |
| ] |
| libs = [ "XCTest.framework" ] |
| } |