Don't early return from TargetLoadingUtil#loadTarget on unrelated missing dep
A packageValue that isn't missing shouldn't be ignored just because
env.valuesMissing() is true because an unrelated dep was missing.
@@ -87,7 +87,7 @@ public class TargetLoadingUtil {
SkyKey packageKey = PackageValue.key(label.getPackageIdentifier());
PackageValue packageValue =
(PackageValue) env.getValueOrThrow(packageKey, NoSuchPackageException.class);
- if (env.valuesMissing() || packageValue == null) {
+ if (packageValue == null) {
return null;
}
