aboutsummaryrefslogtreecommitdiffstats
path: root/android
diff options
context:
space:
mode:
authorPatrice Arruda <patricearruda@google.com>2019-03-12 16:21:36 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2019-03-12 16:21:36 +0000
commit66184450d5765889a5fb71d14c1a44959ebaefbe (patch)
tree5f44ad3244ea54dcf8016688a0b62300987e9029 /android
parent9dd4b38c40cbb8973834e33a4c04d591ddec26be (diff)
parente10341948321dc81176374b2d82f550439450f10 (diff)
downloadbuild_soong-66184450d5765889a5fb71d14c1a44959ebaefbe.tar.gz
build_soong-66184450d5765889a5fb71d14c1a44959ebaefbe.tar.bz2
build_soong-66184450d5765889a5fb71d14c1a44959ebaefbe.zip
Merge "Soong: Add documentation to sh_binary[_host] module."
Diffstat (limited to 'android')
-rw-r--r--android/sh_binary.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/android/sh_binary.go b/android/sh_binary.go
index eaedc9fd..52c5a9a3 100644
--- a/android/sh_binary.go
+++ b/android/sh_binary.go
@@ -123,6 +123,8 @@ func InitShBinaryModule(s *ShBinary) {
s.AddProperties(&s.properties)
}
+// sh_binary is for a shell script or batch file to be installed as an
+// executable binary to <partition>/bin.
func ShBinaryFactory() Module {
module := &ShBinary{}
InitShBinaryModule(module)
@@ -130,6 +132,8 @@ func ShBinaryFactory() Module {
return module
}
+// sh_binary_host is for a shell script to be installed as an executable binary
+// to $(HOST_OUT)/bin.
func ShBinaryHostFactory() Module {
module := &ShBinary{}
InitShBinaryModule(module)