summaryrefslogtreecommitdiff
path: root/cc/snapshot_utils.go
diff options
context:
space:
mode:
author Jose "Pepe" Galmes <jgalmes@google.com> 2020-11-17 20:51:54 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2020-11-17 20:51:54 +0000
commitf77bd8d60daf62403ad0de7e3cfdeefd6c2a60ee (patch)
tree3835c6e6595e99383e51164e908791780dd8b386 /cc/snapshot_utils.go
parentbeab64ea815d34a110d3dc50f10da760ac67e1de (diff)
parentf729458e69b188d4dcd7273fe78a93cdd944e355 (diff)
Merge "Support for recovery snapshot."
Diffstat (limited to 'cc/snapshot_utils.go')
-rw-r--r--cc/snapshot_utils.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/cc/snapshot_utils.go b/cc/snapshot_utils.go
index 05c06ac25..a3d52e621 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