| 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("config.gni") | 5 import("config.gni") |
| 6 if (is_clang) { | 6 if (is_clang) { |
| 7 import("//build/config/clang/clang.gni") | 7 import("//build/config/clang/clang.gni") |
| 8 } | 8 } |
| 9 | 9 |
| 10 visibility = [ "//third_party/WebKit/*" ] | 10 visibility = [ "//third_party/WebKit/*" ] |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 blink_gc_plugin_option_do_dump_graph = false | 21 blink_gc_plugin_option_do_dump_graph = false |
| 22 | 22 |
| 23 # Set to true to have the clang Blink GC plugin additionally check if | 23 # Set to true to have the clang Blink GC plugin additionally check if |
| 24 # a class has an empty destructor which would be unnecessarily invoked | 24 # a class has an empty destructor which would be unnecessarily invoked |
| 25 # when finalized. | 25 # when finalized. |
| 26 blink_gc_plugin_option_warn_unneeded_finalizer = false | 26 blink_gc_plugin_option_warn_unneeded_finalizer = false |
| 27 | 27 |
| 28 # Set to true to have the clang Blink GC plugin use Chromium-style naming | 28 # Set to true to have the clang Blink GC plugin use Chromium-style naming |
| 29 # rather than legacy Blink name. | 29 # rather than legacy Blink name. |
| 30 # TODO(https://crbug.com/675879): Remove this option after the Blink rename. | 30 # TODO(https://crbug.com/675879): Remove this option after the Blink rename. |
| 31 blink_gc_plugin_option_use_chromium_style_naming = false | 31 blink_gc_plugin_option_use_chromium_style_naming = true |
| 32 } | 32 } |
| 33 | 33 |
| 34 # features --------------------------------------------------------------------- | 34 # features --------------------------------------------------------------------- |
| 35 | 35 |
| 36 config("features") { | 36 config("features") { |
| 37 defines = feature_defines_list | 37 defines = feature_defines_list |
| 38 } | 38 } |
| 39 | 39 |
| 40 # inside_blink ----------------------------------------------------------------- | 40 # inside_blink ----------------------------------------------------------------- |
| 41 | 41 |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 | 163 |
| 164 # The follow configs apply to all targets except for unit tests, which rely on | 164 # The follow configs apply to all targets except for unit tests, which rely on |
| 165 # static initializers. | 165 # static initializers. |
| 166 config("non_test_config") { | 166 config("non_test_config") { |
| 167 cflags = [] | 167 cflags = [] |
| 168 | 168 |
| 169 if (is_clang) { | 169 if (is_clang) { |
| 170 cflags += [ "-Wglobal-constructors" ] | 170 cflags += [ "-Wglobal-constructors" ] |
| 171 } | 171 } |
| 172 } | 172 } |
| OLD | NEW |