diff options
Diffstat (limited to 'cc/snapshot_utils.go')
-rw-r--r-- | cc/snapshot_utils.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cc/snapshot_utils.go b/cc/snapshot_utils.go index 8eb616448..7b62603ef 100644 --- a/cc/snapshot_utils.go +++ b/cc/snapshot_utils.go @@ -20,7 +20,7 @@ import ( ) var ( - headerExts = []string{".h", ".hh", ".hpp", ".hxx", ".h++", ".inl", ".inc", ".ipp", ".h.generic"} + HeaderExts = []string{".h", ".hh", ".hpp", ".hxx", ".h++", ".inl", ".inc", ".ipp", ".h.generic"} ) func (m *Module) IsSnapshotLibrary() bool { @@ -109,7 +109,7 @@ func ShouldCollectHeadersForSnapshot(ctx android.ModuleContext, m LinkableInterf return ctx.Config().VndkSnapshotBuildArtifacts() } - for _, image := range []snapshotImage{vendorSnapshotImageSingleton, recoverySnapshotImageSingleton} { + for _, image := range []snapshotImage{VendorSnapshotImageSingleton, recoverySnapshotImageSingleton} { if isSnapshotAware(ctx.DeviceConfig(), m, image.isProprietaryPath(ctx.ModuleDir(), ctx.DeviceConfig()), apexInfo, image) { return true } |