Lines Matching refs:binary

35 	binary() bool  methodSpec
63 binary := &binaryDecorator{
67 module.compiler = binary
69 return module, binary
72 func (binary *binaryDecorator) compilerFlags(ctx ModuleContext, flags Flags) Flags {
73 flags = binary.baseCompiler.compilerFlags(ctx, flags)
83 if Bool(binary.Properties.Static_executable) {
92 func (binary *binaryDecorator) compilerDeps(ctx DepsContext, deps Deps) Deps {
93 deps = binary.baseCompiler.compilerDeps(ctx, deps)
95 static := Bool(binary.Properties.Static_executable)
117 func (binary *binaryDecorator) compilerProps() []interface{} {
118 return append(binary.baseCompiler.compilerProps(),
119 &binary.Properties,
120 &binary.stripper.StripProperties)
123 func (binary *binaryDecorator) nativeCoverage() bool {
127 func (binary *binaryDecorator) preferRlib() bool {
128 …return Bool(binary.baseCompiler.Properties.Prefer_rlib) || Bool(binary.Properties.Static_executabl…
131 func (binary *binaryDecorator) compile(ctx ModuleContext, flags Flags, deps PathDeps) buildOutput {
132 fileName := binary.getStem(ctx) + ctx.toolchain().ExecutableSuffix()
135 crateRootPath := crateRootPath(ctx, binary)
141 if binary.stripper.NeedsStrip(ctx) {
144 binary.stripper.StripExecutableOrSharedLib(ctx, outputFile, strippedOutputFile)
146 binary.baseCompiler.strippedOutputFile = android.OptionalPathForPath(strippedOutputFile)
148 binary.baseCompiler.unstrippedOutputFile = outputFile
154 func (binary *binaryDecorator) autoDep(ctx android.BottomUpMutatorContext) autoDep {
156 if binary.preferRlib() {
165 func (binary *binaryDecorator) stdLinkage(ctx *depsContext) RustLinkage {
166 if binary.preferRlib() {
169 return binary.baseCompiler.stdLinkage(ctx)
172 func (binary *binaryDecorator) binary() bool { func
176 func (binary *binaryDecorator) staticallyLinked() bool {
177 return Bool(binary.Properties.Static_executable)
180 func (binary *binaryDecorator) testBinary() bool {