Fix toc path am: 4d67642cbd

am: 2c45e1be9b

Change-Id: I2cd7d726b49069e16442a25962e0345410223f0a
This commit is contained in:
Colin Cross 2016-10-04 18:27:42 +00:00 committed by android-build-merger
commit 573fcfbf7a

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)