[Android WebView] Match chrome font settings
[chromium-blink-merge.git] / google_apis / google_apis.gyp
blobef492cecbc7ec44772c12ab11b5848d8d0fe7b4a
1 # Copyright (c) 2012 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   'variables': {
7     'chromium_code': 1,  # Use higher warning level.
8   },
9   'includes': [
10     '../build/win_precompile.gypi',
11   ],
12   'targets': [
13     {
14       'target_name': 'google_apis',
15       'type': 'static_library',
16       'includes': [
17         'determine_use_official_keys.gypi',
18       ],
19       'dependencies': [
20         '../base/base.gyp:base',
21         '../crypto/crypto.gyp:crypto',
22         '../net/net.gyp:net',
23       ],
24       'conditions': [
25         ['google_api_key!=""', {
26           'defines': ['GOOGLE_API_KEY="<(google_api_key)"'],
27         }],
28         ['google_default_client_id!=""', {
29           'defines': [
30             'GOOGLE_DEFAULT_CLIENT_ID="<(google_default_client_id)"',
31           ]
32         }],
33         ['google_default_client_secret!=""', {
34           'defines': [
35             'GOOGLE_DEFAULT_CLIENT_SECRET="<(google_default_client_secret)"',
36           ]
37         }],
38         [ 'OS == "android"', {
39             'dependencies': [
40               '../third_party/openssl/openssl.gyp:openssl',
41             ],
42             'sources/': [
43               ['exclude', 'cup/client_update_protocol_nss\.cc$'],
44             ],
45         }],
46         [ 'use_openssl==1', {
47             'sources!': [
48               'cup/client_update_protocol_nss.cc',
49             ],
50           }, {
51             'sources!': [
52               'cup/client_update_protocol_openssl.cc',
53             ],
54         },],
55       ],
56       'sources': [
57         'cup/client_update_protocol.cc',
58         'cup/client_update_protocol.h',
59         'cup/client_update_protocol_nss.cc',
60         'cup/client_update_protocol_openssl.cc',
61         'gaia/gaia_auth_consumer.cc',
62         'gaia/gaia_auth_consumer.h',
63         'gaia/gaia_auth_fetcher.cc',
64         'gaia/gaia_auth_fetcher.h',
65         'gaia/gaia_auth_util.cc',
66         'gaia/gaia_auth_util.h',
67         'gaia/gaia_constants.cc',
68         'gaia/gaia_constants.h',
69         'gaia/gaia_oauth_client.cc',
70         'gaia/gaia_oauth_client.h',
71         'gaia/gaia_switches.cc',
72         'gaia/gaia_switches.h',
73         'gaia/gaia_urls.cc',
74         'gaia/gaia_urls.h',
75         'gaia/google_service_auth_error.cc',
76         'gaia/google_service_auth_error.h',
77         'gaia/oauth_request_signer.cc',
78         'gaia/oauth_request_signer.h',
79         'gaia/oauth2_access_token_consumer.h',
80         'gaia/oauth2_access_token_fetcher.cc',
81         'gaia/oauth2_access_token_fetcher.h',
82         'gaia/oauth2_api_call_flow.cc',
83         'gaia/oauth2_api_call_flow.h',
84         'gaia/oauth2_mint_token_flow.cc',
85         'gaia/oauth2_mint_token_flow.h',
86         'gaia/oauth2_token_service.cc',
87         'gaia/oauth2_token_service.h',
88         'google_api_keys.cc',
89         'google_api_keys.h',
90       ],
91       # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
92       'msvs_disabled_warnings': [4267, ],
93     },
94   ],