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

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

Issue 2582573002: Signin/OAuth: Create an AccessTokenFetcher helper class (Closed)
Patch Set: review5 Created 3 years, 10 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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 "//components/webdata/common", 142 "//components/webdata/common",
141 "//google_apis:test_support", 143 "//google_apis:test_support",
142 "//net:test_support", 144 "//net:test_support",
143 "//testing/gtest", 145 "//testing/gtest",
144 ] 146 ]
145 } 147 }
146 148
147 source_set("unit_tests") { 149 source_set("unit_tests") {
148 testonly = true 150 testonly = true
149 sources = [ 151 sources = [
152 "access_token_fetcher_unittest.cc",
150 "account_info_unittest.cc", 153 "account_info_unittest.cc",
151 "account_investigator_unittest.cc", 154 "account_investigator_unittest.cc",
152 "account_tracker_service_unittest.cc", 155 "account_tracker_service_unittest.cc",
153 "gaia_cookie_manager_service_unittest.cc", 156 "gaia_cookie_manager_service_unittest.cc",
154 "refresh_token_annotation_request_unittest.cc", 157 "refresh_token_annotation_request_unittest.cc",
155 "signin_error_controller_unittest.cc", 158 "signin_error_controller_unittest.cc",
156 "signin_header_helper_unittest.cc", 159 "signin_header_helper_unittest.cc",
157 "signin_investigator_unittest.cc", 160 "signin_investigator_unittest.cc",
158 "signin_status_metrics_provider_unittest.cc", 161 "signin_status_metrics_provider_unittest.cc",
159 "webdata/token_service_table_unittest.cc", 162 "webdata/token_service_table_unittest.cc",
160 ] 163 ]
161 164
162 deps = [ 165 deps = [
163 ":test_support", 166 ":test_support",
167 "//base/test:test_support",
164 "//components/content_settings/core/browser", 168 "//components/content_settings/core/browser",
165 "//components/os_crypt:test_support", 169 "//components/os_crypt:test_support",
166 "//components/pref_registry:pref_registry", 170 "//components/pref_registry:pref_registry",
167 "//components/signin/core/common", 171 "//components/signin/core/common",
168 "//components/sync_preferences:test_support", 172 "//components/sync_preferences:test_support",
169 "//testing/gmock", 173 "//testing/gmock",
170 ] 174 ]
171 175
172 if (is_chromeos) { 176 if (is_chromeos) {
173 sources -= [ 177 sources -= [
174 "account_investigator_unittest.cc", 178 "account_investigator_unittest.cc",
175 "signin_status_metrics_provider_unittest.cc", 179 "signin_status_metrics_provider_unittest.cc",
176 ] 180 ]
177 } 181 }
178 } 182 }
179 183
180 if (is_android) { 184 if (is_android) {
181 java_cpp_enum("investigated_scenario_java") { 185 java_cpp_enum("investigated_scenario_java") {
182 sources = [ 186 sources = [
183 "signin_investigator.h", 187 "signin_investigator.h",
184 ] 188 ]
185 } 189 }
186 } 190 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698