Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(144)

Side by Side Diff: components/signin/core/browser/BUILD.gn

Issue 2582573002: Signin/OAuth: Create an AccessTokenFetcher helper class (Closed)
Patch Set: review2 Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 if (is_android) { 5 if (is_android) {
6 import("//build/config/android/rules.gni") 6 import("//build/config/android/rules.gni")
7 } 7 }
8 8
9 static_library("browser") { 9 static_library("browser") {
10 sources = [ 10 sources = [
11 "about_signin_internals.cc", 11 "about_signin_internals.cc",
12 "about_signin_internals.h", 12 "about_signin_internals.h",
13 "access_token_fetcher.cc",
14 "access_token_fetcher.h",
13 "account_fetcher_service.cc", 15 "account_fetcher_service.cc",
14 "account_fetcher_service.h", 16 "account_fetcher_service.h",
15 "account_info.cc", 17 "account_info.cc",
16 "account_info.h", 18 "account_info.h",
17 "account_info_fetcher.cc", 19 "account_info_fetcher.cc",
18 "account_info_fetcher.h", 20 "account_info_fetcher.h",
19 "account_investigator.cc", 21 "account_investigator.cc",
20 "account_investigator.h", 22 "account_investigator.h",
21 "account_reconcilor.cc", 23 "account_reconcilor.cc",
22 "account_reconcilor.h", 24 "account_reconcilor.h",
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 "//components/webdata/common", 141 "//components/webdata/common",
140 "//google_apis:test_support", 142 "//google_apis:test_support",
141 "//net:test_support", 143 "//net:test_support",
142 "//testing/gtest", 144 "//testing/gtest",
143 ] 145 ]
144 } 146 }
145 147
146 source_set("unit_tests") { 148 source_set("unit_tests") {
147 testonly = true 149 testonly = true
148 sources = [ 150 sources = [
151 "access_token_fetcher_unittest.cc",
149 "account_info_unittest.cc", 152 "account_info_unittest.cc",
150 "account_investigator_unittest.cc", 153 "account_investigator_unittest.cc",
151 "account_tracker_service_unittest.cc", 154 "account_tracker_service_unittest.cc",
152 "gaia_cookie_manager_service_unittest.cc", 155 "gaia_cookie_manager_service_unittest.cc",
153 "refresh_token_annotation_request_unittest.cc", 156 "refresh_token_annotation_request_unittest.cc",
154 "signin_error_controller_unittest.cc", 157 "signin_error_controller_unittest.cc",
155 "signin_header_helper_unittest.cc", 158 "signin_header_helper_unittest.cc",
156 "signin_investigator_unittest.cc", 159 "signin_investigator_unittest.cc",
157 "signin_status_metrics_provider_unittest.cc", 160 "signin_status_metrics_provider_unittest.cc",
158 "webdata/token_service_table_unittest.cc", 161 "webdata/token_service_table_unittest.cc",
159 ] 162 ]
160 163
161 deps = [ 164 deps = [
162 ":test_support", 165 ":test_support",
166 "//base/test:test_support",
163 "//components/content_settings/core/browser", 167 "//components/content_settings/core/browser",
164 "//components/os_crypt:test_support", 168 "//components/os_crypt:test_support",
165 "//components/pref_registry:pref_registry", 169 "//components/pref_registry:pref_registry",
166 "//components/signin/core/common", 170 "//components/signin/core/common",
167 "//components/sync_preferences:test_support", 171 "//components/sync_preferences:test_support",
168 "//testing/gmock", 172 "//testing/gmock",
169 ] 173 ]
170 174
171 if (is_chromeos) { 175 if (is_chromeos) {
172 sources -= [ 176 sources -= [
173 "account_investigator_unittest.cc", 177 "account_investigator_unittest.cc",
174 "signin_status_metrics_provider_unittest.cc", 178 "signin_status_metrics_provider_unittest.cc",
175 ] 179 ]
176 } 180 }
177 } 181 }
178 182
179 if (is_android) { 183 if (is_android) {
180 java_cpp_enum("investigated_scenario_java") { 184 java_cpp_enum("investigated_scenario_java") {
181 sources = [ 185 sources = [
182 "signin_investigator.h", 186 "signin_investigator.h",
183 ] 187 ]
184 } 188 }
185 } 189 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698