Merge "Copy removed.txt file to the snapshot correctly" am: b47ab4b79f am: 8fc769dd85

Original change: undetermined

Change-Id: I5846b5bd6c7c470d4732d49a90ff800b35975e7b
This commit is contained in:
Treehugger Robot
2020-06-02 16:09:42 +00:00
committed by Automerger Merge Worker
2 changed files with 12 additions and 12 deletions

View File

@@ -2113,7 +2113,7 @@ func (s *sdkLibrarySdkMemberProperties) AddToPropertySet(ctx android.SdkMemberCo
if properties.RemovedApiFile != nil {
removedApiSnapshotPath := filepath.Join(scopeDir, ctx.Name()+"-removed.txt")
ctx.SnapshotBuilder().CopyToSnapshot(properties.CurrentApiFile, removedApiSnapshotPath)
ctx.SnapshotBuilder().CopyToSnapshot(properties.RemovedApiFile, removedApiSnapshotPath)
scopeSet.AddProperty("removed_api", removedApiSnapshotPath)
}