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

Side by Side Diff: gni/v8.gni

Issue 2175193003: Remove NaCl support. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix Created 4 years, 4 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 | « Makefile.nacl ('k') | gypfiles/toolchain.gypi » ('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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 ] 56 ]
57 57
58 if (is_debug && !v8_optimized_debug) { 58 if (is_debug && !v8_optimized_debug) {
59 v8_remove_configs += [ "//build/config/compiler:default_optimization" ] 59 v8_remove_configs += [ "//build/config/compiler:default_optimization" ]
60 v8_add_configs += [ "//build/config/compiler:no_optimize" ] 60 v8_add_configs += [ "//build/config/compiler:no_optimize" ]
61 } else { 61 } else {
62 v8_remove_configs += [ "//build/config/compiler:default_optimization" ] 62 v8_remove_configs += [ "//build/config/compiler:default_optimization" ]
63 63
64 # TODO(crbug.com/621335) Rework this so that we don't have the confusion 64 # TODO(crbug.com/621335) Rework this so that we don't have the confusion
65 # between "optimize_speed" and "optimize_max". 65 # between "optimize_speed" and "optimize_max".
66 if (is_posix && !is_android && !is_nacl && !using_sanitizer) { 66 if (is_posix && !is_android && !using_sanitizer) {
67 v8_add_configs += [ "//build/config/compiler:optimize_speed" ] 67 v8_add_configs += [ "//build/config/compiler:optimize_speed" ]
68 } else { 68 } else {
69 v8_add_configs += [ "//build/config/compiler:optimize_max" ] 69 v8_add_configs += [ "//build/config/compiler:optimize_max" ]
70 } 70 }
71 } 71 }
72 72
73 if (is_posix && v8_enable_backtrace) { 73 if (is_posix && v8_enable_backtrace) {
74 v8_remove_configs += [ "//build/config/gcc:symbol_visibility_hidden" ] 74 v8_remove_configs += [ "//build/config/gcc:symbol_visibility_hidden" ]
75 v8_add_configs += [ "//build/config/gcc:symbol_visibility_default" ] 75 v8_add_configs += [ "//build/config/gcc:symbol_visibility_default" ]
76 } 76 }
(...skipping 22 matching lines...) Expand all
99 } 99 }
100 100
101 template("v8_component") { 101 template("v8_component") {
102 component(target_name) { 102 component(target_name) {
103 forward_variables_from(invoker, "*", [ "configs" ]) 103 forward_variables_from(invoker, "*", [ "configs" ])
104 configs += invoker.configs 104 configs += invoker.configs
105 configs -= v8_remove_configs 105 configs -= v8_remove_configs
106 configs += v8_add_configs 106 configs += v8_add_configs
107 } 107 }
108 } 108 }
OLDNEW
« no previous file with comments | « Makefile.nacl ('k') | gypfiles/toolchain.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698