| 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/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 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 } | 175 } |
| 176 } | 176 } |
| 177 } | 177 } |
| 178 | 178 |
| 179 google_apis_tmpl("google_apis") { | 179 google_apis_tmpl("google_apis") { |
| 180 deps = [ | 180 deps = [ |
| 181 "//net", | 181 "//net", |
| 182 ] | 182 ] |
| 183 } | 183 } |
| 184 | 184 |
| 185 source_set("test_support") { | 185 static_library("test_support") { |
| 186 testonly = true | 186 testonly = true |
| 187 sources = [ | 187 sources = [ |
| 188 "gaia/fake_gaia.cc", | 188 "gaia/fake_gaia.cc", |
| 189 "gaia/fake_gaia.h", | 189 "gaia/fake_gaia.h", |
| 190 "gaia/fake_identity_provider.cc", | 190 "gaia/fake_identity_provider.cc", |
| 191 "gaia/fake_identity_provider.h", | 191 "gaia/fake_identity_provider.h", |
| 192 "gaia/fake_oauth2_token_service.cc", | 192 "gaia/fake_oauth2_token_service.cc", |
| 193 "gaia/fake_oauth2_token_service.h", | 193 "gaia/fake_oauth2_token_service.h", |
| 194 "gaia/fake_oauth2_token_service_delegate.cc", | 194 "gaia/fake_oauth2_token_service_delegate.cc", |
| 195 "gaia/fake_oauth2_token_service_delegate.h", | 195 "gaia/fake_oauth2_token_service_delegate.h", |
| 196 "gaia/mock_url_fetcher_factory.h", | 196 "gaia/mock_url_fetcher_factory.h", |
| 197 "gaia/oauth2_token_service_test_util.cc", | 197 "gaia/oauth2_token_service_test_util.cc", |
| 198 "gaia/oauth2_token_service_test_util.h", | 198 "gaia/oauth2_token_service_test_util.h", |
| 199 ] | 199 ] |
| 200 | 200 |
| 201 public_deps = [ | 201 public_deps = [ |
| 202 ":google_apis", | 202 ":google_apis", |
| 203 "//base", | 203 "//base", |
| 204 "//base/test:test_support", | 204 "//base/test:test_support", |
| 205 "//net", | |
| 206 "//net:test_support", | 205 "//net:test_support", |
| 207 ] | 206 ] |
| 208 | 207 |
| 209 if (enable_extensions) { | 208 if (enable_extensions) { |
| 210 sources += [ | 209 sources += [ |
| 211 "drive/dummy_auth_service.cc", | 210 "drive/dummy_auth_service.cc", |
| 212 "drive/dummy_auth_service.h", | 211 "drive/dummy_auth_service.h", |
| 213 "drive/test_util.cc", | 212 "drive/test_util.cc", |
| 214 "drive/test_util.h", | 213 "drive/test_util.h", |
| 215 ] | 214 ] |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 255 "drive/drive_api_parser_unittest.cc", | 254 "drive/drive_api_parser_unittest.cc", |
| 256 "drive/drive_api_requests_unittest.cc", | 255 "drive/drive_api_requests_unittest.cc", |
| 257 "drive/drive_api_url_generator_unittest.cc", | 256 "drive/drive_api_url_generator_unittest.cc", |
| 258 "drive/files_list_request_runner_unittest.cc", | 257 "drive/files_list_request_runner_unittest.cc", |
| 259 "drive/request_sender_unittest.cc", | 258 "drive/request_sender_unittest.cc", |
| 260 "drive/request_util_unittest.cc", | 259 "drive/request_util_unittest.cc", |
| 261 "drive/time_util_unittest.cc", | 260 "drive/time_util_unittest.cc", |
| 262 ] | 261 ] |
| 263 } | 262 } |
| 264 } | 263 } |
| OLD | NEW |