Add a nice install paths for module SDKs and exports.
Following how NDK also creates its own install path. Bug: 142935992 Bug: 153306490 Test: cc_sdk_test.go, java_sdk_test.go Merged-In: I98a3656903f37f6d7c90e6cf609431b2461a6161 Change-Id: I98a3656903f37f6d7c90e6cf609431b2461a6161
This commit is contained in:
committed by
Paul Duffin
parent
3a6c095145
commit
a40f0b5db9
@@ -281,7 +281,9 @@ func (s *sdk) GenerateAndroidBuildActions(ctx android.ModuleContext) {
|
||||
}
|
||||
|
||||
// Generate the snapshot from the member info.
|
||||
s.snapshotFile = android.OptionalPathForPath(s.buildSnapshot(ctx, sdkVariants))
|
||||
p := s.buildSnapshot(ctx, sdkVariants)
|
||||
s.snapshotFile = android.OptionalPathForPath(p)
|
||||
ctx.InstallFile(android.PathForMainlineSdksInstall(ctx), s.Name()+"-current.zip", p)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user