Disable .toc generation for windows
toc.sh doesn't support windows. Bug: 36874115 Test: builds Change-Id: Id38ce60bf2d11a56938eb37193589ccee845a855
This commit is contained in:
@@ -462,7 +462,7 @@ func (library *libraryDecorator) linkShared(ctx ModuleContext,
|
|||||||
|
|
||||||
builderFlags := flagsToBuilderFlags(flags)
|
builderFlags := flagsToBuilderFlags(flags)
|
||||||
|
|
||||||
if !ctx.Darwin() {
|
if !ctx.Darwin() && !ctx.Windows() {
|
||||||
// Optimize out relinking against shared libraries whose interface hasn't changed by
|
// Optimize out relinking against shared libraries whose interface hasn't changed by
|
||||||
// depending on a table of contents file instead of the library itself.
|
// depending on a table of contents file instead of the library itself.
|
||||||
tocPath := outputFile.RelPathString()
|
tocPath := outputFile.RelPathString()
|
||||||
|
Reference in New Issue
Block a user