Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(293)

Side by Side Diff: google_apis/BUILD.gn

Issue 301973009: Add browser-global GCMDriver (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix build on Android. Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/test/base/testing_browser_process.cc ('k') | google_apis/gaia/dummy_identity_provider.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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",
112 "gaia/gaia_auth_consumer.cc", 114 "gaia/gaia_auth_consumer.cc",
113 "gaia/gaia_auth_consumer.h", 115 "gaia/gaia_auth_consumer.h",
114 "gaia/gaia_auth_fetcher.cc", 116 "gaia/gaia_auth_fetcher.cc",
115 "gaia/gaia_auth_fetcher.h", 117 "gaia/gaia_auth_fetcher.h",
116 "gaia/gaia_auth_util.cc", 118 "gaia/gaia_auth_util.cc",
117 "gaia/gaia_auth_util.h", 119 "gaia/gaia_auth_util.h",
118 "gaia/gaia_constants.cc", 120 "gaia/gaia_constants.cc",
119 "gaia/gaia_constants.h", 121 "gaia/gaia_constants.h",
120 "gaia/gaia_oauth_client.cc", 122 "gaia/gaia_oauth_client.cc",
121 "gaia/gaia_oauth_client.h", 123 "gaia/gaia_oauth_client.h",
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 "//crypto:platform", 162 "//crypto:platform",
161 "//net", 163 "//net",
162 "//third_party/libxml", 164 "//third_party/libxml",
163 ] 165 ]
164 166
165 if (use_openssl) { 167 if (use_openssl) {
166 sources += [ "cup/client_update_protocol_openssl.cc" ] 168 sources += [ "cup/client_update_protocol_openssl.cc" ]
167 } else { 169 } else {
168 sources += [ "cup/client_update_protocol_nss.cc" ] 170 sources += [ "cup/client_update_protocol_nss.cc" ]
169 } 171 }
172
173 if (is_chromeos || is_android) {
174 sources -= [
175 "gaia/dummy_identity_provider.cc",
176 "gaia/dummy_identity_provider.h",
177 ]
178 }
170 } 179 }
171 180
172 source_set("test_support") { 181 source_set("test_support") {
173 sources = [ 182 sources = [
174 "drive/dummy_auth_service.cc", 183 "drive/dummy_auth_service.cc",
175 "drive/dummy_auth_service.h", 184 "drive/dummy_auth_service.h",
176 "drive/test_util.cc", 185 "drive/test_util.cc",
177 "drive/test_util.h", 186 "drive/test_util.h",
178 "gaia/fake_gaia.cc", 187 "gaia/fake_gaia.cc",
179 "gaia/fake_gaia.h", 188 "gaia/fake_gaia.h",
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 if (is_android) { 246 if (is_android) {
238 sources -= [ 247 sources -= [
239 "drive/base_requests_server_unittest.cc", 248 "drive/base_requests_server_unittest.cc",
240 "drive/drive_api_parser_unittest.cc", 249 "drive/drive_api_parser_unittest.cc",
241 "drive/drive_api_requests_unittest.cc", 250 "drive/drive_api_requests_unittest.cc",
242 "drive/gdata_wapi_parser_unittest.cc", 251 "drive/gdata_wapi_parser_unittest.cc",
243 "drive/gdata_wapi_requests_unittest.cc", 252 "drive/gdata_wapi_requests_unittest.cc",
244 ] 253 ]
245 } 254 }
246 } 255 }
OLDNEW
« no previous file with comments | « chrome/test/base/testing_browser_process.cc ('k') | google_apis/gaia/dummy_identity_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698