Skip to content

Commit

Permalink
Remove duplicate code.
Browse files Browse the repository at this point in the history
createSkyframeExecutor already calls injectExtraPrecomputedValues, so setUpSkyframe shouldn't need to call it a second time.

PiperOrigin-RevId: 550516525
Change-Id: I43556c49eff95b82111fe7f0f234ebfb9816b32a
  • Loading branch information
tjgq authored and copybara-github committed Jul 24, 2023
1 parent a106da5 commit 5a708f9
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,6 @@ protected void setUpSkyframe(RuleVisibility defaultVisibility) {
packageOptions.defaultVisibility = defaultVisibility;
packageOptions.showLoadingProgress = true;
packageOptions.globbingThreads = GLOBBING_THREADS;
skyframeExecutor.injectExtraPrecomputedValues(
ImmutableList.of(
PrecomputedValue.injected(
RepositoryDelegatorFunction.RESOLVED_FILE_INSTEAD_OF_WORKSPACE, Optional.empty())));
skyframeExecutor.preparePackageLoading(
new PathPackageLocator(
outputBase,
Expand Down

0 comments on commit 5a708f9

Please sign in to comment.