11cb0ef41Sopenharmony_ci# Copyright 2016 the V8 project authors. All rights reserved. 21cb0ef41Sopenharmony_ci# Use of this source code is governed by a BSD-style license that can be 31cb0ef41Sopenharmony_ci# found in the LICENSE file. 41cb0ef41Sopenharmony_ci 51cb0ef41Sopenharmony_ciimport("//build/config/sanitizers/sanitizers.gni") 61cb0ef41Sopenharmony_ciimport("../gni/v8.gni") 71cb0ef41Sopenharmony_ci 81cb0ef41Sopenharmony_cigroup("gn_all") { 91cb0ef41Sopenharmony_ci testonly = true 101cb0ef41Sopenharmony_ci 111cb0ef41Sopenharmony_ci data_deps = [ 121cb0ef41Sopenharmony_ci ":v8_check_static_initializers", 131cb0ef41Sopenharmony_ci "debug_helper:v8_debug_helper", 141cb0ef41Sopenharmony_ci "gcmole:v8_gcmole_files", 151cb0ef41Sopenharmony_ci "jsfunfuzz:v8_jsfunfuzz", 161cb0ef41Sopenharmony_ci ] 171cb0ef41Sopenharmony_ci 181cb0ef41Sopenharmony_ci if (is_win) { 191cb0ef41Sopenharmony_ci data_deps += [ "v8windbg" ] 201cb0ef41Sopenharmony_ci } 211cb0ef41Sopenharmony_ci} 221cb0ef41Sopenharmony_ci 231cb0ef41Sopenharmony_cigroup("v8_check_static_initializers") { 241cb0ef41Sopenharmony_ci data_deps = [ "..:d8" ] 251cb0ef41Sopenharmony_ci 261cb0ef41Sopenharmony_ci data = [ "check-static-initializers.sh" ] 271cb0ef41Sopenharmony_ci} 281cb0ef41Sopenharmony_ci 291cb0ef41Sopenharmony_cigroup("v8_android_test_runner_deps") { 301cb0ef41Sopenharmony_ci testonly = true 311cb0ef41Sopenharmony_ci 321cb0ef41Sopenharmony_ci if (is_android && !build_with_chromium) { 331cb0ef41Sopenharmony_ci data_deps = [ "//build/android:test_runner_py" ] 341cb0ef41Sopenharmony_ci data = [ 351cb0ef41Sopenharmony_ci # This is used by android.py, but not included by test_runner_py above. 361cb0ef41Sopenharmony_ci "//third_party/catapult/devil/devil/android/perf/", 371cb0ef41Sopenharmony_ci ] 381cb0ef41Sopenharmony_ci } 391cb0ef41Sopenharmony_ci} 401cb0ef41Sopenharmony_ci 411cb0ef41Sopenharmony_cigroup("v8_testrunner") { 421cb0ef41Sopenharmony_ci testonly = true 431cb0ef41Sopenharmony_ci 441cb0ef41Sopenharmony_ci data_deps = [ 451cb0ef41Sopenharmony_ci ":v8_android_test_runner_deps", 461cb0ef41Sopenharmony_ci "..:v8_dump_build_config", 471cb0ef41Sopenharmony_ci "..:v8_python_base", 481cb0ef41Sopenharmony_ci ] 491cb0ef41Sopenharmony_ci 501cb0ef41Sopenharmony_ci data = [ 511cb0ef41Sopenharmony_ci # Also add the num-fuzzer wrapper script in order to be able to run the 521cb0ef41Sopenharmony_ci # num-fuzzer on all existing isolated V8 test suites. 531cb0ef41Sopenharmony_ci "predictable_wrapper.py", 541cb0ef41Sopenharmony_ci "run-num-fuzzer.py", 551cb0ef41Sopenharmony_ci "run-tests.py", 561cb0ef41Sopenharmony_ci "testrunner/", 571cb0ef41Sopenharmony_ci ] 581cb0ef41Sopenharmony_ci 591cb0ef41Sopenharmony_ci if (v8_code_coverage && sanitizer_coverage_flags == "bb,trace-pc-guard") { 601cb0ef41Sopenharmony_ci data += [ 611cb0ef41Sopenharmony_ci "sanitizers/sancov_merger.py", 621cb0ef41Sopenharmony_ci "../third_party/llvm/projects/compiler-rt/lib/sanitizer_common/scripts/sancov.py", 631cb0ef41Sopenharmony_ci ] 641cb0ef41Sopenharmony_ci } 651cb0ef41Sopenharmony_ci} 66