summaryrefslogtreecommitdiff
path: root/android/sh_binary.go
diff options
context:
space:
mode:
Diffstat (limited to 'android/sh_binary.go')
-rw-r--r--android/sh_binary.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/android/sh_binary.go b/android/sh_binary.go
index 391519391..eaedc9fde 100644
--- a/android/sh_binary.go
+++ b/android/sh_binary.go
@@ -32,7 +32,7 @@ func init() {
type shBinaryProperties struct {
// Source file of this prebuilt.
- Src *string `android:"arch_variant"`
+ Src *string `android:"path,arch_variant"`
// optional subdirectory under which this file is installed into
Sub_dir *string `android:"arch_variant"`
@@ -61,9 +61,6 @@ func (s *ShBinary) DepsMutator(ctx BottomUpMutatorContext) {
if s.properties.Src == nil {
ctx.PropertyErrorf("src", "missing prebuilt source file")
}
-
- // To support ":modulename" in src
- ExtractSourceDeps(ctx, s.properties.Src)
}
func (s *ShBinary) SourceFilePath(ctx ModuleContext) Path {