diff options
author | 2020-11-13 12:07:36 -0800 | |
---|---|---|
committer | 2020-11-16 17:09:36 -0800 | |
commit | f729458e69b188d4dcd7273fe78a93cdd944e355 (patch) | |
tree | ebbd4d4741be80e33fb1bb664e209505bd30f696 /cc/snapshot_utils.go | |
parent | 9414a8be1237c3b9fba7bba7077390dcf28cedf4 (diff) |
Support for recovery snapshot.
Bug: 171231437
Test: source build/envsetup.sh
Test: ALLOW_MISSING_DEPENDENCIES=true m -j nothing
Change-Id: I6b35fbb0b90ffffa941ea108cbd31a454b2dd403
Diffstat (limited to 'cc/snapshot_utils.go')
-rw-r--r-- | cc/snapshot_utils.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cc/snapshot_utils.go b/cc/snapshot_utils.go index 238508dc9..ada424827 100644 --- a/cc/snapshot_utils.go +++ b/cc/snapshot_utils.go @@ -60,7 +60,8 @@ func (s *snapshotMap) get(name string, arch android.ArchType) (snapshot string, func isSnapshotAware(ctx android.ModuleContext, m *Module, apexInfo android.ApexInfo) bool { if _, _, ok := isVndkSnapshotLibrary(ctx.DeviceConfig(), m, apexInfo); ok { return ctx.Config().VndkSnapshotBuildArtifacts() - } else if isVendorSnapshotModule(m, isVendorProprietaryPath(ctx.ModuleDir()), apexInfo) { + } else if isVendorSnapshotModule(m, isVendorProprietaryPath(ctx.ModuleDir()), apexInfo) || + isRecoverySnapshotModule(m, isVendorProprietaryPath(ctx.ModuleDir()), apexInfo) { return true } return false |