OLD | NEW |
1 # Copyright 2016 the V8 project authors. All rights reserved. | 1 # Copyright 2016 the V8 project 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/v8_target_cpu.gni") | 5 import("//build/config/v8_target_cpu.gni") |
6 import("//build/config/sanitizers/sanitizers.gni") | 6 import("//build/config/sanitizers/sanitizers.gni") |
7 | 7 |
8 declare_args() { | 8 declare_args() { |
9 # Indicate if valgrind was fetched as a custom deps to make it available on | 9 # Indicate if valgrind was fetched as a custom deps to make it available on |
10 # swarming. | 10 # swarming. |
11 v8_has_valgrind = false | 11 v8_has_valgrind = false |
12 | 12 |
| 13 # Indicate if gcmole was fetched as a hook to make it available on swarming. |
| 14 v8_gcmole = false |
| 15 |
13 # Turns on compiler optimizations in V8 in Debug build. | 16 # Turns on compiler optimizations in V8 in Debug build. |
14 v8_optimized_debug = true | 17 v8_optimized_debug = true |
15 | 18 |
16 # Enable the snapshot feature, for fast context creation. | 19 # Enable the snapshot feature, for fast context creation. |
17 # http://v8project.blogspot.com/2015/09/custom-startup-snapshots.html | 20 # http://v8project.blogspot.com/2015/09/custom-startup-snapshots.html |
18 v8_use_snapshot = true | 21 v8_use_snapshot = true |
19 | 22 |
20 # Use external files for startup data blobs: | 23 # Use external files for startup data blobs: |
21 # the JS builtins sources and the start snapshot. | 24 # the JS builtins sources and the start snapshot. |
22 v8_use_external_startup_data = !is_ios | 25 v8_use_external_startup_data = !is_ios |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 } | 77 } |
75 | 78 |
76 template("v8_component") { | 79 template("v8_component") { |
77 component(target_name) { | 80 component(target_name) { |
78 forward_variables_from(invoker, "*", [ "configs" ]) | 81 forward_variables_from(invoker, "*", [ "configs" ]) |
79 configs += invoker.configs | 82 configs += invoker.configs |
80 configs -= remove_configs | 83 configs -= remove_configs |
81 configs += add_configs | 84 configs += add_configs |
82 } | 85 } |
83 } | 86 } |
OLD | NEW |