Lines Matching refs:binary
87 func (binary *binaryDecorator) autorun() bool {
88 return BoolDefault(binary.binaryProperties.Autorun, true)
91 func (binary *binaryDecorator) bootstrapperProps() []interface{} {
92 return []interface{}{&binary.binaryProperties}
95 func (binary *binaryDecorator) bootstrap(ctx android.ModuleContext, actualVersion string,
100 if binary.autorun() {
101 main = binary.getPyMainFile(ctx, srcsPathMappings)
118 binary.getHostInterpreterName(ctx, actualVersion),
119 main, binary.getStem(ctx), append(android.Paths{srcsZip}, depsSrcsZips...))
125 func (binary *binaryDecorator) getHostInterpreterName(ctx android.ModuleContext,
142 func (binary *binaryDecorator) getPyMainFile(ctx android.ModuleContext,
145 if String(binary.binaryProperties.Main) == "" {
148 main = String(binary.binaryProperties.Main)
161 func (binary *binaryDecorator) getStem(ctx android.ModuleContext) string {
163 if String(binary.binaryProperties.Stem) != "" {
164 stem = String(binary.binaryProperties.Stem)
167 return stem + String(binary.binaryProperties.Suffix)