Lines Matching refs:binary
54 binary := &binaryDecorator{
58 module.compiler = binary
60 return module, binary
63 func (binary *binaryDecorator) preferDynamic() bool {
64 return Bool(binary.Properties.Prefer_dynamic)
67 func (binary *binaryDecorator) compilerFlags(ctx ModuleContext, flags Flags) Flags {
68 flags = binary.baseCompiler.compilerFlags(ctx, flags)
79 if binary.preferDynamic() {
85 func (binary *binaryDecorator) compilerDeps(ctx DepsContext, deps Deps) Deps {
86 deps = binary.baseCompiler.compilerDeps(ctx, deps)
97 func (binary *binaryDecorator) compilerProps() []interface{} {
98 return append(binary.baseCompiler.compilerProps(),
99 &binary.Properties)
102 func (binary *binaryDecorator) nativeCoverage() bool {
106 func (binary *binaryDecorator) compile(ctx ModuleContext, flags Flags, deps PathDeps) android.Path {
107 fileName := binary.getStem(ctx) + ctx.toolchain().ExecutableSuffix()
109 srcPath, _ := srcPathFromModuleSrcs(ctx, binary.baseCompiler.Properties.Srcs)
112 binary.unstrippedOutputFile = outputFile
117 binary.coverageFile = outputs.coverageFile
121 coverageFiles = append(coverageFiles, binary.coverageFile)
126 binary.coverageOutputZipFile = TransformCoverageFilesToZip(ctx, coverageFiles, binary.getStem(ctx))
131 func (binary *binaryDecorator) coverageOutputZipPath() android.OptionalPath {
132 return binary.coverageOutputZipFile
135 func (binary *binaryDecorator) autoDep() autoDep {
136 if binary.preferDynamic() {