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

Side by Side Diff: skia/BUILD.gn

Issue 588603002: Added the detailed description for MSVC warning in BUILD.gn (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 if (cpu_arch == "arm") { 7 if (cpu_arch == "arm") {
8 import("//build/config/arm.gni") 8 import("//build/config/arm.gni")
9 } 9 }
10 10
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 227
228 if (is_win) { 228 if (is_win) {
229 include_dirs = [ 229 include_dirs = [
230 "//third_party/skia/include/utils/win", 230 "//third_party/skia/include/utils/win",
231 "//third_party/skia/src/utils/win", 231 "//third_party/skia/src/utils/win",
232 ] 232 ]
233 233
234 defines += [ "SK_FONTHOST_USES_FONTMGR" ] 234 defines += [ "SK_FONTHOST_USES_FONTMGR" ]
235 235
236 cflags = [ 236 cflags = [
237 # TODO(brettw) comment what these are. 237 # TODO(brettw) comment what these are.
brettw 2014/09/19 20:46:21 Remove todo.
238 "/wd4244", 238 "/wd4244", # To suppress the warning conversion' conversion from 'type1( _ _int64)' to 'type2 (unsigned int)', possible loss of data
brettw 2014/09/19 20:46:22 You can remove "to suppress the warning" on every
239 "/wd4267", 239 "/wd4267", # To suppress the warning conversion from 'size_t' (64 bit) to 'type'(32 bit), possible loss of data
240 "/wd4341", 240 "/wd4341", # To suppress the warning signed value is out of range for enu m constant
241 "/wd4345", 241 "/wd4345", # To suppress the warning If the new-initializer is omitted (w ith empty like '()'), then object is default-initialized.
242 "/wd4390", 242 "/wd4390", # To suppress the warning ';' : empty controlled statement fou nd in looping; is this what was intended?
243 "/wd4554", 243 "/wd4554", # To suppress the warning 'operator' : check operator preceden ce for possible error
244 "/wd4748", 244 "/wd4748", # To suppress the warning The compiler will disable optimizati ons if a function has inline assembly
245 "/wd4800", 245 # code containing flow of control (jmp or jcc, for example) sta tements.
246 "/wd4800", # To suppress the warning forcing value to bool 'true' or 'fal se'
247 # (assigning int variables to bool variables where the int vari able contains only values true and false)
246 ] 248 ]
247 } 249 }
248 } 250 }
249 251
250 component("skia") { 252 component("skia") {
251 sources = [ 253 sources = [
252 # Chrome sources. 254 # Chrome sources.
253 "config/SkUserConfig.h", 255 "config/SkUserConfig.h",
254 "ext/analysis_canvas.cc", 256 "ext/analysis_canvas.cc",
255 "ext/analysis_canvas.h", 257 "ext/analysis_canvas.h",
(...skipping 448 matching lines...) Expand 10 before | Expand all | Expand 10 after
704 ":skia_config", 706 ":skia_config",
705 "//build/config/compiler:no_chromium_code" 707 "//build/config/compiler:no_chromium_code"
706 ] 708 ]
707 709
708 deps = [ 710 deps = [
709 "//base", 711 "//base",
710 ] 712 ]
711 713
712 visibility = [ ":skia" ] 714 visibility = [ ":skia" ]
713 } 715 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698