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/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 Loading... |
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") |
OLD | NEW |