Make overrides work in Soong

This change adds `overrides` property to all module types. It is used
to prevent another module (or modules) from being installed or packaged.

Bug: 330141242
Test: go test ./...

Change-Id: I4f05c603f0c5dbb699d00327882c7498472b59de
This commit is contained in:
Jiyong Park
2024-08-28 18:06:43 +09:00
parent f2d6e5004f
commit a574d535b5
5 changed files with 110 additions and 9 deletions

View File

@@ -499,6 +499,10 @@ type commonProperties struct {
// vintf_fragment Modules required from this module.
Vintf_fragment_modules proptools.Configurable[[]string] `android:"path"`
// List of module names that are prevented from being installed when this module gets
// installed.
Overrides []string
}
type distProperties struct {