Add abhijeet.k@samsung.com to AUTHORS list.
[chromium-blink-merge.git] / components / signin / core / browser / BUILD.gn
blobdf217e0b8b116f560617cdb5400ee1e249da4b50
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_service_flag_fetcher.cc",
12     "account_service_flag_fetcher.h",
13     "account_tracker_service.cc",
14     "account_tracker_service.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_account_id_helper.cc",
24     "signin_account_id_helper.h",
25     "signin_client.h",
26     "signin_error_controller.cc",
27     "signin_error_controller.h",
28     "signin_internals_util.cc",
29     "signin_internals_util.h",
30     "signin_manager.cc",
31     "signin_manager.h",
32     "signin_manager_base.cc",
33     "signin_manager_base.h",
34     "signin_manager_cookie_helper.cc",
35     "signin_manager_cookie_helper.h",
36     "signin_metrics.cc",
37     "signin_metrics.h",
38     "signin_oauth_helper.cc",
39     "signin_oauth_helper.h",
40     "signin_tracker.cc",
41     "signin_tracker.h",
42     "webdata/token_service_table.cc",
43     "webdata/token_service_table.h",
44     "webdata/token_web_data.cc",
45     "webdata/token_web_data.h",
46   ]
48   configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
50   deps = [
51     "//base",
52     "//crypto",
53     "//google_apis",
54     "//net",
55     "//sql",
56     "//third_party/icu",
57     "//components/content_settings/core/browser",
58     "//components/content_settings/core/common",
59     "//components/keyed_service/core",
60     "//components/os_crypt",
61     "//components/webdata/common",
62   ]
64   if (is_android) {
65     sources -= [
66       "mutable_profile_oauth2_token_service.cc",
67       "mutable_profile_oauth2_token_service.h",
68     ]
69   }
71   if (is_chromeos) {
72     sources -= [ "signin_manager.cc" ]
73   }
76 static_library("test_support") {
77   testonly = true
78   sources = [
79     "fake_auth_status_provider.cc",
80     "fake_auth_status_provider.h",
81     "test_signin_client.cc",
82     "test_signin_client.h",
83   ]
85   deps = [
86     ":browser",
87     "//testing/gtest",
88   ]