Cleanup favicon after componentization completion
[chromium-blink-merge.git] / components / signin.gypi
blob4030c5a1437dffec545bf1e42e542146051ad919
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.
6   'targets': [
7     {
8       # GN version: //components/signin/core/common
9       'target_name': 'signin_core_common',
10       'type': 'static_library',
11       'include_dirs': [
12         '..',
13       ],
14       'sources': [
15         'signin/core/common/profile_management_switches.cc',
16         'signin/core/common/profile_management_switches.h',
17         'signin/core/common/signin_pref_names.cc',
18         'signin/core/common/signin_pref_names.h',
19         'signin/core/common/signin_switches.cc',
20         'signin/core/common/signin_switches.h',
21       ],
22     },
23     {
24       # GN version: //components/signin/core/browser
25       'target_name': 'signin_core_browser',
26       'type': 'static_library',
27       'dependencies': [
28         '../base/base.gyp:base',
29         '../base/base.gyp:base_i18n',
30         '../base/base.gyp:base_prefs',
31         '../crypto/crypto.gyp:crypto',
32         '../google_apis/google_apis.gyp:google_apis',
33         '../net/net.gyp:net',
34         '../sql/sql.gyp:sql',
35         '../third_party/icu/icu.gyp:icui18n',
36         '../third_party/icu/icu.gyp:icuuc',
37         'content_settings_core_browser',
38         'content_settings_core_common',
39         'keyed_service_core',
40         'os_crypt',
41         'signin_core_common',
42         'webdata_common',
43       ],
44       'include_dirs': [
45         '..',
46       ],
47       'sources': [
48         # Note: file list duplicated in GN build.
49         'signin/core/browser/about_signin_internals.cc',
50         'signin/core/browser/about_signin_internals.h',
51         'signin/core/browser/account_reconcilor.cc',
52         'signin/core/browser/account_reconcilor.h',
53         'signin/core/browser/account_service_flag_fetcher.cc',
54         'signin/core/browser/account_service_flag_fetcher.h',
55         'signin/core/browser/account_tracker_service.cc',
56         'signin/core/browser/account_tracker_service.h',
57         'signin/core/browser/gaia_cookie_manager_service.cc',
58         'signin/core/browser/gaia_cookie_manager_service.h',
59         'signin/core/browser/mutable_profile_oauth2_token_service.cc',
60         'signin/core/browser/mutable_profile_oauth2_token_service.h',
61         'signin/core/browser/profile_oauth2_token_service.cc',
62         'signin/core/browser/profile_oauth2_token_service.h',
63         'signin/core/browser/refresh_token_annotation_request.cc',
64         'signin/core/browser/refresh_token_annotation_request.h',
65         'signin/core/browser/signin_account_id_helper.cc',
66         'signin/core/browser/signin_account_id_helper.h',
67         'signin/core/browser/signin_client.h',
68         'signin/core/browser/signin_error_controller.cc',
69         'signin/core/browser/signin_error_controller.h',
70         'signin/core/browser/signin_internals_util.cc',
71         'signin/core/browser/signin_internals_util.h',
72         'signin/core/browser/signin_manager.cc',
73         'signin/core/browser/signin_manager.h',
74         'signin/core/browser/signin_manager_base.cc',
75         'signin/core/browser/signin_manager_base.h',
76         'signin/core/browser/signin_manager_cookie_helper.cc',
77         'signin/core/browser/signin_manager_cookie_helper.h',
78         'signin/core/browser/signin_metrics.cc',
79         'signin/core/browser/signin_metrics.h',
80         'signin/core/browser/signin_oauth_helper.cc',
81         'signin/core/browser/signin_oauth_helper.h',
82         'signin/core/browser/signin_tracker.cc',
83         'signin/core/browser/signin_tracker.h',
84         'signin/core/browser/webdata/token_service_table.cc',
85         'signin/core/browser/webdata/token_service_table.h',
86         'signin/core/browser/webdata/token_web_data.cc',
87         'signin/core/browser/webdata/token_web_data.h',
88       ],
89       'conditions': [
90         ['OS=="android" or OS=="ios"', {
91           'sources!': [
92             # Not used on Android nor iOS.
93             'signin/core/browser/mutable_profile_oauth2_token_service.cc',
94             'signin/core/browser/mutable_profile_oauth2_token_service.h',
95           ],
96         }],
97         ['chromeos==1', {
98           'sources!': [
99             'signin/core/browser/signin_manager.cc',
100           ],
101         }],
102       ],
103       # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
104       'msvs_disabled_warnings': [4267, ],
105     },
106     {
107       # GN version: //components/signin/core/browser:test_support
108       'target_name': 'signin_core_browser_test_support',
109       'type': 'static_library',
110       'dependencies': [
111         'signin_core_browser',
112         '../testing/gtest.gyp:gtest',
113       ],
114       'include_dirs': [
115         '..',
116       ],
117       'sources': [
118         # Note: file list duplicated in GN build.
119         'signin/core/browser/fake_auth_status_provider.cc',
120         'signin/core/browser/fake_auth_status_provider.h',
121         'signin/core/browser/test_signin_client.cc',
122         'signin/core/browser/test_signin_client.h',
123       ],
124     },
125   ],
126   'conditions': [
127     ['OS == "ios"', {
128       'targets': [
129         {
130           # GN version: //components/signin/core/browser:ios
131           'target_name': 'signin_ios_browser',
132           'type': 'static_library',
133           'dependencies': [
134             'signin_core_browser',
135             '../ios/provider/ios_components.gyp:ios_components',
136           ],
137           'include_dirs': [
138             '..',
139           ],
140           'sources': [
141             # Note: file list duplicated in GN build.
142             'signin/ios/browser/merge_session_observer_bridge.h',
143             'signin/ios/browser/merge_session_observer_bridge.mm',
144             'signin/ios/browser/oauth2_token_service_observer_bridge.h',
145             'signin/ios/browser/oauth2_token_service_observer_bridge.mm',
146             'signin/ios/browser/profile_oauth2_token_service_ios.h',
147             'signin/ios/browser/profile_oauth2_token_service_ios.mm',
148           ],
149         },
150       ],
151     }],
152   ],