Fix build breakages when WITHOUT_CHECK_API=true
Bug: 158578354 Test: export WITHOUT_CHECK_API=true m checkbuild Change-Id: I7b5fff40b870c9d754f779ff1c3314bac7e42440
This commit is contained in:
@@ -2182,8 +2182,12 @@ func (s *sdkLibrarySdkMemberProperties) PopulateFromVariant(ctx android.SdkMembe
|
||||
properties.Jars = jars
|
||||
properties.SdkVersion = sdk.sdkVersionForStubsLibrary(ctx.SdkModuleContext(), apiScope)
|
||||
properties.StubsSrcJar = paths.stubsSrcJar.Path()
|
||||
properties.CurrentApiFile = paths.currentApiFilePath.Path()
|
||||
properties.RemovedApiFile = paths.removedApiFilePath.Path()
|
||||
if paths.currentApiFilePath.Valid() {
|
||||
properties.CurrentApiFile = paths.currentApiFilePath.Path()
|
||||
}
|
||||
if paths.removedApiFilePath.Valid() {
|
||||
properties.RemovedApiFile = paths.removedApiFilePath.Path()
|
||||
}
|
||||
s.Scopes[apiScope] = properties
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user