| 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/chrome_build.gni") | 5 import("//build/config/chrome_build.gni") |
| 6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
| 7 import("//third_party/WebKit/Source/bindings/bindings.gni") | 7 import("//third_party/WebKit/Source/bindings/bindings.gni") |
| 8 import("//third_party/WebKit/Source/bindings/core/v8/generated.gni") | 8 import("//third_party/WebKit/Source/bindings/core/v8/generated.gni") |
| 9 import("//third_party/WebKit/Source/bindings/modules/modules.gni") | 9 import("//third_party/WebKit/Source/bindings/modules/modules.gni") |
| 10 import("//third_party/WebKit/Source/bindings/modules/v8/generated.gni") | 10 import("//third_party/WebKit/Source/bindings/modules/v8/generated.gni") |
| (...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 465 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 465 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 466 "//build/config/compiler:no_size_t_to_int_warning", | 466 "//build/config/compiler:no_size_t_to_int_warning", |
| 467 ] | 467 ] |
| 468 include_dirs = [ | 468 include_dirs = [ |
| 469 "$root_gen_dir/blink", | 469 "$root_gen_dir/blink", |
| 470 ] | 470 ] |
| 471 | 471 |
| 472 cflags = [] | 472 cflags = [] |
| 473 defines = [] | 473 defines = [] |
| 474 | 474 |
| 475 if (is_win && component_mode == "shared_library") { | 475 if (is_win && is_component_build) { |
| 476 defines += [ "USING_V8_SHARED" ] | 476 defines += [ "USING_V8_SHARED" ] |
| 477 } | 477 } |
| 478 | 478 |
| 479 if (is_win) { | 479 if (is_win) { |
| 480 cflags += [ | 480 cflags += [ |
| 481 # In generated bindings code: "switch contains default but no case". | 481 # In generated bindings code: "switch contains default but no case". |
| 482 # 4701 and 4702 are disabled because of issues in Bison-generated | 482 # 4701 and 4702 are disabled because of issues in Bison-generated |
| 483 # XPathGrammar.cpp. | 483 # XPathGrammar.cpp. |
| 484 "/wd4065", | 484 "/wd4065", |
| 485 "/wd4701", | 485 "/wd4701", |
| (...skipping 554 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1040 "$blink_core_output_dir/{{source_name_part}}.h", | 1040 "$blink_core_output_dir/{{source_name_part}}.h", |
| 1041 ] | 1041 ] |
| 1042 args = [ | 1042 args = [ |
| 1043 "{{source}}", | 1043 "{{source}}", |
| 1044 rel_blink_core_gen_dir, | 1044 rel_blink_core_gen_dir, |
| 1045 bison_exe, | 1045 bison_exe, |
| 1046 ] | 1046 ] |
| 1047 | 1047 |
| 1048 deps = make_core_generated_deps | 1048 deps = make_core_generated_deps |
| 1049 } | 1049 } |
| OLD | NEW |