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

Side by Side Diff: gni/v8.gni

Issue 2409133002: [build] Disable incremental linking for cctest and unittests (Closed)
Patch Set: git cl format (ugly) Created 4 years, 2 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 | test/cctest/BUILD.gn » ('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/sanitizers/sanitizers.gni") 5 import("//build/config/sanitizers/sanitizers.gni")
6 import("//build/config/v8_target_cpu.gni") 6 import("//build/config/v8_target_cpu.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.
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 source_set(target_name) { 80 source_set(target_name) {
81 forward_variables_from(invoker, "*", [ "configs" ]) 81 forward_variables_from(invoker, "*", [ "configs" ])
82 configs += invoker.configs 82 configs += invoker.configs
83 configs -= v8_remove_configs 83 configs -= v8_remove_configs
84 configs += v8_add_configs 84 configs += v8_add_configs
85 } 85 }
86 } 86 }
87 87
88 template("v8_executable") { 88 template("v8_executable") {
89 executable(target_name) { 89 executable(target_name) {
90 forward_variables_from(invoker, "*", [ "configs" ]) 90 forward_variables_from(invoker,
91 "*",
92 [
93 "configs",
94 "remove_configs",
95 ])
96 if (defined(invoker.remove_configs)) {
97 configs -= invoker.remove_configs
98 }
91 configs += invoker.configs 99 configs += invoker.configs
92 configs -= v8_remove_configs 100 configs -= v8_remove_configs
93 configs += v8_add_configs 101 configs += v8_add_configs
94 if (is_linux) { 102 if (is_linux) {
95 # For enabling ASLR. 103 # For enabling ASLR.
96 ldflags = [ "-pie" ] 104 ldflags = [ "-pie" ]
97 } 105 }
98 } 106 }
99 } 107 }
100 108
101 template("v8_component") { 109 template("v8_component") {
102 component(target_name) { 110 component(target_name) {
103 forward_variables_from(invoker, "*", [ "configs" ]) 111 forward_variables_from(invoker, "*", [ "configs" ])
104 configs += invoker.configs 112 configs += invoker.configs
105 configs -= v8_remove_configs 113 configs -= v8_remove_configs
106 configs += v8_add_configs 114 configs += v8_add_configs
107 } 115 }
108 } 116 }
OLDNEW
« no previous file with comments | « no previous file | test/cctest/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698