ChildAccountService: get service flags from AccountTrackerService instead of fetching...
[chromium-blink-merge.git] / components / signin / core / browser / BUILD.gn
blobeb4353c297e4a09b2e28e10649d896fe4d75af10
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
3 # found in the LICENSE file.
5 static_library("browser") {
6   sources = [
7     "about_signin_internals.cc",
8     "about_signin_internals.h",
9     "account_reconcilor.cc",
10     "account_reconcilor.h",
11     "account_tracker_service.cc",
12     "account_tracker_service.h",
13     "device_activity_fetcher.cc",
14     "device_activity_fetcher.h",
15     "gaia_cookie_manager_service.cc",
16     "gaia_cookie_manager_service.h",
17     "mutable_profile_oauth2_token_service.cc",
18     "mutable_profile_oauth2_token_service.h",
19     "profile_oauth2_token_service.cc",
20     "profile_oauth2_token_service.h",
21     "refresh_token_annotation_request.cc",
22     "refresh_token_annotation_request.h",
23     "signin_client.h",
24     "signin_error_controller.cc",
25     "signin_error_controller.h",
26     "signin_internals_util.cc",
27     "signin_internals_util.h",
28     "signin_manager.cc",
29     "signin_manager.h",
30     "signin_manager_base.cc",
31     "signin_manager_base.h",
32     "signin_manager_cookie_helper.cc",
33     "signin_manager_cookie_helper.h",
34     "signin_metrics.cc",
35     "signin_metrics.h",
36     "signin_oauth_helper.cc",
37     "signin_oauth_helper.h",
38     "signin_tracker.cc",
39     "signin_tracker.h",
40     "webdata/token_service_table.cc",
41     "webdata/token_service_table.h",
42     "webdata/token_web_data.cc",
43     "webdata/token_web_data.h",
44   ]
46   configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
48   deps = [
49     "//base",
50     "//crypto",
51     "//google_apis",
52     "//net",
53     "//sql",
54     "//third_party/icu",
55     "//components/content_settings/core/browser",
56     "//components/content_settings/core/common",
57     "//components/keyed_service/core",
58     "//components/os_crypt",
59     "//components/webdata/common",
60   ]
62   if (is_android) {
63     sources -= [
64       "mutable_profile_oauth2_token_service.cc",
65       "mutable_profile_oauth2_token_service.h",
66     ]
67   }
69   if (is_chromeos) {
70     sources -= [ "signin_manager.cc" ]
71   }
74 static_library("test_support") {
75   testonly = true
76   sources = [
77     "fake_auth_status_provider.cc",
78     "fake_auth_status_provider.h",
79     "test_signin_client.cc",
80     "test_signin_client.h",
81   ]
83   deps = [
84     ":browser",
85     "//testing/gtest",
86   ]