summaryrefslogtreecommitdiff
path: root/cc/snapshot_utils.go
diff options
context:
space:
mode:
author Justin DeMartino <jjdemartino@google.com> 2021-02-24 10:49:43 -0800
committer Justin DeMartino <jjdemartino@google.com> 2021-03-15 23:14:47 +0000
commit383bfb392ff849b789e5c9331be1e474b335e4d9 (patch)
tree621efb48293abbdcfcbb5f3dfc0bdcf500b846e0 /cc/snapshot_utils.go
parent05f72de0837021c7f80133e22392a1a238b1c56f (diff)
Allow extending of the list of directories to be scanned for VSDK
Bug: 180925851 Bug: 181564692 Test: m nothing, manually Change-Id: Ifff95db4c9ec362322fecca08f7fd1a7b60755c0
Diffstat (limited to 'cc/snapshot_utils.go')
-rw-r--r--cc/snapshot_utils.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/snapshot_utils.go b/cc/snapshot_utils.go
index c50ef4535..c32fa364f 100644
--- a/cc/snapshot_utils.go
+++ b/cc/snapshot_utils.go
@@ -80,7 +80,7 @@ func shouldCollectHeadersForSnapshot(ctx android.ModuleContext, m *Module, apexI
}
for _, image := range []snapshotImage{vendorSnapshotImageSingleton, recoverySnapshotImageSingleton} {
- if isSnapshotAware(ctx.DeviceConfig(), m, image.isProprietaryPath(ctx.ModuleDir()), apexInfo, image) {
+ if isSnapshotAware(ctx.DeviceConfig(), m, image.isProprietaryPath(ctx.ModuleDir(), ctx.DeviceConfig()), apexInfo, image) {
return true
}
}