OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 bundle_data("resources") { | 5 bundle_data("resources") { |
6 sources = [ | 6 sources = [ |
7 "resources/signin_confirmation_more.png", | 7 "resources/signin_confirmation_more.png", |
8 "resources/signin_confirmation_more@2x.png", | 8 "resources/signin_confirmation_more@2x.png", |
9 "resources/signin_confirmation_more@3x.png", | 9 "resources/signin_confirmation_more@3x.png", |
10 ] | 10 ] |
11 outputs = [ | 11 outputs = [ |
12 "{{bundle_resources_dir}}/{{source_file_part}}", | 12 "{{bundle_resources_dir}}/{{source_file_part}}", |
13 ] | 13 ] |
14 } | 14 } |
| 15 |
| 16 source_set("authentication") { |
| 17 sources = [ |
| 18 "authentication_flow.h", |
| 19 "authentication_flow.mm", |
| 20 "authentication_flow_performer.h", |
| 21 "authentication_flow_performer.mm", |
| 22 "authentication_flow_performer_delegate.h", |
| 23 "authentication_ui_util.h", |
| 24 "authentication_ui_util.mm", |
| 25 "chrome_signin_view_controller.h", |
| 26 "chrome_signin_view_controller.mm", |
| 27 "re_signin_infobar_delegate.h", |
| 28 "re_signin_infobar_delegate.mm", |
| 29 "signed_in_accounts_view_controller.h", |
| 30 "signed_in_accounts_view_controller.mm", |
| 31 "signin_account_selector_view_controller.h", |
| 32 "signin_account_selector_view_controller.mm", |
| 33 "signin_confirmation_view_controller.h", |
| 34 "signin_confirmation_view_controller.mm", |
| 35 "signin_interaction_controller.h", |
| 36 "signin_interaction_controller.mm", |
| 37 ] |
| 38 deps = [ |
| 39 "//base", |
| 40 "//components/google/core/browser", |
| 41 "//components/infobars/core", |
| 42 "//components/prefs", |
| 43 "//components/signin/core/browser", |
| 44 "//components/signin/core/common", |
| 45 "//components/signin/ios/browser", |
| 46 "//components/strings", |
| 47 "//google_apis", |
| 48 "//ios/chrome/app/strings", |
| 49 "//ios/chrome/app/theme", |
| 50 "//ios/chrome/browser", |
| 51 "//ios/chrome/browser/browser_state", |
| 52 "//ios/chrome/browser/browsing_data", |
| 53 "//ios/chrome/browser/infobars", |
| 54 "//ios/chrome/browser/signin", |
| 55 "//ios/chrome/browser/sync", |
| 56 "//ios/chrome/browser/tabs", |
| 57 "//ios/chrome/browser/ui", |
| 58 "//ios/chrome/browser/ui/alert_coordinator", |
| 59 "//ios/chrome/browser/ui/authentication:resources", |
| 60 "//ios/chrome/browser/ui/collection_view", |
| 61 "//ios/chrome/browser/ui/collection_view/cells", |
| 62 "//ios/chrome/browser/ui/colors", |
| 63 "//ios/chrome/browser/ui/commands", |
| 64 "//ios/chrome/browser/ui/settings/cells", |
| 65 "//ios/chrome/browser/ui/settings/utils", |
| 66 "//ios/chrome/browser/ui/util", |
| 67 "//ios/chrome/common", |
| 68 "//ios/public/provider/chrome/browser", |
| 69 "//ios/public/provider/chrome/browser/images", |
| 70 "//ios/public/provider/chrome/browser/signin", |
| 71 "//ios/third_party/material_components_ios", |
| 72 "//ios/third_party/material_roboto_font_loader_ios", |
| 73 "//ui/base", |
| 74 "//ui/gfx", |
| 75 "//url", |
| 76 ] |
| 77 libs = [ |
| 78 "CoreGraphics.framework", |
| 79 "QuartzCore.framework", |
| 80 "UIKit.framework", |
| 81 ] |
| 82 } |
| 83 |
| 84 source_set("unit_tests") { |
| 85 testonly = true |
| 86 sources = [ |
| 87 "authentication_flow_unittest.mm", |
| 88 "re_signin_infobar_delegate_unittest.mm", |
| 89 "signed_in_accounts_view_controller_unittest.mm", |
| 90 ] |
| 91 deps = [ |
| 92 ":authentication", |
| 93 "//base", |
| 94 "//base/test:test_support", |
| 95 "//components/pref_registry", |
| 96 "//components/sync_preferences", |
| 97 "//components/sync_preferences:test_support", |
| 98 "//ios/chrome/browser/browser_state:test_support", |
| 99 "//ios/chrome/browser/infobars", |
| 100 "//ios/chrome/browser/prefs:browser_prefs", |
| 101 "//ios/chrome/browser/signin", |
| 102 "//ios/chrome/browser/signin:test_support", |
| 103 "//ios/chrome/browser/ui/commands", |
| 104 "//ios/chrome/test:test_support", |
| 105 "//ios/public/provider/chrome/browser/signin:test_support", |
| 106 "//ios/web:test_support", |
| 107 "//testing/gtest", |
| 108 "//third_party/ocmock", |
| 109 "//ui/base", |
| 110 ] |
| 111 } |
| 112 |
| 113 source_set("eg_tests") { |
| 114 testonly = true |
| 115 sources = [ |
| 116 "signin_interaction_controller_egtest.mm", |
| 117 ] |
| 118 deps = [ |
| 119 "//base", |
| 120 "//base/test:test_support", |
| 121 "//components/signin/core/browser", |
| 122 "//ios/chrome/app/strings", |
| 123 "//ios/chrome/browser", |
| 124 "//ios/chrome/browser/signin", |
| 125 "//ios/chrome/browser/ui", |
| 126 "//ios/chrome/browser/ui/commands", |
| 127 "//ios/chrome/browser/ui/settings", |
| 128 "//ios/chrome/browser/ui/tools_menu", |
| 129 "//ios/chrome/test/app:test_support", |
| 130 "//ios/chrome/test/earl_grey:test_support", |
| 131 "//ios/public/provider/chrome/browser/signin:test_support", |
| 132 "//ios/testing:ios_test_support", |
| 133 "//ios/testing/earl_grey:earl_grey_support", |
| 134 "//ios/third_party/earl_grey", |
| 135 ] |
| 136 libs = [ "XCTest.framework" ] |
| 137 } |
OLD | NEW |