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:
commit
7cc6a1e411
1 changed files with 4 additions and 0 deletions
|
@ -102,6 +102,10 @@ var _ HostToolProvider = &prebuiltBuildTool{}
|
||||||
// prebuilt_build_tool is to declare prebuilts to be used during the build, particularly for use
|
// prebuilt_build_tool is to declare prebuilts to be used during the build, particularly for use
|
||||||
// in genrules with the "tools" property.
|
// in genrules with the "tools" property.
|
||||||
func prebuiltBuildToolFactory() Module {
|
func prebuiltBuildToolFactory() Module {
|
||||||
|
return NewPrebuiltBuildTool()
|
||||||
|
}
|
||||||
|
|
||||||
|
func NewPrebuiltBuildTool() Module {
|
||||||
module := &prebuiltBuildTool{}
|
module := &prebuiltBuildTool{}
|
||||||
module.AddProperties(&module.properties)
|
module.AddProperties(&module.properties)
|
||||||
InitSingleSourcePrebuiltModule(module, &module.properties, "Src")
|
InitSingleSourcePrebuiltModule(module, &module.properties, "Src")
|
||||||
|
|
Loading…
Reference in a new issue