Add overrides support for snapshots

Overrides properties will now be captured in json flag files, which will
be copied to installed vendor snapshot modules.

Bug: 216567575
Test: soong test && manual install
Change-Id: Ife5e84b126e798fba7802b9cff000c9197756cb9
This commit is contained in:
Inseob Kim
2022-10-04 14:42:02 +09:00
parent d201524549
commit a1888ce78d
8 changed files with 131 additions and 2 deletions

View File

@@ -540,6 +540,12 @@ func (binary *binaryDecorator) hostToolPath() android.OptionalPath {
return binary.toolPath
}
func (binary *binaryDecorator) overriddenModules() []string {
return binary.Properties.Overrides
}
var _ overridable = (*binaryDecorator)(nil)
func init() {
pctx.HostBinToolVariable("verifyHostBionicCmd", "host_bionic_verify")
}