Merge "Revert^2 "Export NewPrebuiltBuildTool"" into main

This commit is contained in:
Treehugger Robot
2023-08-08 18:41:09 +00:00
committed by Gerrit Code Review

View File

@@ -102,6 +102,10 @@ var _ HostToolProvider = &prebuiltBuildTool{}
// prebuilt_build_tool is to declare prebuilts to be used during the build, particularly for use
// in genrules with the "tools" property.
func prebuiltBuildToolFactory() Module {
return NewPrebuiltBuildTool()
}
func NewPrebuiltBuildTool() Module {
module := &prebuiltBuildTool{}
module.AddProperties(&module.properties)
InitSingleSourcePrebuiltModule(module, &module.properties, "Src")