cc: Create a common image mutator interface

As part of adding Vendor support to Rust, refactor the image mutator in
CC to a new common image mutator interface so this logic can be reused
across both CC and Rust.

Bug: 184042776
Test: m nothing
Change-Id: Ia55d5ad840db7cf1a64d6c65ed86487230cb8742
This commit is contained in:
Ivan Lozano
2021-03-30 12:19:36 -04:00
parent 8e1c08cda6
commit 3a7d000d12
7 changed files with 252 additions and 72 deletions

View File

@@ -255,6 +255,22 @@ func (c *Module) IsLlndkPublic() bool {
return false
}
func (m *Module) IsLlndkHeaders() bool {
return false
}
func (m *Module) IsLlndkLibrary() bool {
return false
}
func (mod *Module) KernelHeadersDecorator() bool {
return false
}
func (m *Module) HasLlndkStubs() bool {
return false
}
func (mod *Module) SdkVersion() string {
return ""
}