forked from bazelbuild/bazel
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This reduces the API of PackageFactory.EnvironmentExtension with an eye toward eliminating it by merging it into Bootstrap. This will help us get PackageFactory out of the business of managing the Starlark environment. The extension's `updateWorkspace` method is removed, along with the workspace logic that called it. This feature has been unused for a long time. The extension's `updateNative` method is also removed and merged into `update`. There are no call sites that need to differentially add a symbol to the BUILD environment but not the `native` object, or vice versa. PackageFactory no longer needs to retain the list of extensions, since it was only retrieved for workspace logic. PiperOrigin-RevId: 530917040 Change-Id: Ie0ff2be22e8f6c6c91a2c833dc0b50dd19b1ae85
- Loading branch information
1 parent
0ad0a8d
commit a741c8f
Showing
5 changed files
with
7 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters