You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

BUILD 665B

1234567891011121314151617181920212223242526272829
  1. load(
  2. "@com_googlesource_gerrit_bazlets//tools:genrule2.bzl",
  3. "genrule2",
  4. )
  5. load(
  6. "@com_googlesource_gerrit_bazlets//tools:junit.bzl",
  7. "junit_tests",
  8. )
  9. junit_tests(
  10. name = "bc",
  11. srcs = glob(["tst/**/*.java"]),
  12. resource_jars = [":tst_rsrc"],
  13. tags = ["bc"],
  14. deps = [
  15. "//lib:bcpg",
  16. "//lib:bcprov",
  17. "//lib:junit",
  18. "//org.eclipse.jgit.gpg.bc:gpg-bc",
  19. "//org.eclipse.jgit:jgit",
  20. ],
  21. )
  22. genrule2(
  23. name = "tst_rsrc",
  24. srcs = glob(["tst-rsrc/**"]),
  25. outs = ["tst_rsrc.jar"],
  26. cmd = "tar cf - $(SRCS) | tar -C $$TMP --strip-components=2 -xf - && cd $$TMP && zip -qr $$ROOT/$@ .",
  27. )