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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
80 ] | 80 ] |
81 } | 81 } |
82 | 82 |
83 source_set("authentication_arc") { | 83 source_set("authentication_arc") { |
84 configs += [ "//build/config/compiler:enable_arc" ] | 84 configs += [ "//build/config/compiler:enable_arc" ] |
85 sources = [ | 85 sources = [ |
86 "account_control_item.h", | 86 "account_control_item.h", |
87 "account_control_item.mm", | 87 "account_control_item.mm", |
88 "resized_avatar_cache.h", | 88 "resized_avatar_cache.h", |
89 "resized_avatar_cache.mm", | 89 "resized_avatar_cache.mm", |
90 "signin_promo_item.h", | |
msarda
2017/03/22 12:18:38
Note that authentication_arc depends on the //ios/
lpromero
2017/03/22 16:18:49
Can you create a authentication_ui target in this
jlebel
2017/03/24 20:59:08
If I create authentication_ui target with all view
lpromero
2017/03/27 13:14:46
Right, I meant that the authentication_ui will ult
| |
91 "signin_promo_item.mm", | |
92 "signin_promo_view.h", | |
93 "signin_promo_view.mm", | |
94 "signin_promo_view_mediator.h", | |
95 "signin_promo_view_mediator.mm", | |
90 ] | 96 ] |
91 deps = [ | 97 deps = [ |
98 "//base", | |
99 "//ios/chrome/app/strings", | |
92 "//ios/chrome/browser/ui", | 100 "//ios/chrome/browser/ui", |
93 "//ios/chrome/browser/ui/collection_view/cells", | 101 "//ios/chrome/browser/ui/collection_view/cells", |
94 "//ios/chrome/browser/ui/colors", | 102 "//ios/chrome/browser/ui/colors", |
95 "//ios/public/provider/chrome/browser", | 103 "//ios/public/provider/chrome/browser", |
96 "//ios/public/provider/chrome/browser/signin", | 104 "//ios/public/provider/chrome/browser/signin", |
105 "//ui/base", | |
97 ] | 106 ] |
98 libs = [ | 107 libs = [ |
99 "CoreGraphics.framework", | 108 "CoreGraphics.framework", |
100 "QuartzCore.framework", | 109 "QuartzCore.framework", |
101 "UIKit.framework", | 110 "UIKit.framework", |
102 ] | 111 ] |
103 } | 112 } |
104 | 113 |
105 source_set("unit_tests") { | 114 source_set("unit_tests") { |
106 configs += [ "//build/config/compiler:enable_arc" ] | 115 configs += [ "//build/config/compiler:enable_arc" ] |
107 testonly = true | 116 testonly = true |
108 sources = [ | 117 sources = [ |
109 "account_control_item_unittest.mm", | 118 "account_control_item_unittest.mm", |
110 "authentication_flow_unittest.mm", | 119 "authentication_flow_unittest.mm", |
111 "re_signin_infobar_delegate_unittest.mm", | 120 "re_signin_infobar_delegate_unittest.mm", |
112 "signed_in_accounts_view_controller_unittest.mm", | 121 "signed_in_accounts_view_controller_unittest.mm", |
122 "signin_promo_item_unittest.mm", | |
123 "signin_promo_view_mediator_unittest.mm", | |
113 ] | 124 ] |
114 deps = [ | 125 deps = [ |
115 ":authentication", | 126 ":authentication", |
116 ":authentication_arc", | 127 ":authentication_arc", |
117 "//base", | 128 "//base", |
118 "//base/test:test_support", | 129 "//base/test:test_support", |
119 "//components/pref_registry", | 130 "//components/pref_registry", |
120 "//components/sync_preferences", | 131 "//components/sync_preferences", |
121 "//components/sync_preferences:test_support", | 132 "//components/sync_preferences:test_support", |
122 "//ios/chrome/browser/browser_state:test_support", | 133 "//ios/chrome/browser/browser_state:test_support", |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
155 "//ios/chrome/browser/ui/tools_menu", | 166 "//ios/chrome/browser/ui/tools_menu", |
156 "//ios/chrome/test/app:test_support", | 167 "//ios/chrome/test/app:test_support", |
157 "//ios/chrome/test/earl_grey:test_support", | 168 "//ios/chrome/test/earl_grey:test_support", |
158 "//ios/public/provider/chrome/browser/signin:test_support", | 169 "//ios/public/provider/chrome/browser/signin:test_support", |
159 "//ios/testing:ios_test_support", | 170 "//ios/testing:ios_test_support", |
160 "//ios/testing/earl_grey:earl_grey_support", | 171 "//ios/testing/earl_grey:earl_grey_support", |
161 "//ios/third_party/earl_grey", | 172 "//ios/third_party/earl_grey", |
162 ] | 173 ] |
163 libs = [ "XCTest.framework" ] | 174 libs = [ "XCTest.framework" ] |
164 } | 175 } |
OLD | NEW |