aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/test/java/com/google/devtools/build/lib/BUILD
diff options
context:
space:
mode:
authorGravatar Lukacs Berki <lberki@google.com>2015-11-25 15:48:16 +0000
committerGravatar Lukacs Berki <lberki@google.com>2015-11-25 16:08:21 +0000
commitf1ffe3621002231fe4828fe4ecfd5f64df9d2052 (patch)
treefecaf49e7cf95eb20e9ef14a3afbfff2bfd8aab8 /src/test/java/com/google/devtools/build/lib/BUILD
parent1ee9441f1839f62d82012636b1bfde6e8561c979 (diff)
Make external repository implementations not re-fetch things on server restart.
This is accomplished by saving a proto of the repository rule in the output tree, then comparing it to that of the previous version. This makes HTTP_DOWNLOAD_CHECKER somewhat superfluous because it only matters if the external repository directory is modified manually. Local repository implementations are not included, mainly because the symlinking is cheap (maybe they should be for reasons of symmetry?) -- MOS_MIGRATED_REVID=108706396
Diffstat (limited to 'src/test/java/com/google/devtools/build/lib/BUILD')
-rw-r--r--src/test/java/com/google/devtools/build/lib/BUILD3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/com/google/devtools/build/lib/BUILD b/src/test/java/com/google/devtools/build/lib/BUILD
index e547541985..fdb1029b73 100644
--- a/src/test/java/com/google/devtools/build/lib/BUILD
+++ b/src/test/java/com/google/devtools/build/lib/BUILD
@@ -510,12 +510,14 @@ java_library(
"//src/main/java/com/google/devtools/build/lib:vfs",
"//src/main/java/com/google/devtools/build/skyframe",
"//src/main/java/com/google/devtools/common/options",
+ "//src/main/protobuf:build_proto",
"//src/main/protobuf:extra_actions_base_proto",
"//third_party:guava",
"//third_party:guava-testlib",
"//third_party:jsr305",
"//third_party:junit4",
"//third_party:mockito",
+ "//third_party:protobuf",
"//third_party:truth",
],
)
@@ -550,6 +552,7 @@ java_test(
"//third_party:guava-testlib",
"//third_party:jsr305",
"//third_party:junit4",
+ "//third_party:protobuf",
"//third_party:truth",
],
)