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 19 matching lines...) Expand all Loading... |
30 ['google_default_client_id!=""', { | 30 ['google_default_client_id!=""', { |
31 'defines': [ | 31 'defines': [ |
32 'GOOGLE_DEFAULT_CLIENT_ID="<(google_default_client_id)"', | 32 'GOOGLE_DEFAULT_CLIENT_ID="<(google_default_client_id)"', |
33 ] | 33 ] |
34 }], | 34 }], |
35 ['google_default_client_secret!=""', { | 35 ['google_default_client_secret!=""', { |
36 'defines': [ | 36 'defines': [ |
37 'GOOGLE_DEFAULT_CLIENT_SECRET="<(google_default_client_secret)"', | 37 'GOOGLE_DEFAULT_CLIENT_SECRET="<(google_default_client_secret)"', |
38 ] | 38 ] |
39 }], | 39 }], |
40 ['OS=="mac" or OS=="ios" or OS=="win"', { | |
41 'dependencies': [ | |
42 '../third_party/nss/nss.gyp:nspr', | |
43 '../third_party/nss/nss.gyp:nss', | |
44 ], | |
45 }], | |
46 ['OS=="android"', { | |
47 'dependencies': [ | |
48 '../third_party/boringssl/boringssl.gyp:boringssl', | |
49 ], | |
50 'sources/': [ | |
51 ['exclude', 'cup/client_update_protocol_nss\.cc$'], | |
52 ], | |
53 }], | |
54 ['enable_extensions==1', { | 40 ['enable_extensions==1', { |
55 'sources': [ | 41 'sources': [ |
56 'drive/auth_service.cc', | 42 'drive/auth_service.cc', |
57 'drive/auth_service.h', | 43 'drive/auth_service.h', |
58 'drive/auth_service_interface.h', | 44 'drive/auth_service_interface.h', |
59 'drive/auth_service_observer.h', | 45 'drive/auth_service_observer.h', |
60 'drive/base_requests.cc', | 46 'drive/base_requests.cc', |
61 'drive/base_requests.h', | 47 'drive/base_requests.h', |
62 'drive/drive_api_parser.cc', | 48 'drive/drive_api_parser.cc', |
63 'drive/drive_api_parser.h', | 49 'drive/drive_api_parser.h', |
(...skipping 13 matching lines...) Expand all Loading... |
77 'drive/request_sender.cc', | 63 'drive/request_sender.cc', |
78 'drive/request_sender.h', | 64 'drive/request_sender.h', |
79 'drive/request_util.cc', | 65 'drive/request_util.cc', |
80 'drive/request_util.h', | 66 'drive/request_util.h', |
81 'drive/task_util.cc', | 67 'drive/task_util.cc', |
82 'drive/task_util.h', | 68 'drive/task_util.h', |
83 'drive/time_util.cc', | 69 'drive/time_util.cc', |
84 'drive/time_util.h', | 70 'drive/time_util.h', |
85 ], | 71 ], |
86 }], | 72 }], |
87 ['use_openssl==1', { | |
88 'sources!': [ | |
89 'cup/client_update_protocol_nss.cc', | |
90 ], | |
91 }, { | |
92 'sources!': [ | |
93 'cup/client_update_protocol_openssl.cc', | |
94 ], | |
95 }], | |
96 ], | 73 ], |
97 'sources': [ | 74 'sources': [ |
98 'cup/client_update_protocol.cc', | |
99 'cup/client_update_protocol.h', | |
100 'cup/client_update_protocol_nss.cc', | |
101 'cup/client_update_protocol_openssl.cc', | |
102 'gaia/account_tracker.cc', | 75 'gaia/account_tracker.cc', |
103 'gaia/account_tracker.h', | 76 'gaia/account_tracker.h', |
104 'gaia/gaia_auth_consumer.cc', | 77 'gaia/gaia_auth_consumer.cc', |
105 'gaia/gaia_auth_consumer.h', | 78 'gaia/gaia_auth_consumer.h', |
106 'gaia/gaia_auth_fetcher.cc', | 79 'gaia/gaia_auth_fetcher.cc', |
107 'gaia/gaia_auth_fetcher.h', | 80 'gaia/gaia_auth_fetcher.h', |
108 'gaia/gaia_auth_util.cc', | 81 'gaia/gaia_auth_util.cc', |
109 'gaia/gaia_auth_util.h', | 82 'gaia/gaia_auth_util.h', |
110 'gaia/gaia_constants.cc', | 83 'gaia/gaia_constants.cc', |
111 'gaia/gaia_constants.h', | 84 'gaia/gaia_constants.h', |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 'google_apis_test_support', | 128 'google_apis_test_support', |
156 ], | 129 ], |
157 'includes': [ | 130 'includes': [ |
158 'determine_use_official_keys.gypi', | 131 'determine_use_official_keys.gypi', |
159 ], | 132 ], |
160 'include_dirs': [ | 133 'include_dirs': [ |
161 '..', | 134 '..', |
162 ], | 135 ], |
163 'sources': [ | 136 'sources': [ |
164 'google_api_keys_unittest.cc', | 137 'google_api_keys_unittest.cc', |
165 'cup/client_update_protocol_unittest.cc', | |
166 'gaia/account_tracker_unittest.cc', | 138 'gaia/account_tracker_unittest.cc', |
167 'gaia/gaia_auth_fetcher_unittest.cc', | 139 'gaia/gaia_auth_fetcher_unittest.cc', |
168 'gaia/gaia_auth_util_unittest.cc', | 140 'gaia/gaia_auth_util_unittest.cc', |
169 'gaia/gaia_oauth_client_unittest.cc', | 141 'gaia/gaia_oauth_client_unittest.cc', |
170 'gaia/google_service_auth_error_unittest.cc', | 142 'gaia/google_service_auth_error_unittest.cc', |
171 'gaia/merge_session_helper_unittest.cc', | 143 'gaia/merge_session_helper_unittest.cc', |
172 'gaia/oauth_request_signer_unittest.cc', | 144 'gaia/oauth_request_signer_unittest.cc', |
173 'gaia/oauth2_access_token_fetcher_impl_unittest.cc', | 145 'gaia/oauth2_access_token_fetcher_impl_unittest.cc', |
174 'gaia/oauth2_api_call_flow_unittest.cc', | 146 'gaia/oauth2_api_call_flow_unittest.cc', |
175 'gaia/oauth2_mint_token_flow_unittest.cc', | 147 'gaia/oauth2_mint_token_flow_unittest.cc', |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 'drive/dummy_auth_service.cc', | 199 'drive/dummy_auth_service.cc', |
228 'drive/dummy_auth_service.h', | 200 'drive/dummy_auth_service.h', |
229 'drive/test_util.cc', | 201 'drive/test_util.cc', |
230 'drive/test_util.h', | 202 'drive/test_util.h', |
231 ], | 203 ], |
232 }], | 204 }], |
233 ], | 205 ], |
234 }, | 206 }, |
235 ], | 207 ], |
236 } | 208 } |
OLD | NEW |