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

Side by Side Diff: google_apis/BUILD.gn

Issue 974543002: Remove link_chrome_on_windows GN flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 | « extensions/shell/BUILD.gn ('k') | gpu/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 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 if (enable_extensions) { 191 if (enable_extensions) {
192 sources += [ 192 sources += [
193 "drive/dummy_auth_service.cc", 193 "drive/dummy_auth_service.cc",
194 "drive/dummy_auth_service.h", 194 "drive/dummy_auth_service.h",
195 "drive/test_util.cc", 195 "drive/test_util.cc",
196 "drive/test_util.h", 196 "drive/test_util.h",
197 ] 197 ]
198 } 198 }
199 } 199 }
200 200
201 if (!is_win || link_chrome_on_windows) { 201 test("google_apis_unittests") {
202 test("google_apis_unittests") { 202 sources = [
203 sources = [ 203 "gaia/gaia_auth_fetcher_unittest.cc",
204 "gaia/gaia_auth_fetcher_unittest.cc", 204 "gaia/gaia_auth_util_unittest.cc",
205 "gaia/gaia_auth_util_unittest.cc", 205 "gaia/gaia_oauth_client_unittest.cc",
206 "gaia/gaia_oauth_client_unittest.cc", 206 "gaia/google_service_auth_error_unittest.cc",
207 "gaia/google_service_auth_error_unittest.cc", 207 "gaia/merge_session_helper_unittest.cc",
208 "gaia/merge_session_helper_unittest.cc", 208 "gaia/oauth2_access_token_fetcher_impl_unittest.cc",
209 "gaia/oauth2_access_token_fetcher_impl_unittest.cc", 209 "gaia/oauth2_api_call_flow_unittest.cc",
210 "gaia/oauth2_api_call_flow_unittest.cc", 210 "gaia/oauth2_mint_token_flow_unittest.cc",
211 "gaia/oauth2_mint_token_flow_unittest.cc", 211 "gaia/oauth2_token_service_unittest.cc",
212 "gaia/oauth2_token_service_unittest.cc", 212 "gaia/oauth_request_signer_unittest.cc",
213 "gaia/oauth_request_signer_unittest.cc", 213 "gaia/ubertoken_fetcher_unittest.cc",
214 "gaia/ubertoken_fetcher_unittest.cc", 214 "google_api_keys_unittest.cc",
215 "google_api_keys_unittest.cc", 215 ]
216
217 configs += [ ":key_defines" ]
218
219 deps = [
220 ":google_apis",
221 ":test_support",
222 "//base",
223 "//base/test:run_all_unittests",
224 "//testing/gmock",
225 "//testing/gtest",
226 ]
227
228 if (enable_extensions) {
229 sources += [
230 "drive/base_requests_server_unittest.cc",
231 "drive/base_requests_unittest.cc",
232 "drive/drive_api_parser_unittest.cc",
233 "drive/drive_api_requests_unittest.cc",
234 "drive/drive_api_url_generator_unittest.cc",
235 "drive/request_sender_unittest.cc",
236 "drive/request_util_unittest.cc",
237 "drive/time_util_unittest.cc",
216 ] 238 ]
217
218 configs += [ ":key_defines" ]
219
220 deps = [
221 ":google_apis",
222 ":test_support",
223 "//base",
224 "//base/test:run_all_unittests",
225 "//testing/gmock",
226 "//testing/gtest",
227 ]
228
229 if (enable_extensions) {
230 sources += [
231 "drive/base_requests_server_unittest.cc",
232 "drive/base_requests_unittest.cc",
233 "drive/drive_api_parser_unittest.cc",
234 "drive/drive_api_requests_unittest.cc",
235 "drive/drive_api_url_generator_unittest.cc",
236 "drive/request_sender_unittest.cc",
237 "drive/request_util_unittest.cc",
238 "drive/time_util_unittest.cc",
239 ]
240 }
241 } 239 }
242 } 240 }
OLDNEW
« no previous file with comments | « extensions/shell/BUILD.gn ('k') | gpu/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698