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:
@@ -173,7 +173,7 @@ func isSnapshotAware(cfg android.DeviceConfig, m *Module, inProprietaryPath bool
|
||||
return false
|
||||
}
|
||||
// the module must be installed in target image
|
||||
if !apexInfo.IsForPlatform() || m.isSnapshotPrebuilt() || !image.inImage(m)() {
|
||||
if !apexInfo.IsForPlatform() || m.IsSnapshotPrebuilt() || !image.inImage(m)() {
|
||||
return false
|
||||
}
|
||||
// skip kernel_headers which always depend on vendor
|
||||
|
||||
Reference in New Issue
Block a user