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 2163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2174 } | 2174 } |
2175 | 2175 |
2176 ############################################################################### | 2176 ############################################################################### |
2177 # Executables | 2177 # Executables |
2178 # | 2178 # |
2179 | 2179 |
2180 if (current_toolchain == v8_snapshot_toolchain) { | 2180 if (current_toolchain == v8_snapshot_toolchain) { |
2181 v8_executable("mksnapshot") { | 2181 v8_executable("mksnapshot") { |
2182 visibility = [ ":*" ] # Only targets in this file can depend on this. | 2182 visibility = [ ":*" ] # Only targets in this file can depend on this. |
2183 | 2183 |
| 2184 # This is executed on the host only and doesn't require PIE. |
| 2185 want_pie = false |
| 2186 |
2184 sources = [ | 2187 sources = [ |
2185 "src/snapshot/mksnapshot.cc", | 2188 "src/snapshot/mksnapshot.cc", |
2186 ] | 2189 ] |
2187 | 2190 |
2188 configs = [ ":internal_config" ] | 2191 configs = [ ":internal_config" ] |
2189 | 2192 |
2190 deps = [ | 2193 deps = [ |
2191 ":v8_base", | 2194 ":v8_base", |
2192 ":v8_libplatform", | 2195 ":v8_libplatform", |
2193 ":v8_nosnapshot", | 2196 ":v8_nosnapshot", |
2194 "//build/config/sanitizers:deps", | 2197 "//build/config/sanitizers:deps", |
2195 "//build/win:default_exe_manifest", | 2198 "//build/win:default_exe_manifest", |
2196 ] | 2199 ] |
2197 } | 2200 } |
2198 } | 2201 } |
2199 | 2202 |
2200 v8_executable("mkpeephole") { | 2203 v8_executable("mkpeephole") { |
2201 # mkpeephole needs to be built for the build host so the peephole lookup | 2204 # mkpeephole needs to be built for the build host so the peephole lookup |
2202 # table can built during build. The table depends on the properties of | 2205 # table can built during build. The table depends on the properties of |
2203 # bytecodes that are described in bytecodes.{cc,h}. | 2206 # bytecodes that are described in bytecodes.{cc,h}. |
2204 visibility = [ ":*" ] # Only targets in this file can depend on this. | 2207 visibility = [ ":*" ] # Only targets in this file can depend on this. |
2205 | 2208 |
| 2209 # This is executed on the host only and doesn't require PIE. |
| 2210 want_pie = false |
| 2211 |
2206 sources = [ | 2212 sources = [ |
2207 "src/interpreter/bytecode-peephole-optimizer.h", | 2213 "src/interpreter/bytecode-peephole-optimizer.h", |
2208 "src/interpreter/bytecodes.cc", | 2214 "src/interpreter/bytecodes.cc", |
2209 "src/interpreter/bytecodes.h", | 2215 "src/interpreter/bytecodes.h", |
2210 "src/interpreter/mkpeephole.cc", | 2216 "src/interpreter/mkpeephole.cc", |
2211 ] | 2217 ] |
2212 | 2218 |
2213 configs = [ | 2219 configs = [ |
2214 ":external_config", | 2220 ":external_config", |
2215 ":internal_config", | 2221 ":internal_config", |
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2521 | 2527 |
2522 deps = [ | 2528 deps = [ |
2523 ":fuzzer_support", | 2529 ":fuzzer_support", |
2524 ] | 2530 ] |
2525 | 2531 |
2526 configs = [ ":internal_config" ] | 2532 configs = [ ":internal_config" ] |
2527 } | 2533 } |
2528 | 2534 |
2529 v8_fuzzer("wasm_asmjs_fuzzer") { | 2535 v8_fuzzer("wasm_asmjs_fuzzer") { |
2530 } | 2536 } |
OLD | NEW |