aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/skyframe/MapAsPackageRoots.java
diff options
context:
space:
mode:
authorGravatar tomlu <tomlu@google.com>2018-01-12 09:39:24 -0800
committerGravatar Copybara-Service <copybara-piper@google.com>2018-01-12 09:41:14 -0800
commiteec7250dccba5bf19b6c923b7213138c74187c20 (patch)
tree5c51ff0accd215c47046886f419ba6b83728c558 /src/main/java/com/google/devtools/build/lib/skyframe/MapAsPackageRoots.java
parentc924cf6f464cf24ac6ba4fb1c1d34aa2fe567e3f (diff)
Remove isMainRepo from Root.
This is no longer used. PiperOrigin-RevId: 181754475
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/skyframe/MapAsPackageRoots.java')
-rw-r--r--src/main/java/com/google/devtools/build/lib/skyframe/MapAsPackageRoots.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/skyframe/MapAsPackageRoots.java b/src/main/java/com/google/devtools/build/lib/skyframe/MapAsPackageRoots.java
index baca2e02a1..f969c02864 100644
--- a/src/main/java/com/google/devtools/build/lib/skyframe/MapAsPackageRoots.java
+++ b/src/main/java/com/google/devtools/build/lib/skyframe/MapAsPackageRoots.java
@@ -46,7 +46,7 @@ public class MapAsPackageRoots implements PackageRoots {
for (Map.Entry<PackageIdentifier, Path> entry : packageRootsMap.entrySet()) {
Root root = rootMap.get(entry.getValue());
if (root == null) {
- root = Root.asSourceRoot(entry.getValue(), entry.getKey().getRepository().isMain());
+ root = Root.asSourceRoot(entry.getValue());
rootMap.put(entry.getValue(), root);
}
realPackageRoots.put(entry.getKey(), root);