| 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 14 matching lines...) Expand all Loading... |
| 25 if (is_debug || !is_win || !is_official_build) { | 25 if (is_debug || !is_win || !is_official_build) { |
| 26 # NOP. | 26 # NOP. |
| 27 core_config_add = [] | 27 core_config_add = [] |
| 28 core_config_remove = [] | 28 core_config_remove = [] |
| 29 } else { | 29 } else { |
| 30 core_config_remove = [ "//build/config/compiler:default_optimization" ] | 30 core_config_remove = [ "//build/config/compiler:default_optimization" ] |
| 31 core_config_add = [ "//build/config/compiler:optimize_max" ] | 31 core_config_add = [ "//build/config/compiler:optimize_max" ] |
| 32 } | 32 } |
| 33 | 33 |
| 34 # Core targets also get wexit time destructors. | 34 # Core targets also get wexit time destructors. |
| 35 core_config_add += [ "//build/config/compiler:wexit_time_destructors" ] | 35 core_config_add += [ |
| 36 "//build/config/compiler:wexit_time_destructors", |
| 37 "//third_party/WebKit/Source:non_test_config", |
| 38 ] |
| 36 | 39 |
| 37 if (remove_webcore_debug_symbols) { | 40 if (remove_webcore_debug_symbols) { |
| 38 core_config_remove += [ "//build/config/compiler:default_symbols" ] | 41 core_config_remove += [ "//build/config/compiler:default_symbols" ] |
| 39 core_config_add += [ "//build/config/compiler:no_symbols" ] | 42 core_config_add += [ "//build/config/compiler:no_symbols" ] |
| 40 } | 43 } |
| 41 | 44 |
| 42 # Config for code that builds as part of core. | 45 # Config for code that builds as part of core. |
| 43 config("config") { | 46 config("config") { |
| 44 defines = [ "BLINK_CORE_IMPLEMENTATION=1" ] | 47 defines = [ "BLINK_CORE_IMPLEMENTATION=1" ] |
| 45 | 48 |
| (...skipping 1031 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1077 "$blink_core_output_dir/{{source_name_part}}.h", | 1080 "$blink_core_output_dir/{{source_name_part}}.h", |
| 1078 ] | 1081 ] |
| 1079 args = [ | 1082 args = [ |
| 1080 "{{source}}", | 1083 "{{source}}", |
| 1081 rel_blink_core_gen_dir, | 1084 rel_blink_core_gen_dir, |
| 1082 bison_exe, | 1085 bison_exe, |
| 1083 ] | 1086 ] |
| 1084 | 1087 |
| 1085 deps = make_core_generated_deps | 1088 deps = make_core_generated_deps |
| 1086 } | 1089 } |
| OLD | NEW |