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 | 7 |
7 if (is_android) { | 8 if (is_android) { |
8 import("//build/config/android/config.gni") | 9 import("//build/config/android/config.gni") |
9 } else { | 10 } else { |
10 # TODO(brettw) remove this once && early-out is checked in. | 11 # TODO(brettw) remove this once && early-out is checked in. |
11 is_android_webview_build = false | 12 is_android_webview_build = false |
12 } | 13 } |
13 if (cpu_arch == "arm") { | 14 if (cpu_arch == "arm") { |
14 import("//build/config/arm.gni") | 15 import("//build/config/arm.gni") |
15 } else { | 16 } else { |
16 # TODO(brettw) remove this once && early-out is checked in. | 17 # TODO(brettw) remove this once && early-out is checked in. |
17 arm_version = 0 | 18 arm_version = 0 |
18 } | 19 } |
19 | 20 |
20 declare_args() { | 21 declare_args() { |
21 # Enables the Oilpan garbage-collection infrastructure. | |
22 enable_oilpan = false | |
23 | |
24 # Set to true to enable the clang plugin that checks the usage of the Blink | 22 # Set to true to enable the clang plugin that checks the usage of the Blink |
25 # garbage-collection infrastructure during compilation. | 23 # garbage-collection infrastructure during compilation. |
26 blink_gc_plugin = false | 24 blink_gc_plugin = false |
27 blink_gc_plugin_dump_graph = false | 25 blink_gc_plugin_dump_graph = false |
28 | 26 |
29 blink_asserts_always_on = false | 27 blink_asserts_always_on = false |
30 } | 28 } |
31 | 29 |
32 use_default_render_theme = use_aura | 30 use_default_render_theme = use_aura |
33 | 31 |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 } | 93 } |
96 | 94 |
97 # feature_defines_string ------------------------------------------------------- | 95 # feature_defines_string ------------------------------------------------------- |
98 | 96 |
99 # Convert the list to a space-separated string for passing to scripts. | 97 # Convert the list to a space-separated string for passing to scripts. |
100 # This would be the equivalent of passing '<(feature_defines)' in GYP. | 98 # This would be the equivalent of passing '<(feature_defines)' in GYP. |
101 feature_defines_string = exec_script( | 99 feature_defines_string = exec_script( |
102 "build/gn_list_to_space_separated_string.py", | 100 "build/gn_list_to_space_separated_string.py", |
103 feature_defines_list, | 101 feature_defines_list, |
104 "trim string") | 102 "trim string") |
OLD | NEW |