diff options
author | 2021-05-26 15:33:11 -0400 | |
---|---|---|
committer | 2021-06-03 08:34:47 -0400 | |
commit | d1dec54988630cabaf15b2353e55460f79c05b0c (patch) | |
tree | a4cdc360e3f3bf1949a13ff71887413a01d1522d /cc/snapshot_utils.go | |
parent | 1921e8003dd4e2a622e85ac1653f1fb3a683e569 (diff) |
Export cc functions for snapshotting Rust rlibs.
Export additional fuctions, structs, and interfaces from cc for use in
the rust package to allow for rlib snapshotting.
Bug: 184042776
Test: m nothing
Change-Id: I4c53b9378d5d5b5973dbd23ab692cdfb2ede60b9
Diffstat (limited to 'cc/snapshot_utils.go')
-rw-r--r-- | cc/snapshot_utils.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/snapshot_utils.go b/cc/snapshot_utils.go index 7b62603ef..a6c8ed522 100644 --- a/cc/snapshot_utils.go +++ b/cc/snapshot_utils.go @@ -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 } |