OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium 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/android/config.gni") | 5 import("//build/config/android/config.gni") |
6 import("//build/config/arm.gni") | 6 import("//build/config/arm.gni") |
7 import("//build/config/dcheck_always_on.gni") | 7 import("//build/config/dcheck_always_on.gni") |
8 import("//build/config/mips.gni") | 8 import("//build/config/mips.gni") |
9 import("//build/config/sanitizers/sanitizers.gni") | 9 import("//build/config/sanitizers/sanitizers.gni") |
10 | 10 |
(...skipping 2153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2164 } | 2164 } |
2165 | 2165 |
2166 ############################################################################### | 2166 ############################################################################### |
2167 # Executables | 2167 # Executables |
2168 # | 2168 # |
2169 | 2169 |
2170 if (current_toolchain == v8_snapshot_toolchain) { | 2170 if (current_toolchain == v8_snapshot_toolchain) { |
2171 v8_executable("mksnapshot") { | 2171 v8_executable("mksnapshot") { |
2172 visibility = [ ":*" ] # Only targets in this file can depend on this. | 2172 visibility = [ ":*" ] # Only targets in this file can depend on this. |
2173 | 2173 |
| 2174 # This is executed on the host only and doesn't require PIE. |
| 2175 want_pie = false |
| 2176 |
2174 sources = [ | 2177 sources = [ |
2175 "src/snapshot/mksnapshot.cc", | 2178 "src/snapshot/mksnapshot.cc", |
2176 ] | 2179 ] |
2177 | 2180 |
2178 configs = [ ":internal_config" ] | 2181 configs = [ ":internal_config" ] |
2179 | 2182 |
2180 deps = [ | 2183 deps = [ |
2181 ":v8_base", | 2184 ":v8_base", |
2182 ":v8_libplatform", | 2185 ":v8_libplatform", |
2183 ":v8_nosnapshot", | 2186 ":v8_nosnapshot", |
2184 "//build/config/sanitizers:deps", | 2187 "//build/config/sanitizers:deps", |
2185 "//build/win:default_exe_manifest", | 2188 "//build/win:default_exe_manifest", |
2186 ] | 2189 ] |
2187 } | 2190 } |
2188 } | 2191 } |
2189 | 2192 |
2190 v8_executable("mkpeephole") { | 2193 v8_executable("mkpeephole") { |
2191 # mkpeephole needs to be built for the build host so the peephole lookup | 2194 # mkpeephole needs to be built for the build host so the peephole lookup |
2192 # table can built during build. The table depends on the properties of | 2195 # table can built during build. The table depends on the properties of |
2193 # bytecodes that are described in bytecodes.{cc,h}. | 2196 # bytecodes that are described in bytecodes.{cc,h}. |
2194 visibility = [ ":*" ] # Only targets in this file can depend on this. | 2197 visibility = [ ":*" ] # Only targets in this file can depend on this. |
2195 | 2198 |
| 2199 # This is executed on the host only and doesn't require PIE. |
| 2200 want_pie = false |
| 2201 |
2196 sources = [ | 2202 sources = [ |
2197 "src/interpreter/bytecode-peephole-optimizer.h", | 2203 "src/interpreter/bytecode-peephole-optimizer.h", |
2198 "src/interpreter/bytecodes.cc", | 2204 "src/interpreter/bytecodes.cc", |
2199 "src/interpreter/bytecodes.h", | 2205 "src/interpreter/bytecodes.h", |
2200 "src/interpreter/mkpeephole.cc", | 2206 "src/interpreter/mkpeephole.cc", |
2201 ] | 2207 ] |
2202 | 2208 |
2203 configs = [ | 2209 configs = [ |
2204 ":external_config", | 2210 ":external_config", |
2205 ":internal_config", | 2211 ":internal_config", |
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2511 | 2517 |
2512 deps = [ | 2518 deps = [ |
2513 ":fuzzer_support", | 2519 ":fuzzer_support", |
2514 ] | 2520 ] |
2515 | 2521 |
2516 configs = [ ":internal_config" ] | 2522 configs = [ ":internal_config" ] |
2517 } | 2523 } |
2518 | 2524 |
2519 v8_fuzzer("wasm_asmjs_fuzzer") { | 2525 v8_fuzzer("wasm_asmjs_fuzzer") { |
2520 } | 2526 } |
OLD | NEW |