Add a function to create a bookmark app from a WebApplicationInfo.
[chromium-blink-merge.git] / components / signin.gypi
blob5b1f0c7074a811e7368e920cad2b6901d41f79c3
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       ],
19     },
20     {
21       'target_name': 'signin_core_browser',
22       'type': 'static_library',
23       'dependencies': [
24         '../base/base.gyp:base',
25         '../crypto/crypto.gyp:crypto',
26         '../google_apis/google_apis.gyp:google_apis',
27         '../net/net.gyp:net',
28         '../sql/sql.gyp:sql',
29         'keyed_service_core',
30         'os_crypt',
31         'signin_core_common',
32         'webdata_common',
33       ],
34       'include_dirs': [
35         '..',
36       ],
37       'sources': [
38         'signin/core/browser/mutable_profile_oauth2_token_service.cc',
39         'signin/core/browser/mutable_profile_oauth2_token_service.h',
40         'signin/core/browser/profile_oauth2_token_service.cc',
41         'signin/core/browser/profile_oauth2_token_service.h',
42         'signin/core/browser/signin_client.h',
43         'signin/core/browser/signin_error_controller.cc',
44         'signin/core/browser/signin_error_controller.h',
45         'signin/core/browser/signin_internals_util.cc',
46         'signin/core/browser/signin_internals_util.h',
47         'signin/core/browser/signin_manager_base.cc',
48         'signin/core/browser/signin_manager_base.h',
49         'signin/core/browser/signin_manager_cookie_helper.cc',
50         'signin/core/browser/signin_manager_cookie_helper.h',
51         'signin/core/browser/webdata/token_service_table.cc',
52         'signin/core/browser/webdata/token_service_table.h',
53         'signin/core/browser/webdata/token_web_data.cc',
54         'signin/core/browser/webdata/token_web_data.h',
55       ],
56       'conditions': [
57         ['OS=="android"', {
58           'sources!': [
59             # Not used on Android.
60             'signin/core/browser/mutable_profile_oauth2_token_service.cc',
61             'signin/core/browser/mutable_profile_oauth2_token_service.h',
62           ],
63         }],
64       ],
65     },
66     {
67       'target_name': 'signin_core_browser_test_support',
68       'type': 'static_library',
69       'dependencies': [
70         'signin_core_browser',
71         '../testing/gtest.gyp:gtest',
72       ],
73       'include_dirs': [
74         '..',
75       ],
76       'sources': [
77         'signin/core/browser/fake_auth_status_provider.cc',
78         'signin/core/browser/fake_auth_status_provider.h',
79         'signin/core/browser/test_signin_client.cc',
80         'signin/core/browser/test_signin_client.h',
81       ],
82     },
83   ],