Finish refactoring of DomCodeToUsLayoutKeyboardCode().
[chromium-blink-merge.git] / components / signin.gypi
blobac2d6fee16c3faa112c2630c758bf9c2720479cb
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         'google_core_browser',
40         'keyed_service_core',
41         'os_crypt',
42         'signin_core_common',
43         'webdata_common',
44       ],
45       'include_dirs': [
46         '..',
47       ],
48       'sources': [
49         # Note: file list duplicated in GN build.
50         'signin/core/browser/about_signin_internals.cc',
51         'signin/core/browser/about_signin_internals.h',
52         'signin/core/browser/account_fetcher_service.cc',
53         'signin/core/browser/account_fetcher_service.h',
54         'signin/core/browser/account_info_fetcher.cc',
55         'signin/core/browser/account_info_fetcher.h',
56         'signin/core/browser/account_reconcilor.cc',
57         'signin/core/browser/account_reconcilor.h',
58         'signin/core/browser/account_tracker_service.cc',
59         'signin/core/browser/account_tracker_service.h',
60         'signin/core/browser/device_activity_fetcher.cc',
61         'signin/core/browser/device_activity_fetcher.h',
62         'signin/core/browser/gaia_cookie_manager_service.cc',
63         'signin/core/browser/gaia_cookie_manager_service.h',
64         'signin/core/browser/profile_identity_provider.cc',
65         'signin/core/browser/profile_identity_provider.h',
66         'signin/core/browser/profile_oauth2_token_service.cc',
67         'signin/core/browser/profile_oauth2_token_service.h',
68         'signin/core/browser/refresh_token_annotation_request.cc',
69         'signin/core/browser/refresh_token_annotation_request.h',
70         'signin/core/browser/signin_client.h',
71         'signin/core/browser/signin_cookie_changed_subscription.cc',
72         'signin/core/browser/signin_cookie_changed_subscription.h',
73         'signin/core/browser/signin_error_controller.cc',
74         'signin/core/browser/signin_error_controller.h',
75         'signin/core/browser/signin_header_helper.cc',
76         'signin/core/browser/signin_header_helper.h',
77         'signin/core/browser/signin_internals_util.cc',
78         'signin/core/browser/signin_internals_util.h',
79         'signin/core/browser/signin_manager.cc',
80         'signin/core/browser/signin_manager.h',
81         'signin/core/browser/signin_manager_base.cc',
82         'signin/core/browser/signin_manager_base.h',
83         'signin/core/browser/signin_manager_cookie_helper.cc',
84         'signin/core/browser/signin_manager_cookie_helper.h',
85         'signin/core/browser/signin_metrics.cc',
86         'signin/core/browser/signin_metrics.h',
87         'signin/core/browser/signin_tracker.cc',
88         'signin/core/browser/signin_tracker.h',
89         'signin/core/browser/webdata/token_service_table.cc',
90         'signin/core/browser/webdata/token_service_table.h',
91         'signin/core/browser/webdata/token_web_data.cc',
92         'signin/core/browser/webdata/token_web_data.h',
93       ],
94       'conditions': [
95         ['chromeos==1', {
96           'sources!': [
97             'signin/core/browser/signin_manager.cc',
98           ],
99         }],
100       ],
101       # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
102       'msvs_disabled_warnings': [4267, ],
103     },
104     {
105       # GN version: //components/signin/core/browser:test_support
106       'target_name': 'signin_core_browser_test_support',
107       'type': 'static_library',
108       'dependencies': [
109         'signin_core_browser',
110         '../testing/gtest.gyp:gtest',
111       ],
112       'include_dirs': [
113         '..',
114       ],
115       'sources': [
116         # Note: file list duplicated in GN build.
117         'signin/core/browser/fake_auth_status_provider.cc',
118         'signin/core/browser/fake_auth_status_provider.h',
119         'signin/core/browser/test_signin_client.cc',
120         'signin/core/browser/test_signin_client.h',
121       ],
122     },
123   ],
124   'conditions': [
125     ['OS == "ios"', {
126       # GN version: //components/signin/core/browser:ios
127       'targets': [
128         {
129           'target_name': 'signin_ios_browser',
130           'type': 'static_library',
131           'dependencies': [
132             'signin_core_browser',
133           ],
134           'include_dirs': [
135             '..',
136           ],
137           'sources': [
138             # Note: file list duplicated in GN build.
139             'signin/ios/browser/merge_session_observer_bridge.h',
140             'signin/ios/browser/merge_session_observer_bridge.mm',
141             'signin/ios/browser/oauth2_token_service_observer_bridge.h',
142             'signin/ios/browser/oauth2_token_service_observer_bridge.mm',
143             'signin/ios/browser/profile_oauth2_token_service_ios_delegate.h',
144             'signin/ios/browser/profile_oauth2_token_service_ios_delegate.mm',
145             'signin/ios/browser/profile_oauth2_token_service_ios_provider.h',
146           ],
147         },
148         {
149           'target_name': 'signin_ios_browser_test_support',
150           'type': 'static_library',
151           'dependencies': [
152             '../base/base.gyp:base',
153             '../google_apis/google_apis.gyp:google_apis_test_support',
154             'signin_ios_browser',
155           ],
156           'include_dirs': [
157             '..',
158           ],
159           'sources': [
160             # Note: file list duplicated in GN build.
161             'signin/ios/browser/fake_profile_oauth2_token_service_ios_delegate.h',
162             'signin/ios/browser/fake_profile_oauth2_token_service_ios_delegate.mm',
163             'signin/ios/browser/fake_profile_oauth2_token_service_ios_provider.h',
164             'signin/ios/browser/fake_profile_oauth2_token_service_ios_provider.mm',
165           ],
166         },
167       ],
168     }],
169   ],