Revert 270766 "[telemetry] Make testMeasurementSmoke generate se..."
[chromium-blink-merge.git] / components / signin.gypi
blobcbfb48e0ef1bd214f3bc46a867a769c15a4aa6c6
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       'target_name': 'signin_core_common',
9       'type': 'static_library',
10       'include_dirs': [
11         '..',
12       ],
13       'sources': [
14         'signin/core/common/signin_pref_names.cc',
15         'signin/core/common/signin_pref_names.h',
16         'signin/core/common/signin_switches.cc',
17         'signin/core/common/signin_switches.h',
18         'signin/core/common/profile_management_switches.cc',
19         'signin/core/common/profile_management_switches.h',
20       ],
21     },
22     {
23       'target_name': 'signin_core_browser',
24       'type': 'static_library',
25       'dependencies': [
26         '../base/base.gyp:base',
27         '../crypto/crypto.gyp:crypto',
28         '../google_apis/google_apis.gyp:google_apis',
29         '../net/net.gyp:net',
30         '../sql/sql.gyp:sql',
31         '../third_party/icu/icu.gyp:icui18n',
32         '../third_party/icu/icu.gyp:icuuc',
33         'keyed_service_core',
34         'os_crypt',
35         'signin_core_common',
36         'webdata_common',
37       ],
38       'include_dirs': [
39         '..',
40       ],
41       'sources': [
42         'signin/core/browser/about_signin_internals.cc',
43         'signin/core/browser/about_signin_internals.h',
44         'signin/core/browser/account_reconcilor.cc',
45         'signin/core/browser/account_reconcilor.h',
46         'signin/core/browser/mutable_profile_oauth2_token_service.cc',
47         'signin/core/browser/mutable_profile_oauth2_token_service.h',
48         'signin/core/browser/profile_oauth2_token_service.cc',
49         'signin/core/browser/profile_oauth2_token_service.h',
50         'signin/core/browser/signin_account_id_helper.cc',
51         'signin/core/browser/signin_account_id_helper.h',
52         'signin/core/browser/signin_client.h',
53         'signin/core/browser/signin_error_controller.cc',
54         'signin/core/browser/signin_error_controller.h',
55         'signin/core/browser/signin_internals_util.cc',
56         'signin/core/browser/signin_internals_util.h',
57         'signin/core/browser/signin_manager_base.cc',
58         'signin/core/browser/signin_manager_base.h',
59         'signin/core/browser/signin_manager.cc',
60         'signin/core/browser/signin_manager.h',
61         'signin/core/browser/signin_manager_cookie_helper.cc',
62         'signin/core/browser/signin_manager_cookie_helper.h',
63         'signin/core/browser/signin_metrics.cc',
64         'signin/core/browser/signin_metrics.h',
65         'signin/core/browser/signin_oauth_helper.cc',
66         'signin/core/browser/signin_oauth_helper.h',
67         'signin/core/browser/signin_tracker.cc',
68         'signin/core/browser/signin_tracker.h',
69         'signin/core/browser/webdata/token_service_table.cc',
70         'signin/core/browser/webdata/token_service_table.h',
71         'signin/core/browser/webdata/token_web_data.cc',
72         'signin/core/browser/webdata/token_web_data.h',
73       ],
74       'conditions': [
75         ['OS=="android"', {
76           'sources!': [
77             # Not used on Android.
78             'signin/core/browser/mutable_profile_oauth2_token_service.cc',
79             'signin/core/browser/mutable_profile_oauth2_token_service.h',
80           ],
81         }],
82         ['chromeos==1', {
83           'sources!': [
84             'signin/core/browser/signin_manager.cc',
85           ],
86         }],
87       ],
88       # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
89       'msvs_disabled_warnings': [4267, ],
90     },
91     {
92       'target_name': 'signin_core_browser_test_support',
93       'type': 'static_library',
94       'dependencies': [
95         'signin_core_browser',
96         '../testing/gtest.gyp:gtest',
97       ],
98       'include_dirs': [
99         '..',
100       ],
101       'sources': [
102         'signin/core/browser/fake_auth_status_provider.cc',
103         'signin/core/browser/fake_auth_status_provider.h',
104         'signin/core/browser/test_signin_client.cc',
105         'signin/core/browser/test_signin_client.h',
106       ],
107     },
108   ],
109   'conditions': [
110     ['OS == "ios"', {
111       'targets': [
112         {
113           'target_name': 'signin_ios_browser',
114           'type': 'static_library',
115           'dependencies': [
116             'signin_core_browser',
117             '../ios/provider/ios_components.gyp:ios_components',
118           ],
119           'include_dirs': [
120             '..',
121           ],
122           'sources': [
123             'signin/ios/browser/profile_oauth2_token_service_ios.h',
124             'signin/ios/browser/profile_oauth2_token_service_ios.mm',
125           ],
126         },
127       ],
128     }],
129   ],