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

Side by Side Diff: google_apis/BUILD.gn

Issue 1664653003: Revert of Move gn _run target generation into test(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
« no previous file with comments | « gin/BUILD.gn ('k') | google_apis/gcm/BUILD.gn » ('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/features.gni") 5 import("//build/config/features.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 declare_args() { 8 declare_args() {
9 # You can set the variable 'use_official_google_api_keys' to true 9 # You can set the variable 'use_official_google_api_keys' to true
10 # to use the Google-internal file containing official API keys 10 # to use the Google-internal file containing official API keys
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 if (enable_extensions) { 217 if (enable_extensions) {
218 sources += [ 218 sources += [
219 "drive/dummy_auth_service.cc", 219 "drive/dummy_auth_service.cc",
220 "drive/dummy_auth_service.h", 220 "drive/dummy_auth_service.h",
221 "drive/test_util.cc", 221 "drive/test_util.cc",
222 "drive/test_util.h", 222 "drive/test_util.h",
223 ] 223 ]
224 } 224 }
225 } 225 }
226 226
227 # TODO(GYP): Delete this after we've converted everything to GN.
228 # The _run targets exist only for compatibility w/ GYP.
229 group("google_apis_unittests_run") {
230 testonly = true
231 deps = [
232 ":google_apis_unittests",
233 ]
234 }
235
227 test("google_apis_unittests") { 236 test("google_apis_unittests") {
228 sources = [ 237 sources = [
229 "gaia/gaia_auth_fetcher_unittest.cc", 238 "gaia/gaia_auth_fetcher_unittest.cc",
230 "gaia/gaia_auth_util_unittest.cc", 239 "gaia/gaia_auth_util_unittest.cc",
231 "gaia/gaia_oauth_client_unittest.cc", 240 "gaia/gaia_oauth_client_unittest.cc",
232 "gaia/google_service_auth_error_unittest.cc", 241 "gaia/google_service_auth_error_unittest.cc",
233 "gaia/oauth2_access_token_fetcher_impl_unittest.cc", 242 "gaia/oauth2_access_token_fetcher_impl_unittest.cc",
234 "gaia/oauth2_api_call_flow_unittest.cc", 243 "gaia/oauth2_api_call_flow_unittest.cc",
235 "gaia/oauth2_mint_token_flow_unittest.cc", 244 "gaia/oauth2_mint_token_flow_unittest.cc",
236 "gaia/oauth2_token_service_unittest.cc", 245 "gaia/oauth2_token_service_unittest.cc",
(...skipping 23 matching lines...) Expand all
260 "drive/base_requests_unittest.cc", 269 "drive/base_requests_unittest.cc",
261 "drive/drive_api_parser_unittest.cc", 270 "drive/drive_api_parser_unittest.cc",
262 "drive/drive_api_requests_unittest.cc", 271 "drive/drive_api_requests_unittest.cc",
263 "drive/drive_api_url_generator_unittest.cc", 272 "drive/drive_api_url_generator_unittest.cc",
264 "drive/request_sender_unittest.cc", 273 "drive/request_sender_unittest.cc",
265 "drive/request_util_unittest.cc", 274 "drive/request_util_unittest.cc",
266 "drive/time_util_unittest.cc", 275 "drive/time_util_unittest.cc",
267 ] 276 ]
268 } 277 }
269 } 278 }
OLDNEW
« no previous file with comments | « gin/BUILD.gn ('k') | google_apis/gcm/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698