Merge "Soong: Add documentation to sh_binary[_host] module." am: 66184450d5

am: a3864b9ad8

Change-Id: I2977d39213eb8accead7e03932e43e70ad28c353
This commit is contained in:
Patrice Arruda 2019-03-12 09:42:54 -07:00 committed by android-build-merger
commit 90ae6dbc98

View file

@ -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)