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

am: 90ae6dbc98

Change-Id: I6ea6a6dadd6b68868a2286c13cb2bf3ddd381ce8
This commit is contained in:
Patrice Arruda 2019-03-12 09:45:57 -07:00 committed by android-build-merger
commit 0f4065c6b2

View file

@ -123,6 +123,8 @@ func InitShBinaryModule(s *ShBinary) {
s.AddProperties(&s.properties) 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 { func ShBinaryFactory() Module {
module := &ShBinary{} module := &ShBinary{}
InitShBinaryModule(module) InitShBinaryModule(module)
@ -130,6 +132,8 @@ func ShBinaryFactory() Module {
return 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 { func ShBinaryHostFactory() Module {
module := &ShBinary{} module := &ShBinary{}
InitShBinaryModule(module) InitShBinaryModule(module)