Merge "Stop allowing missing last-api files by default" am: 591920fcfa
am: 55677bc46b
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1534347 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I4638ba660a8cc1748693224ac15e6aa6cad33646
This commit is contained in:
@@ -1358,8 +1358,7 @@ func (module *SdkLibrary) createStubsSourcesAndApi(mctx android.DefaultableHookC
|
|||||||
// check against the not-yet-release API
|
// check against the not-yet-release API
|
||||||
props.Check_api.Current.Api_file = proptools.StringPtr(currentApiFileName)
|
props.Check_api.Current.Api_file = proptools.StringPtr(currentApiFileName)
|
||||||
props.Check_api.Current.Removed_api_file = proptools.StringPtr(removedApiFileName)
|
props.Check_api.Current.Removed_api_file = proptools.StringPtr(removedApiFileName)
|
||||||
// TODO(b/176092454): change true to module.sdkLibraryProperties.Unsafe_ignore_missing_latest_api
|
props.Check_api.Ignore_missing_latest_api = proptools.BoolPtr(module.sdkLibraryProperties.Unsafe_ignore_missing_latest_api)
|
||||||
props.Check_api.Ignore_missing_latest_api = proptools.BoolPtr(true)
|
|
||||||
|
|
||||||
if !apiScope.unstable {
|
if !apiScope.unstable {
|
||||||
// check against the latest released API
|
// check against the latest released API
|
||||||
|
Reference in New Issue
Block a user