Merge "Revert^2 "Export NewPrebuiltBuildTool"" into main am: fda9efab7f am: ec607d6129 am: afcdf9c308 am: f7e7a10582

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2698036

Change-Id: Icddb1117ae3d3c36058981cd929ce6713734ffd6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Treehugger Robot 2023-08-08 21:37:07 +00:00 committed by Automerger Merge Worker
commit 7cc6a1e411

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")