BUILD.gn 983 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. shared_library("LibTest") {
  2. output_name = "test"
  3. include_dirs = [ "//Userland/Libraries" ]
  4. sources = [
  5. "CrashTest.cpp",
  6. "CrashTest.h",
  7. "Macros.h",
  8. "Randomized/Chunk.h",
  9. "Randomized/Generator.h",
  10. "Randomized/RandomRun.h",
  11. "Randomized/RandomnessSource.h",
  12. "Randomized/Shrink.h",
  13. "Randomized/ShrinkCommand.h",
  14. "Results.h",
  15. "TestCase.h",
  16. "TestRunner.h",
  17. "TestRunnerUtil.h",
  18. "TestSuite.cpp",
  19. "TestSuite.h",
  20. ]
  21. deps = [
  22. "//AK",
  23. "//Userland/Libraries/LibCore",
  24. ]
  25. output_name = "test"
  26. testonly = true
  27. }
  28. source_set("test_main") {
  29. include_dirs = [ "//Userland/Libraries" ]
  30. sources = [ "TestMain.cpp" ]
  31. deps = [ "//AK" ]
  32. public_deps = [ ":LibTest" ]
  33. testonly = true
  34. }
  35. source_set("test_js_main") {
  36. include_dirs = [ "//Userland/Libraries" ]
  37. sources = [
  38. "JavaScriptTestRunner.h",
  39. "JavaScriptTestRunnerMain.cpp",
  40. ]
  41. deps = [ "//AK" ]
  42. public_deps = [ ":LibTest" ]
  43. testonly = true
  44. }