Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(97)

Side by Side Diff: third_party/WebKit/Source/config.gni

Issue 2097433002: gn: add Blink GC plugin options (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add TODO Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/BUILD.gn ('k') | tools/clang/scripts/blink_gc_plugin_flags.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/public/features.gni") 6 import("//third_party/WebKit/public/features.gni")
7 7
8 if (is_android) { 8 if (is_android) {
9 import("//build/config/android/config.gni") 9 import("//build/config/android/config.gni")
10 } 10 }
11 if (current_cpu == "arm") { 11 if (current_cpu == "arm") {
12 import("//build/config/arm.gni") 12 import("//build/config/arm.gni")
13 } 13 }
14 14
15 declare_args() { 15 declare_args() {
16 # Set to true to enable the clang plugin that checks the usage of the Blink
17 # garbage-collection infrastructure during compilation.
18 blink_gc_plugin = true
19
20 # If true, doesn't compile debug symbols into webcore reducing the 16 # If true, doesn't compile debug symbols into webcore reducing the
21 # size of the binary and increasing the speed of gdb. 17 # size of the binary and increasing the speed of gdb.
22 remove_webcore_debug_symbols = false 18 remove_webcore_debug_symbols = false
23 19
24 # If true, enables blink logging macros (WTF_LOG and friends) unconditionally. 20 # If true, enables blink logging macros (WTF_LOG and friends) unconditionally.
25 # When false, blink logging macros are enabled only if assertions are enabled. 21 # When false, blink logging macros are enabled only if assertions are enabled.
26 blink_logging_always_on = false 22 blink_logging_always_on = false
27 23
28 # If true, defaults image interpolation to low quality. 24 # If true, defaults image interpolation to low quality.
29 use_low_quality_image_interpolation = is_android 25 use_low_quality_image_interpolation = is_android
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 } 82 }
87 83
88 # feature_defines_string ------------------------------------------------------- 84 # feature_defines_string -------------------------------------------------------
89 85
90 # Convert the list to a space-separated string for passing to scripts. 86 # Convert the list to a space-separated string for passing to scripts.
91 # This would be the equivalent of passing '<(feature_defines)' in GYP. 87 # This would be the equivalent of passing '<(feature_defines)' in GYP.
92 feature_defines_string = 88 feature_defines_string =
93 exec_script("build/gn_list_to_space_separated_string.py", 89 exec_script("build/gn_list_to_space_separated_string.py",
94 feature_defines_list, 90 feature_defines_list,
95 "trim string") 91 "trim string")
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/BUILD.gn ('k') | tools/clang/scripts/blink_gc_plugin_flags.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698