Importing remote-apis repository into Bazel for Remote API v2.
Import the current version of https://github.com/bazelbuild/remote-apis/ into Bazel to enable Remote API V2 migration.
Change-Id: I245c8514adedfa443e3ffd41a54714f40fc193c4
Closes #5605.
Change-Id: I245c8514adedfa443e3ffd41a54714f40fc193c4
PiperOrigin-RevId: 208236825
diff --git a/WORKSPACE b/WORKSPACE
index d016e17..0b0cba0 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -91,6 +91,12 @@
build_file = "./third_party/googleapis/BUILD",
)
+new_local_repository(
+ name = "remoteapis",
+ path = "./third_party/remoteapis/",
+ build_file = "./third_party/remoteapis/BUILD.bazel",
+)
+
http_archive(
name = "desugar_jdk_libs",
url = "https://github.com/google/desugar_jdk_libs/archive/fd937f4180c1b557805219af4482f1a27eb0ff2b.zip",
diff --git a/src/BUILD b/src/BUILD
index 618d670..50ec65e 100644
--- a/src/BUILD
+++ b/src/BUILD
@@ -375,6 +375,7 @@
"//src/main/java/com/google/devtools/build/lib/bazel/debug:dist_jars",
"//src/main/java/com/google/devtools/build/lib/skylarkdebug/proto:dist_jars",
"@googleapis//:dist_jars",
+ "@remoteapis//:dist_jars",
],
outs = ["derived_java_srcs.zip"],
cmd = "$(location :combine_derived_java_srcs.sh) $(JAVABASE) $@ $(SRCS)",