Merge "Support rust_toolchain_library for rust-project"

This commit is contained in:
Treehugger Robot
2021-12-08 14:14:34 +00:00
committed by Gerrit Code Review

View File

@@ -211,6 +211,8 @@ func isModuleSupported(ctx android.SingletonContext, module android.Module) (*Mo
comp = c.binaryDecorator.baseCompiler
case *procMacroDecorator:
comp = c.baseCompiler
case *toolchainLibraryDecorator:
comp = c.baseCompiler
default:
return nil, nil, false
}