Clean up mixed builds module names filtering

* Remove `Bp2buildCcLibraryStaticOnlyList` it is never set
* Remove the rest of the sutff related to it
* Streamline MixedBuildsEnabled
* Rename BazelContext.BazelAllowlisted to BazelContext.NameFilter
  to reflect its action
* Rename bazelContext to mixedBuildBazelContext
* Fix minor warnings from Go static analyzer

Test: treehugger
Change-Id: Ie245c992f94bbfd5c7c23dd06917026200a28263
This commit is contained in:
Sasha Smundak
2022-12-29 17:11:49 -08:00
committed by Alexander Smundak
parent bf51151bd4
commit 39a301c963
7 changed files with 71 additions and 130 deletions

View File

@@ -1318,8 +1318,6 @@ var (
"libc_musl_sysroot",
}
Bp2buildCcLibraryStaticOnlyList = []string{}
MixedBuildsDisabledList = []string{
"libruy_static", "libtflite_kernel_utils", // TODO(b/237315968); Depend on prebuilt stl, not from source