BUILD.gn 1.5 KB

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