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/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 Loading... |
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 Loading... |
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 } |
OLD | NEW |