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 ] |
(...skipping 19 matching lines...) Expand all Loading... | |
30 "signed_in_accounts_view_controller.mm", | 30 "signed_in_accounts_view_controller.mm", |
31 "signin_account_selector_view_controller.h", | 31 "signin_account_selector_view_controller.h", |
32 "signin_account_selector_view_controller.mm", | 32 "signin_account_selector_view_controller.mm", |
33 "signin_confirmation_view_controller.h", | 33 "signin_confirmation_view_controller.h", |
34 "signin_confirmation_view_controller.mm", | 34 "signin_confirmation_view_controller.mm", |
35 "signin_interaction_controller.h", | 35 "signin_interaction_controller.h", |
36 "signin_interaction_controller.mm", | 36 "signin_interaction_controller.mm", |
37 ] | 37 ] |
38 deps = [ | 38 deps = [ |
39 ":authentication_arc", | 39 ":authentication_arc", |
40 ":authentication_ui_arc", | |
40 ":resources", | 41 ":resources", |
41 "//base", | 42 "//base", |
42 "//components/google/core/browser", | 43 "//components/google/core/browser", |
43 "//components/infobars/core", | 44 "//components/infobars/core", |
44 "//components/prefs", | 45 "//components/prefs", |
45 "//components/signin/core/browser", | 46 "//components/signin/core/browser", |
46 "//components/signin/core/common", | 47 "//components/signin/core/common", |
47 "//components/signin/ios/browser", | 48 "//components/signin/ios/browser", |
48 "//components/strings", | 49 "//components/strings", |
49 "//google_apis", | 50 "//google_apis", |
(...skipping 26 matching lines...) Expand all Loading... | |
76 libs = [ | 77 libs = [ |
77 "CoreGraphics.framework", | 78 "CoreGraphics.framework", |
78 "QuartzCore.framework", | 79 "QuartzCore.framework", |
79 "UIKit.framework", | 80 "UIKit.framework", |
80 ] | 81 ] |
81 } | 82 } |
82 | 83 |
83 source_set("authentication_arc") { | 84 source_set("authentication_arc") { |
84 configs += [ "//build/config/compiler:enable_arc" ] | 85 configs += [ "//build/config/compiler:enable_arc" ] |
85 sources = [ | 86 sources = [ |
87 "resized_avatar_cache.h", | |
88 "resized_avatar_cache.mm", | |
89 "signin_promo_view_mediator.h", | |
90 "signin_promo_view_mediator.mm", | |
91 ] | |
92 deps = [ | |
93 ":authentication_ui_arc", | |
94 "//base", | |
95 "//ios/chrome/app/strings", | |
96 "//ios/chrome/browser/ui", | |
97 "//ios/public/provider/chrome/browser", | |
98 "//ios/public/provider/chrome/browser/signin", | |
99 "//ios/third_party/material_components_ios", | |
100 "//ui/base", | |
101 ] | |
102 libs = [ "UIKit.framework" ] | |
103 } | |
104 | |
105 source_set("authentication_ui_arc") { | |
lpromero
2017/03/27 13:14:46
Just call it authentication_ui, as there is no amb
jlebel
2017/03/27 21:34:42
Done.
| |
106 configs += [ "//build/config/compiler:enable_arc" ] | |
107 sources = [ | |
86 "account_control_item.h", | 108 "account_control_item.h", |
87 "account_control_item.mm", | 109 "account_control_item.mm", |
88 "resized_avatar_cache.h", | 110 "signin_promo_item.h", |
89 "resized_avatar_cache.mm", | 111 "signin_promo_item.mm", |
112 "signin_promo_view.h", | |
113 "signin_promo_view.mm", | |
90 ] | 114 ] |
91 deps = [ | 115 deps = [ |
116 "//base", | |
117 "//ios/chrome/app/strings", | |
92 "//ios/chrome/browser/ui", | 118 "//ios/chrome/browser/ui", |
93 "//ios/chrome/browser/ui/collection_view/cells", | 119 "//ios/chrome/browser/ui/collection_view/cells", |
94 "//ios/chrome/browser/ui/colors", | 120 "//ios/chrome/browser/ui/colors", |
95 "//ios/public/provider/chrome/browser", | 121 "//ios/public/provider/chrome/browser", |
96 "//ios/public/provider/chrome/browser/signin", | 122 "//ui/base", |
97 ] | 123 ] |
98 libs = [ | 124 libs = [ "UIKit.framework" ] |
99 "CoreGraphics.framework", | |
100 "QuartzCore.framework", | |
101 "UIKit.framework", | |
102 ] | |
103 } | 125 } |
104 | 126 |
105 source_set("unit_tests") { | 127 source_set("unit_tests") { |
106 configs += [ "//build/config/compiler:enable_arc" ] | 128 configs += [ "//build/config/compiler:enable_arc" ] |
107 testonly = true | 129 testonly = true |
108 sources = [ | 130 sources = [ |
109 "account_control_item_unittest.mm", | 131 "account_control_item_unittest.mm", |
110 "authentication_flow_unittest.mm", | 132 "authentication_flow_unittest.mm", |
111 "re_signin_infobar_delegate_unittest.mm", | 133 "re_signin_infobar_delegate_unittest.mm", |
112 "signed_in_accounts_view_controller_unittest.mm", | 134 "signed_in_accounts_view_controller_unittest.mm", |
135 "signin_promo_item_unittest.mm", | |
136 "signin_promo_view_mediator_unittest.mm", | |
137 "signin_promo_view_unittest.mm", | |
113 ] | 138 ] |
114 deps = [ | 139 deps = [ |
115 ":authentication", | 140 ":authentication", |
116 ":authentication_arc", | 141 ":authentication_arc", |
142 ":authentication_ui_arc", | |
117 "//base", | 143 "//base", |
118 "//base/test:test_support", | 144 "//base/test:test_support", |
119 "//components/pref_registry", | 145 "//components/pref_registry", |
120 "//components/sync_preferences", | 146 "//components/sync_preferences", |
121 "//components/sync_preferences:test_support", | 147 "//components/sync_preferences:test_support", |
122 "//ios/chrome/browser/browser_state:test_support", | 148 "//ios/chrome/browser/browser_state:test_support", |
123 "//ios/chrome/browser/infobars", | 149 "//ios/chrome/browser/infobars", |
124 "//ios/chrome/browser/prefs:browser_prefs", | 150 "//ios/chrome/browser/prefs:browser_prefs", |
125 "//ios/chrome/browser/signin", | 151 "//ios/chrome/browser/signin", |
126 "//ios/chrome/browser/signin:test_support", | 152 "//ios/chrome/browser/signin:test_support", |
(...skipping 28 matching lines...) Expand all Loading... | |
155 "//ios/chrome/browser/ui/tools_menu", | 181 "//ios/chrome/browser/ui/tools_menu", |
156 "//ios/chrome/test/app:test_support", | 182 "//ios/chrome/test/app:test_support", |
157 "//ios/chrome/test/earl_grey:test_support", | 183 "//ios/chrome/test/earl_grey:test_support", |
158 "//ios/public/provider/chrome/browser/signin:test_support", | 184 "//ios/public/provider/chrome/browser/signin:test_support", |
159 "//ios/testing:ios_test_support", | 185 "//ios/testing:ios_test_support", |
160 "//ios/testing/earl_grey:earl_grey_support", | 186 "//ios/testing/earl_grey:earl_grey_support", |
161 "//ios/third_party/earl_grey", | 187 "//ios/third_party/earl_grey", |
162 ] | 188 ] |
163 libs = [ "XCTest.framework" ] | 189 libs = [ "XCTest.framework" ] |
164 } | 190 } |
OLD | NEW |