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

Side by Side Diff: google_apis/BUILD.gn

Issue 929793006: Update existing uses of /wd4267 to use the GN config (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@x64
Patch Set: Created 5 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 | « extensions/utility/BUILD.gn ('k') | gpu/blink/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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 "gaia/oauth2_token_service_request.cc", 115 "gaia/oauth2_token_service_request.cc",
116 "gaia/oauth2_token_service_request.h", 116 "gaia/oauth2_token_service_request.h",
117 "gaia/oauth_request_signer.cc", 117 "gaia/oauth_request_signer.cc",
118 "gaia/oauth_request_signer.h", 118 "gaia/oauth_request_signer.h",
119 "gaia/ubertoken_fetcher.cc", 119 "gaia/ubertoken_fetcher.cc",
120 "gaia/ubertoken_fetcher.h", 120 "gaia/ubertoken_fetcher.h",
121 "google_api_keys.cc", 121 "google_api_keys.cc",
122 "google_api_keys.h", 122 "google_api_keys.h",
123 ] 123 ]
124 124
125 if (is_win) { 125 configs += [
126 cflags = [ "/wd4267" ] # size_t -> int 126 ":key_defines",
127 } 127 "//build/config/compiler:no_size_t_to_int_warning",
128 128 ]
129 configs += [ ":key_defines" ]
130 129
131 deps = [ 130 deps = [
132 "//base", 131 "//base",
133 "//base/third_party/dynamic_annotations", 132 "//base/third_party/dynamic_annotations",
134 "//crypto", 133 "//crypto",
135 "//net", 134 "//net",
136 "//third_party/libxml", 135 "//third_party/libxml",
137 ] 136 ]
138 137
139 if (enable_extensions) { 138 if (enable_extensions) {
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 "drive/drive_api_parser_unittest.cc", 230 "drive/drive_api_parser_unittest.cc",
232 "drive/drive_api_requests_unittest.cc", 231 "drive/drive_api_requests_unittest.cc",
233 "drive/drive_api_url_generator_unittest.cc", 232 "drive/drive_api_url_generator_unittest.cc",
234 "drive/request_sender_unittest.cc", 233 "drive/request_sender_unittest.cc",
235 "drive/request_util_unittest.cc", 234 "drive/request_util_unittest.cc",
236 "drive/time_util_unittest.cc", 235 "drive/time_util_unittest.cc",
237 ] 236 ]
238 } 237 }
239 } 238 }
240 } 239 }
OLDNEW
« no previous file with comments | « extensions/utility/BUILD.gn ('k') | gpu/blink/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698