OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, # Use higher warning level. | 7 'chromium_code': 1, # Use higher warning level. |
8 }, | 8 }, |
9 'includes': [ | 9 'includes': [ |
10 '../build/win_precompile.gypi', | 10 '../build/win_precompile.gypi', |
(...skipping 30 matching lines...) Expand all Loading... |
41 'GOOGLE_CLIENT_ID_REMOTING="<(google_default_client_id)"', | 41 'GOOGLE_CLIENT_ID_REMOTING="<(google_default_client_id)"', |
42 ] | 42 ] |
43 }], | 43 }], |
44 ['google_default_client_secret!=""', { | 44 ['google_default_client_secret!=""', { |
45 'defines': [ | 45 'defines': [ |
46 'GOOGLE_CLIENT_SECRET_MAIN="<(google_default_client_secret)"', | 46 'GOOGLE_CLIENT_SECRET_MAIN="<(google_default_client_secret)"', |
47 'GOOGLE_CLIENT_SECRET_CLOUD_PRINT="<(google_default_client_secret)"'
, | 47 'GOOGLE_CLIENT_SECRET_CLOUD_PRINT="<(google_default_client_secret)"'
, |
48 'GOOGLE_CLIENT_SECRET_REMOTING="<(google_default_client_secret)"', | 48 'GOOGLE_CLIENT_SECRET_REMOTING="<(google_default_client_secret)"', |
49 ] | 49 ] |
50 }], | 50 }], |
| 51 [ 'OS == "android"', { |
| 52 'dependencies': [ |
| 53 '../third_party/openssl/openssl.gyp:openssl', |
| 54 ], |
| 55 'sources/': [ |
| 56 ['exclude', 'cup/client_update_protocol_nss\.cc$'], |
| 57 ], |
| 58 }], |
| 59 [ 'use_openssl==1', { |
| 60 'sources!': [ |
| 61 'cup/client_update_protocol_nss.cc', |
| 62 ], |
| 63 }, { |
| 64 'sources!': [ |
| 65 'cup/client_update_protocol_openssl.cc', |
| 66 ], |
| 67 },], |
51 ], | 68 ], |
52 'sources': [ | 69 'sources': [ |
| 70 'cup/client_update_protocol.cc', |
| 71 'cup/client_update_protocol.h', |
| 72 'cup/client_update_protocol_nss.cc', |
| 73 'cup/client_update_protocol_openssl.cc', |
53 'gaia/gaia_auth_consumer.cc', | 74 'gaia/gaia_auth_consumer.cc', |
54 'gaia/gaia_auth_consumer.h', | 75 'gaia/gaia_auth_consumer.h', |
55 'gaia/gaia_auth_fetcher.cc', | 76 'gaia/gaia_auth_fetcher.cc', |
56 'gaia/gaia_auth_fetcher.h', | 77 'gaia/gaia_auth_fetcher.h', |
57 'gaia/gaia_auth_util.cc', | 78 'gaia/gaia_auth_util.cc', |
58 'gaia/gaia_auth_util.h', | 79 'gaia/gaia_auth_util.h', |
59 'gaia/gaia_authenticator.cc', | 80 'gaia/gaia_authenticator.cc', |
60 'gaia/gaia_authenticator.h', | 81 'gaia/gaia_authenticator.h', |
61 'gaia/gaia_constants.cc', | 82 'gaia/gaia_constants.cc', |
62 'gaia/gaia_constants.h', | 83 'gaia/gaia_constants.h', |
(...skipping 15 matching lines...) Expand all Loading... |
78 'gaia/oauth2_mint_token_flow.cc', | 99 'gaia/oauth2_mint_token_flow.cc', |
79 'gaia/oauth2_mint_token_flow.h', | 100 'gaia/oauth2_mint_token_flow.h', |
80 'google_api_keys.cc', | 101 'google_api_keys.cc', |
81 'google_api_keys.h', | 102 'google_api_keys.h', |
82 ], | 103 ], |
83 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 104 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
84 'msvs_disabled_warnings': [4267, ], | 105 'msvs_disabled_warnings': [4267, ], |
85 }, | 106 }, |
86 ], | 107 ], |
87 } | 108 } |
OLD | NEW |