Home | History | Annotate | Download | only in python

Lines Matching refs:binary

17 // This file contains the module types for building Python binary.
36 // set the name of the output binary.
39 // append to the name of the output binary.
82 func (binary *binaryDecorator) autorun() bool {
83 return BoolDefault(binary.binaryProperties.Autorun, true)
86 func (binary *binaryDecorator) bootstrapperProps() []interface{} {
87 return []interface{}{&binary.binaryProperties}
90 func (binary *binaryDecorator) bootstrap(ctx android.ModuleContext, actualVersion string,
95 if binary.autorun() {
96 main = binary.getPyMainFile(ctx, srcsPathMappings)
113 binary.getHostInterpreterName(ctx, actualVersion),
114 main, binary.getStem(ctx), append(android.Paths{srcsZip}, depsSrcsZips...))
120 func (binary *binaryDecorator) getHostInterpreterName(ctx android.ModuleContext,
137 func (binary *binaryDecorator) getPyMainFile(ctx android.ModuleContext,
140 if String(binary.binaryProperties.Main) == "" {
143 main = String(binary.binaryProperties.Main)
156 func (binary *binaryDecorator) getStem(ctx android.ModuleContext) string {
158 if String(binary.binaryProperties.Stem) != "" {
159 stem = String(binary.binaryProperties.Stem)
162 return stem + String(binary.binaryProperties.Suffix)