diff options
author | Patrice Arruda <patricearruda@google.com> | 2019-03-11 13:20:17 -0700 |
---|---|---|
committer | Patrice Arruda <patricearruda@google.com> | 2019-03-11 14:26:47 -0700 |
commit | e10341948321dc81176374b2d82f550439450f10 (patch) | |
tree | 76b54590f716298c842a864791aede8cb6cb4886 /android | |
parent | fdd1457fa683d5a7c21c471d5dc3294cdb29cf1e (diff) | |
download | build_soong-e10341948321dc81176374b2d82f550439450f10.tar.gz build_soong-e10341948321dc81176374b2d82f550439450f10.tar.bz2 build_soong-e10341948321dc81176374b2d82f550439450f10.zip |
Soong: Add documentation to sh_binary[_host] module.
Synopsis was missing to the sh_binary[_host] module.
Bug: b/128337482
Test: Ran m soong_docs and verified that sh_binary[_host] module
had a synopsis.
Change-Id: I0bb702ab2d8e4168664e7bba397e0e26af7f03ab
Diffstat (limited to 'android')
-rw-r--r-- | android/sh_binary.go | 4 |
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) |