Ensure current.zip is put in the right place.
Using the InstallFile as the snapshot ensure that the artifact in out/soong/mainline-sdks/ is built when building the sdk target. Test: m ipsec-module-sdk Change-Id: I45ce6001dbae3a7a9c4cf50f8d7d5d67f94dbcb3
This commit is contained in:
parent
c8ae73e678
commit
60770e2250
1 changed files with 2 additions and 2 deletions
|
@ -299,8 +299,8 @@ func (s *sdk) GenerateAndroidBuildActions(ctx android.ModuleContext) {
|
||||||
|
|
||||||
// Generate the snapshot from the member info.
|
// Generate the snapshot from the member info.
|
||||||
p := s.buildSnapshot(ctx, sdkVariants)
|
p := s.buildSnapshot(ctx, sdkVariants)
|
||||||
s.snapshotFile = android.OptionalPathForPath(p)
|
zip := ctx.InstallFile(android.PathForMainlineSdksInstall(ctx), p.Base(), p)
|
||||||
ctx.InstallFile(android.PathForMainlineSdksInstall(ctx), s.Name()+"-current.zip", p)
|
s.snapshotFile = android.OptionalPathForPath(zip)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue