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

Side by Side Diff: Source/core/BUILD.gn

Issue 383153007: Fixes for re-enabling more MSVC level 4 warnings: Source/core/ edition (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Review comments Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/core/accessibility/AXObject.cpp » ('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/ui.gni") 5 import("//build/config/ui.gni")
6 import("//third_party/WebKit/Source/bindings/bindings.gni") 6 import("//third_party/WebKit/Source/bindings/bindings.gni")
7 import("//third_party/WebKit/Source/bindings/core/v8/generated.gni") 7 import("//third_party/WebKit/Source/bindings/core/v8/generated.gni")
8 import("//third_party/WebKit/Source/bindings/modules/modules.gni") 8 import("//third_party/WebKit/Source/bindings/modules/modules.gni")
9 import("//third_party/WebKit/Source/bindings/modules/v8/generated.gni") 9 import("//third_party/WebKit/Source/bindings/modules/v8/generated.gni")
10 import("//third_party/WebKit/Source/bindings/scripts/scripts.gni") 10 import("//third_party/WebKit/Source/bindings/scripts/scripts.gni")
(...skipping 455 matching lines...) Expand 10 before | Expand all | Expand 10 after
466 defines = [] 466 defines = []
467 467
468 if (is_win && component_mode == "shared_library") { 468 if (is_win && component_mode == "shared_library") {
469 defines += [ "USING_V8_SHARED" ] 469 defines += [ "USING_V8_SHARED" ]
470 } 470 }
471 471
472 if (is_win) { 472 if (is_win) {
473 cflags += [ 473 cflags += [
474 # In generated bindings code: "switch contains default but no case". 474 # In generated bindings code: "switch contains default but no case".
475 # Disable c4267 warnings until we fix size_t to int truncations. 475 # Disable c4267 warnings until we fix size_t to int truncations.
476 # 4702 is disabled because of issues in Bison-generated 476 # 4701 and 4702 are disabled because of issues in Bison-generated
477 # XPathGrammar.cpp and CSSGrammar.cpp. 477 # XPathGrammar.cpp and CSSGrammar.cpp.
478 "/wd4065", 478 "/wd4065",
479 "/wd4267", 479 "/wd4267",
480 "/wd4701",
480 "/wd4702", 481 "/wd4702",
481 ] 482 ]
482 } 483 }
483 484
484 # TODO(GYP) More IPP libraries, see above. 485 # TODO(GYP) More IPP libraries, see above.
485 #if ((is_linux || is_android) && use_webaudio_ipp) 486 #if ((is_linux || is_android) && use_webaudio_ipp)
486 # ["OS in ("linux", "android") and "WTF_USE_WEBAUDIO_IPP=1" in feature_define s", { 487 # ["OS in ("linux", "android") and "WTF_USE_WEBAUDIO_IPP=1" in feature_define s", {
487 # "cflags": [ 488 # "cflags": [
488 # "<!@(pkg-config --cflags-only-I ipp)", 489 # "<!@(pkg-config --cflags-only-I ipp)",
489 # ], 490 # ],
(...skipping 638 matching lines...) Expand 10 before | Expand all | Expand 10 after
1128 "$blink_core_output_dir/{{source_name_part}}.h", 1129 "$blink_core_output_dir/{{source_name_part}}.h",
1129 ] 1130 ]
1130 args = [ 1131 args = [
1131 "{{source}}", 1132 "{{source}}",
1132 rel_blink_core_gen_dir, 1133 rel_blink_core_gen_dir,
1133 bison_exe, 1134 bison_exe,
1134 ] 1135 ]
1135 1136
1136 deps = make_core_generated_deps 1137 deps = make_core_generated_deps
1137 } 1138 }
OLDNEW
« no previous file with comments | « no previous file | Source/core/accessibility/AXObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698