Fix toc path

am: 4d67642cbd

Change-Id: If895f8c2b9a9dff50235dadafc8c536b51033ef0
This commit is contained in:
Colin Cross 2016-10-04 18:21:42 +00:00 committed by android-build-merger
commit 2c45e1be9b
1 changed files with 1 additions and 1 deletions

View File

@ -453,7 +453,7 @@ func (library *libraryDecorator) linkShared(ctx ModuleContext,
// that is run during the build, use the library directly so
// that the timestamp of the binary changes whenever a library
// changes and any necessary tools get re-run.
tocPath := outputFile.String()
tocPath := outputFile.RelPathString()
tocPath = pathtools.ReplaceExtension(tocPath, flags.Toolchain.ShlibSuffix()[1:]+".toc")
tocFile := android.PathForOutput(ctx, tocPath)
library.tocFile = android.OptionalPathForPath(tocFile)