Skip to content

Commit

Permalink
Split test-deps into deps with and without bazel.
Browse files Browse the repository at this point in the history
This refactoring is necessary to test with the minified version of
bazel, see #6314.

RELNOTES: None

Closes #6944.

PiperOrigin-RevId: 225825275
  • Loading branch information
meisterT authored and Copybara-Service committed Dec 17, 2018
1 parent 52212fa commit f47d958
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions src/test/shell/bazel/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,30 @@ genrule(
filegroup(
name = "test-deps",
testonly = 1,
srcs = [
":test-deps-wo-bazel",
"//src:bazel",
"//src/test/shell:bin/bazel",
],
visibility = [
"//src/test/shell:__subpackages__",
"//src/tools/package_printer/java/com/google/devtools/build/packageprinter:__pkg__",
],
)

filegroup(
name = "test-deps-wo-bazel",
testonly = 1,
srcs = [
"remote_helpers.sh",
"testing_server.py",
":langtools-copy",
"//examples:srcs",
"//src:bazel",
"//src/java_tools/buildjar/java/com/google/devtools/build/buildjar/genclass:GenClass_deploy.jar",
"//src/java_tools/junitrunner/java/com/google/testing/junit/runner:Runner_deploy.jar",
"//src/main/tools:linux-sandbox",
"//src/main/tools:process-wrapper",
"//src/test/shell:bashunit",
"//src/test/shell:bin/bazel",
"//src/test/shell:integration_test_setup.sh",
"//src/test/shell:testenv.sh",
"//src/tools/singlejar",
Expand All @@ -44,10 +56,6 @@ filegroup(
"@bazel_skylib//:test_deps",
"@bazel_tools//tools/jdk:current_java_runtime",
],
visibility = [
"//src/test/shell:__subpackages__",
"//src/tools/package_printer/java/com/google/devtools/build/packageprinter:__pkg__",
],
)

sh_test(
Expand Down

0 comments on commit f47d958

Please sign in to comment.