Visibility-restrict libSingleJar
@@ -19,7 +19,13 @@ java_library(
"ZipCombiner.java",
"ZipEntryFilter.java",
],
- visibility = ["//visibility:public"],
+ visibility = [
+ "//src/java_tools/singlejar:__pkg__",
+ "//src/java_tools/singlejar:singlejar_package_group",
+ "//src/java_tools/singlejar/javatests/com/google/devtools/build/singlejar:__pkg__",
+ "//src/test/java/com/google/devtools/build/android:__pkg__",
+ "//src/tools/android/java/com/google/devtools/build/android:__pkg__",
+ ],
deps = [
"//src/java_tools/singlejar/java/com/google/devtools/build/zip",
"//third_party:jsr305",
