-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix regression with implicit deps which Automatic Exec Groups caused
Automatic Exec Groups creates one exec group per each toolchain type, which creates additional toolchain contexts. On the other side, function which marks deps as implicit or explicit was only getting the default toolchain context (not the ones from automatic exec groups) and marking only toolchains from default-exec-group as implicit dependencies. Since deps from AEGs were not marked as implicit, they were not hidden with `--noimplicit_deps` flag. I've fixed this by marking automatic exec groups' toolchain labels as implicit (looking into all toolchain context, not only the default one). I've also added 2 tests which check: 1. Implicit deps from Automatic Exec Groups, 2. Implicit deps from Custom Exec Groups. PiperOrigin-RevId: 520921585 Change-Id: I7beb9aeae098021d63e9feffa677329f6dda0453
- Loading branch information
1 parent
24f6fe8
commit b27d1a3
Showing
2 changed files
with
119 additions
and
43 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