Support for unpacked ARM packed relocations.
[chromium-blink-merge.git] / components / signin.gypi
blob4baca0ea18d96806326651e6c1e0c0960159074c
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/account_service_flag_fetcher.cc',
47         'signin/core/browser/account_service_flag_fetcher.h',
48         'signin/core/browser/mutable_profile_oauth2_token_service.cc',
49         'signin/core/browser/mutable_profile_oauth2_token_service.h',
50         'signin/core/browser/profile_oauth2_token_service.cc',
51         'signin/core/browser/profile_oauth2_token_service.h',
52         'signin/core/browser/signin_account_id_helper.cc',
53         'signin/core/browser/signin_account_id_helper.h',
54         'signin/core/browser/signin_client.h',
55         'signin/core/browser/signin_error_controller.cc',
56         'signin/core/browser/signin_error_controller.h',
57         'signin/core/browser/signin_internals_util.cc',
58         'signin/core/browser/signin_internals_util.h',
59         'signin/core/browser/signin_manager_base.cc',
60         'signin/core/browser/signin_manager_base.h',
61         'signin/core/browser/signin_manager.cc',
62         'signin/core/browser/signin_manager.h',
63         'signin/core/browser/signin_manager_cookie_helper.cc',
64         'signin/core/browser/signin_manager_cookie_helper.h',
65         'signin/core/browser/signin_metrics.cc',
66         'signin/core/browser/signin_metrics.h',
67         'signin/core/browser/signin_oauth_helper.cc',
68         'signin/core/browser/signin_oauth_helper.h',
69         'signin/core/browser/signin_tracker.cc',
70         'signin/core/browser/signin_tracker.h',
71         'signin/core/browser/webdata/token_service_table.cc',
72         'signin/core/browser/webdata/token_service_table.h',
73         'signin/core/browser/webdata/token_web_data.cc',
74         'signin/core/browser/webdata/token_web_data.h',
75       ],
76       'conditions': [
77         ['OS=="android"', {
78           'sources!': [
79             # Not used on Android.
80             'signin/core/browser/mutable_profile_oauth2_token_service.cc',
81             'signin/core/browser/mutable_profile_oauth2_token_service.h',
82           ],
83         }],
84         ['chromeos==1', {
85           'sources!': [
86             'signin/core/browser/signin_manager.cc',
87           ],
88         }],
89       ],
90       # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
91       'msvs_disabled_warnings': [4267, ],
92     },
93     {
94       'target_name': 'signin_core_browser_test_support',
95       'type': 'static_library',
96       'dependencies': [
97         'signin_core_browser',
98         '../testing/gtest.gyp:gtest',
99       ],
100       'include_dirs': [
101         '..',
102       ],
103       'sources': [
104         'signin/core/browser/fake_auth_status_provider.cc',
105         'signin/core/browser/fake_auth_status_provider.h',
106         'signin/core/browser/test_signin_client.cc',
107         'signin/core/browser/test_signin_client.h',
108       ],
109     },
110   ],
111   'conditions': [
112     ['OS == "ios"', {
113       'targets': [
114         {
115           'target_name': 'signin_ios_browser',
116           'type': 'static_library',
117           'dependencies': [
118             'signin_core_browser',
119             '../ios/provider/ios_components.gyp:ios_components',
120           ],
121           'include_dirs': [
122             '..',
123           ],
124           'sources': [
125             'signin/ios/browser/profile_oauth2_token_service_ios.h',
126             'signin/ios/browser/profile_oauth2_token_service_ios.mm',
127           ],
128         },
129       ],
130     }],
131   ],