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 3# found in the LICENSE file. 4 5import("//build/config/sanitizers/sanitizers.gni") 6import("../gni/v8.gni") 7 8group("gn_all") { 9 testonly = true 10 11 data_deps = [ 12 ":v8_check_static_initializers", 13 "debug_helper:v8_debug_helper", 14 "gcmole:v8_gcmole_files", 15 "jsfunfuzz:v8_jsfunfuzz", 16 ] 17 18 if (is_win) { 19 data_deps += [ "v8windbg" ] 20 } 21} 22 23group("v8_check_static_initializers") { 24 data_deps = [ "..:d8" ] 25 26 data = [ "check-static-initializers.sh" ] 27} 28 29group("v8_android_test_runner_deps") { 30 testonly = true 31 32 if (is_android && !build_with_chromium) { 33 data_deps = [ "//build/android:test_runner_py" ] 34 data = [ 35 # This is used by android.py, but not included by test_runner_py above. 36 "//third_party/catapult/devil/devil/android/perf/", 37 ] 38 } 39} 40 41group("v8_testrunner") { 42 testonly = true 43 44 data_deps = [ 45 ":v8_android_test_runner_deps", 46 "..:v8_dump_build_config", 47 "..:v8_python_base", 48 ] 49 50 data = [ 51 # Also add the num-fuzzer wrapper script in order to be able to run the 52 # num-fuzzer on all existing isolated V8 test suites. 53 "predictable_wrapper.py", 54 "run-num-fuzzer.py", 55 "run-tests.py", 56 "testrunner/", 57 ] 58 59 if (v8_code_coverage && sanitizer_coverage_flags == "bb,trace-pc-guard") { 60 data += [ 61 "sanitizers/sancov_merger.py", 62 "../third_party/llvm/projects/compiler-rt/lib/sanitizer_common/scripts/sancov.py", 63 ] 64 } 65} 66