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/*" ] |
11 | 11 |
12 # arguments -------------------------------------------------------------------- | 12 # arguments -------------------------------------------------------------------- |
13 | 13 |
14 declare_args() { | 14 declare_args() { |
15 # Set to true to enable the clang plugin that checks the usage of the Blink | 15 # Set to true to enable the clang plugin that checks the usage of the Blink |
16 # garbage-collection infrastructure during compilation. | 16 # garbage-collection infrastructure during compilation. |
17 blink_gc_plugin = true | 17 blink_gc_plugin = true |
18 | 18 |
19 # Set to true to have the clang Blink GC plugin emit class graph (in JSON) | 19 # Set to true to have the clang Blink GC plugin emit class graph (in JSON) |
20 # with typed pointer edges; for debugging or other (internal) uses. | 20 # with typed pointer edges; for debugging or other (internal) uses. |
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. |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 } | 124 } |
125 } | 125 } |
126 | 126 |
127 if (is_mac) { | 127 if (is_mac) { |
128 # This sets up precompiled headers for Mac. | 128 # This sets up precompiled headers for Mac. |
129 config("mac_precompiled_headers") { | 129 config("mac_precompiled_headers") { |
130 precompiled_header = rebase_path("build/mac/Prefix.h", root_build_dir) | 130 precompiled_header = rebase_path("build/mac/Prefix.h", root_build_dir) |
131 precompiled_source = "//third_party/WebKit/Source/build/mac/Prefix.h" | 131 precompiled_source = "//third_party/WebKit/Source/build/mac/Prefix.h" |
132 } | 132 } |
133 } | 133 } |
OLD | NEW |