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 |
| 10 # swarming. |
| 11 v8_has_valgrind = false |
| 12 |
9 # Turns on compiler optimizations in V8 in Debug build. | 13 # Turns on compiler optimizations in V8 in Debug build. |
10 v8_optimized_debug = true | 14 v8_optimized_debug = true |
11 | 15 |
12 # Enable the snapshot feature, for fast context creation. | 16 # Enable the snapshot feature, for fast context creation. |
13 # http://v8project.blogspot.com/2015/09/custom-startup-snapshots.html | 17 # http://v8project.blogspot.com/2015/09/custom-startup-snapshots.html |
14 v8_use_snapshot = true | 18 v8_use_snapshot = true |
15 | 19 |
16 # Use external files for startup data blobs: | 20 # Use external files for startup data blobs: |
17 # the JS builtins sources and the start snapshot. | 21 # the JS builtins sources and the start snapshot. |
18 v8_use_external_startup_data = !is_ios | 22 v8_use_external_startup_data = !is_ios |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 } | 74 } |
71 | 75 |
72 template("v8_component") { | 76 template("v8_component") { |
73 component(target_name) { | 77 component(target_name) { |
74 forward_variables_from(invoker, "*", [ "configs" ]) | 78 forward_variables_from(invoker, "*", [ "configs" ]) |
75 configs += invoker.configs | 79 configs += invoker.configs |
76 configs -= remove_configs | 80 configs -= remove_configs |
77 configs += add_configs | 81 configs += add_configs |
78 } | 82 } |
79 } | 83 } |
OLD | NEW |