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

Side by Side Diff: gni/v8.gni

Issue 2126843002: Reland of [gn] Switch more linux32 bots to gn (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase Created 4 years, 5 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 | « no previous file | infra/mb/mb_config.pyl » ('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 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. 13 # Indicate if gcmole was fetched as a hook to make it available on swarming.
14 v8_gcmole = false 14 v8_gcmole = false
15 15
16 # Turns on compiler optimizations in V8 in Debug build. 16 # Turns on compiler optimizations in V8 in Debug build.
17 v8_optimized_debug = true 17 v8_optimized_debug = true
18 18
19 # Enable the snapshot feature, for fast context creation. 19 # Enable the snapshot feature, for fast context creation.
20 # http://v8project.blogspot.com/2015/09/custom-startup-snapshots.html 20 # http://v8project.blogspot.com/2015/09/custom-startup-snapshots.html
21 v8_use_snapshot = true 21 v8_use_snapshot = true
22 22
23 # Use external files for startup data blobs: 23 # Use external files for startup data blobs:
24 # the JS builtins sources and the start snapshot. 24 # the JS builtins sources and the start snapshot.
25 v8_use_external_startup_data = !is_ios 25 v8_use_external_startup_data = ""
26 }
27
28 if (v8_use_external_startup_data == "") {
29 # If not specified as a gn arg, use external startup data by default if
30 # a snapshot is used and if we're not on ios.
31 v8_use_external_startup_data = v8_use_snapshot && !is_ios
26 } 32 }
27 33
28 ############################################################################### 34 ###############################################################################
29 # Templates 35 # Templates
30 # 36 #
31 37
32 # Points to // in v8 stand-alone or to //v8/ in chromium. We need absolute 38 # Points to // in v8 stand-alone or to //v8/ in chromium. We need absolute
33 # paths for all configs in templates as they are shared in different 39 # paths for all configs in templates as they are shared in different
34 # subdirectories. 40 # subdirectories.
35 path_prefix = get_path_info("../", "abspath") 41 path_prefix = get_path_info("../", "abspath")
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 } 83 }
78 84
79 template("v8_component") { 85 template("v8_component") {
80 component(target_name) { 86 component(target_name) {
81 forward_variables_from(invoker, "*", [ "configs" ]) 87 forward_variables_from(invoker, "*", [ "configs" ])
82 configs += invoker.configs 88 configs += invoker.configs
83 configs -= remove_configs 89 configs -= remove_configs
84 configs += add_configs 90 configs += add_configs
85 } 91 }
86 } 92 }
OLDNEW
« no previous file with comments | « no previous file | infra/mb/mb_config.pyl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698