diff options
author | laszlocsomor <laszlocsomor@google.com> | 2018-08-10 04:25:08 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-08-10 04:26:21 -0700 |
commit | 5681f9d19f66e6d8bab382d9fe57484f4c120f9b (patch) | |
tree | 8254240118905e4f53f288aaabb8667b32565b04 /src/tools/runfiles/java/com/google/devtools/build/runfiles/BUILD.tools | |
parent | 9e18b2cdf9fd5dc1ea429fd6c21407d53ceb38ad (diff) |
Java, runfiles: move runfiles library sources
Move the Java runfiles library's sources from
//src/tools/runfiles/j/c/g/devtools/build/runfiles:*
to //tools/java/runfiles.
Fixes https://github.com/bazelbuild/bazel/issues/5803
RELNOTES[NEW]: Java, runfiles: the Java runfiles library is now in @bazel_tools//tools/java/runfiles. The old target (@bazel_tools//tools/runfiles:java-runfiles) is deprecated and will be removed in Bazel 0.18.0.
PiperOrigin-RevId: 208191521
Diffstat (limited to 'src/tools/runfiles/java/com/google/devtools/build/runfiles/BUILD.tools')
-rw-r--r-- | src/tools/runfiles/java/com/google/devtools/build/runfiles/BUILD.tools | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/tools/runfiles/java/com/google/devtools/build/runfiles/BUILD.tools b/src/tools/runfiles/java/com/google/devtools/build/runfiles/BUILD.tools deleted file mode 100644 index 2f90f252ad..0000000000 --- a/src/tools/runfiles/java/com/google/devtools/build/runfiles/BUILD.tools +++ /dev/null @@ -1,23 +0,0 @@ -package(default_visibility = ["//visibility:private"]) - -# TODO(laszlocsomor): move the sources to //tools/java/runfiles -filegroup( - name = "java-srcs", - srcs = [ - "Runfiles.java", - "Util.java", - ], -) - -# TODO(laszlocsomor): after https://github.com/bazelbuild/bazel/issues/5802 is fixed, add a -# `deprecation` attribute to @bazel_tools//tools/runfiles:java-runfiles, advising users to depend on -# @bazel_tools//tools/java/runfiles instead. After a reasonable time (1-2 Bazel releases containing -# the deprecation warning) remove @bazel_tools//tools/runfiles:java-runfiles. -java_library( - name = "runfiles", - srcs = [":java-srcs"], - visibility = [ - "//tools/runfiles:__pkg__", - "//tools/java/runfiles:__pkg__", - ], -) |