Revert "support sandboxed rust rules"
Revert submission 2629131-sandbox-rust-inputs Reason for revert: Fail on android build. Reverted changes: /q/submissionid:2629131-sandbox-rust-inputs Change-Id: Ifd9aa46e80a12d8f4ffa0a2daa74b96727cbb7e6
This commit is contained in:
@@ -14,11 +14,7 @@
|
||||
|
||||
package android
|
||||
|
||||
import (
|
||||
"path/filepath"
|
||||
|
||||
"github.com/google/blueprint"
|
||||
)
|
||||
import "path/filepath"
|
||||
|
||||
func init() {
|
||||
RegisterModuleType("prebuilt_build_tool", NewPrebuiltBuildTool)
|
||||
@@ -59,13 +55,6 @@ func (t *prebuiltBuildTool) DepsMutator(ctx BottomUpMutatorContext) {
|
||||
}
|
||||
}
|
||||
|
||||
type PrebuiltBuildToolInfo struct {
|
||||
Src Path
|
||||
Deps Paths
|
||||
}
|
||||
|
||||
var PrebuiltBuildToolInfoProvider = blueprint.NewProvider(PrebuiltBuildToolInfo{})
|
||||
|
||||
func (t *prebuiltBuildTool) GenerateAndroidBuildActions(ctx ModuleContext) {
|
||||
sourcePath := t.prebuilt.SingleSourcePath(ctx)
|
||||
installedPath := PathForModuleOut(ctx, t.BaseModuleName())
|
||||
@@ -93,11 +82,6 @@ func (t *prebuiltBuildTool) GenerateAndroidBuildActions(ctx ModuleContext) {
|
||||
}
|
||||
|
||||
t.toolPath = OptionalPathForPath(installedPath)
|
||||
|
||||
ctx.SetProvider(PrebuiltBuildToolInfoProvider, PrebuiltBuildToolInfo{
|
||||
Src: sourcePath,
|
||||
Deps: deps,
|
||||
})
|
||||
}
|
||||
|
||||
func (t *prebuiltBuildTool) MakeVars(ctx MakeVarsModuleContext) {
|
||||
|
Reference in New Issue
Block a user