OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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 import("//build/config/crypto.gni") | 5 import("//build/config/crypto.gni") |
6 | 6 |
7 declare_args() { | 7 declare_args() { |
8 # You can set the variable 'use_official_google_api_keys' to true | 8 # You can set the variable 'use_official_google_api_keys' to true |
9 # to use the Google-internal file containing official API keys | 9 # to use the Google-internal file containing official API keys |
10 # for Google Chrome even in a developer build. Setting this | 10 # for Google Chrome even in a developer build. Setting this |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 "drive/gdata_wapi_url_generator.cc", | 102 "drive/gdata_wapi_url_generator.cc", |
103 "drive/gdata_wapi_url_generator.h", | 103 "drive/gdata_wapi_url_generator.h", |
104 "drive/request_sender.cc", | 104 "drive/request_sender.cc", |
105 "drive/request_sender.h", | 105 "drive/request_sender.h", |
106 "drive/request_util.cc", | 106 "drive/request_util.cc", |
107 "drive/request_util.h", | 107 "drive/request_util.h", |
108 "drive/task_util.cc", | 108 "drive/task_util.cc", |
109 "drive/task_util.h", | 109 "drive/task_util.h", |
110 "drive/time_util.cc", | 110 "drive/time_util.cc", |
111 "drive/time_util.h", | 111 "drive/time_util.h", |
112 "gaia/dummy_identity_provider.cc", | |
113 "gaia/dummy_identity_provider.h", | |
114 "gaia/gaia_auth_consumer.cc", | 112 "gaia/gaia_auth_consumer.cc", |
115 "gaia/gaia_auth_consumer.h", | 113 "gaia/gaia_auth_consumer.h", |
116 "gaia/gaia_auth_fetcher.cc", | 114 "gaia/gaia_auth_fetcher.cc", |
117 "gaia/gaia_auth_fetcher.h", | 115 "gaia/gaia_auth_fetcher.h", |
118 "gaia/gaia_auth_util.cc", | 116 "gaia/gaia_auth_util.cc", |
119 "gaia/gaia_auth_util.h", | 117 "gaia/gaia_auth_util.h", |
120 "gaia/gaia_constants.cc", | 118 "gaia/gaia_constants.cc", |
121 "gaia/gaia_constants.h", | 119 "gaia/gaia_constants.h", |
122 "gaia/gaia_oauth_client.cc", | 120 "gaia/gaia_oauth_client.cc", |
123 "gaia/gaia_oauth_client.h", | 121 "gaia/gaia_oauth_client.h", |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 "//crypto:platform", | 160 "//crypto:platform", |
163 "//net", | 161 "//net", |
164 "//third_party/libxml", | 162 "//third_party/libxml", |
165 ] | 163 ] |
166 | 164 |
167 if (use_openssl) { | 165 if (use_openssl) { |
168 sources += [ "cup/client_update_protocol_openssl.cc" ] | 166 sources += [ "cup/client_update_protocol_openssl.cc" ] |
169 } else { | 167 } else { |
170 sources += [ "cup/client_update_protocol_nss.cc" ] | 168 sources += [ "cup/client_update_protocol_nss.cc" ] |
171 } | 169 } |
172 | |
173 if (is_chromeos || is_android) { | |
174 sources -= [ | |
175 "gaia/dummy_identity_provider.cc", | |
176 "gaia/dummy_identity_provider.h", | |
177 ] | |
178 } | |
179 } | 170 } |
180 | 171 |
181 source_set("test_support") { | 172 source_set("test_support") { |
182 sources = [ | 173 sources = [ |
183 "drive/dummy_auth_service.cc", | 174 "drive/dummy_auth_service.cc", |
184 "drive/dummy_auth_service.h", | 175 "drive/dummy_auth_service.h", |
185 "drive/test_util.cc", | 176 "drive/test_util.cc", |
186 "drive/test_util.h", | 177 "drive/test_util.h", |
187 "gaia/fake_gaia.cc", | 178 "gaia/fake_gaia.cc", |
188 "gaia/fake_gaia.h", | 179 "gaia/fake_gaia.h", |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
246 if (is_android) { | 237 if (is_android) { |
247 sources -= [ | 238 sources -= [ |
248 "drive/base_requests_server_unittest.cc", | 239 "drive/base_requests_server_unittest.cc", |
249 "drive/drive_api_parser_unittest.cc", | 240 "drive/drive_api_parser_unittest.cc", |
250 "drive/drive_api_requests_unittest.cc", | 241 "drive/drive_api_requests_unittest.cc", |
251 "drive/gdata_wapi_parser_unittest.cc", | 242 "drive/gdata_wapi_parser_unittest.cc", |
252 "drive/gdata_wapi_requests_unittest.cc", | 243 "drive/gdata_wapi_requests_unittest.cc", |
253 ] | 244 ] |
254 } | 245 } |
255 } | 246 } |
OLD | NEW |