Merge changes from topic "revert-2605644-rulebuilder-ninja-vars-OAAWYCDDLT" into main am: 1d3740a274
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2746977 Change-Id: Ie660c5611ea4938afa8abd0e64d1db788a811ae1 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
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