Revert^3 "add rust_toolchain_rustc_prebuilt module type"
9333ac1249
Change-Id: Ic7f064806553a0cfbc286136a764b5ea3898d06c
This commit is contained in:
@@ -17,7 +17,7 @@ package android
|
||||
import "path/filepath"
|
||||
|
||||
func init() {
|
||||
RegisterModuleType("prebuilt_build_tool", NewPrebuiltBuildTool)
|
||||
RegisterModuleType("prebuilt_build_tool", prebuiltBuildToolFactory)
|
||||
}
|
||||
|
||||
type prebuiltBuildToolProperties struct {
|
||||
@@ -101,6 +101,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)
|
||||
|
Reference in New Issue
Block a user