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