David Ostrovsky | 31c55ab | 2017-12-16 09:45:33 +0100 | [diff] [blame] | 1 | load("//tools:genrule2.bzl", "genrule2") |
| 2 | load("//tools/bzl:plugin.bzl", "PLUGIN_TEST_DEPS") |
David Ostrovsky | 83d86a2 | 2020-01-28 19:32:04 +0100 | [diff] [blame] | 3 | load("//owners-common:common.bzl", "EXTERNAL_DEPS", "EXTERNAL_TEST_DEPS") |
David Ostrovsky | 31c55ab | 2017-12-16 09:45:33 +0100 | [diff] [blame] | 4 | |
| 5 | genrule2( |
| 6 | name = "all", |
| 7 | srcs = [ |
| 8 | "//owners", |
| 9 | "//owners-autoassign", |
| 10 | "//owners-common", |
| 11 | ], |
| 12 | outs = ["all.zip"], |
| 13 | cmd = " && ".join([ |
| 14 | "cp $(SRCS) $$TMP", |
| 15 | "cd $$TMP", |
| 16 | "zip -qr $$ROOT/$@ .", |
| 17 | ]), |
| 18 | ) |
| 19 | |
| 20 | java_library( |
| 21 | name = "owners_classpath_deps", |
| 22 | testonly = 1, |
| 23 | visibility = ["//visibility:public"], |
David Ostrovsky | 83d86a2 | 2020-01-28 19:32:04 +0100 | [diff] [blame] | 24 | exports = EXTERNAL_DEPS + EXTERNAL_TEST_DEPS + PLUGIN_TEST_DEPS + [ |
David Ostrovsky | 31c55ab | 2017-12-16 09:45:33 +0100 | [diff] [blame] | 25 | "//owners:owners__plugin", |
| 26 | "//owners-autoassign:owners-autoassign__plugin", |
| 27 | "//owners-common:owners-common__plugin", |
| 28 | ], |
| 29 | ) |