Disable .toc generation for windows

toc.sh doesn't support windows.

Bug: 36874115
Test: builds
Change-Id: Id38ce60bf2d11a56938eb37193589ccee845a855
This commit is contained in:
Colin Cross 2017-04-04 13:00:15 -07:00
parent 3edeee113a
commit d8f8d076c0
1 changed files with 1 additions and 1 deletions

View File

@ -462,7 +462,7 @@ func (library *libraryDecorator) linkShared(ctx ModuleContext,
builderFlags := flagsToBuilderFlags(flags)
if !ctx.Darwin() {
if !ctx.Darwin() && !ctx.Windows() {
// Optimize out relinking against shared libraries whose interface hasn't changed by
// depending on a table of contents file instead of the library itself.
tocPath := outputFile.RelPathString()