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 "gcmole:v8_run_gcmole", 14 "jsfunfuzz:v8_jsfunfuzz", 15 ] 16} 17 18group("v8_check_static_initializers") { 19 data_deps = [ 20 "..:d8", 21 ] 22 23 data = [ 24 "check-static-initializers.sh", 25 ] 26} 27 28group("v8_android_test_runner_deps") { 29 testonly = true 30 31 if (is_android && !build_with_chromium) { 32 data_deps = [ 33 "../build/android:test_runner_py", 34 ] 35 data = [ 36 # This is used by android.py, but not included by test_runner_py above. 37 "../third_party/catapult/devil/devil/android/perf/", 38 ] 39 } 40} 41 42group("v8_testrunner") { 43 testonly = true 44 45 data_deps = [ 46 "..:v8_dump_build_config", 47 ":v8_android_test_runner_deps", 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 "run-num-fuzzer.py", 54 "run-tests.py", 55 "testrunner/", 56 ] 57 58 if (v8_code_coverage && sanitizer_coverage_flags == "bb,trace-pc-guard") { 59 data += [ 60 "sanitizers/sancov_merger.py", 61 "../third_party/llvm/projects/compiler-rt/lib/sanitizer_common/scripts/sancov.py", 62 ] 63 } 64} 65