Home
last modified time | relevance | path

Searched refs:binaryDecorator (Results 1 – 15 of 15) sorted by relevance

/build/soong/rust/
Dbinary.go40 type binaryDecorator struct { struct
47 var _ compiler = (*binaryDecorator)(nil)
60 func NewRustBinary(hod android.HostOrDeviceSupported) (*Module, *binaryDecorator) {
63 binary := &binaryDecorator{
72 func (binary *binaryDecorator) compilerFlags(ctx ModuleContext, flags Flags) Flags { argument
92 func (binary *binaryDecorator) compilerDeps(ctx DepsContext, deps Deps) Deps { argument
117 func (binary *binaryDecorator) compilerProps() []interface{} { argument
123 func (binary *binaryDecorator) nativeCoverage() bool { argument
127 func (binary *binaryDecorator) preferRlib() bool { argument
131 func (binary *binaryDecorator) compile(ctx ModuleContext, flags Flags, deps PathDeps) buildOutput { argument
[all …]
Dfuzz.go31 *binaryDecorator anonMember
54 binaryDecorator: binary,
58 fuzz.binaryDecorator.baseCompiler.dir = "fuzz"
59 fuzz.binaryDecorator.baseCompiler.dir64 = "fuzz"
60 fuzz.binaryDecorator.baseCompiler.location = InstallInData
86 flags = fuzzer.binaryDecorator.compilerFlags(ctx, flags)
107 deps = fuzzer.binaryDecorator.compilerDeps(ctx, deps)
113 return append(fuzzer.binaryDecorator.compilerProps(),
119 out := fuzzer.binaryDecorator.compile(ctx, flags, deps)
171 fuzz.binaryDecorator.baseCompiler.dir = filepath.Join(
[all …]
Dbenchmark.go47 *binaryDecorator anonMember
63 binaryDecorator: &binaryDecorator{
97 flags = benchmark.binaryDecorator.compilerFlags(ctx, flags)
102 deps = benchmark.binaryDecorator.compilerDeps(ctx, deps)
111 return append(benchmark.binaryDecorator.compilerProps(), &benchmark.Properties)
131 benchmark.binaryDecorator.install(ctx)
135 benchmark.binaryDecorator.moduleInfoJSON(ctx, moduleInfoJSON)
Dtest.go85 *binaryDecorator anonMember
115 binaryDecorator: &binaryDecorator{
125 return append(test.binaryDecorator.compilerProps(), &test.Properties)
231 test.binaryDecorator.installTestData(ctx, test.data)
232 test.binaryDecorator.install(ctx)
236 flags = test.binaryDecorator.compilerFlags(ctx, flags)
285 deps = test.binaryDecorator.compilerDeps(ctx, deps)
300 test.binaryDecorator.moduleInfoJSON(ctx, moduleInfoJSON)
Dandroidmk.go92 func (binary *binaryDecorator) AndroidMk(ctx AndroidMkContext, ret *android.AndroidMkEntries) {
99 ctx.SubAndroidMk(ret, test.binaryDecorator)
118 benchmark.binaryDecorator.AndroidMk(ctx, ret)
201 ctx.SubAndroidMk(ret, fuzz.binaryDecorator)
Dcompiler_test.go207 "android_arm64_armv8-a").Module().(*Module).compiler.(*binaryDecorator).path.String()
Dbuilder.go313 if bin, ok := rustMod.compiler.(*binaryDecorator); ok {
Drust.go2082 if binary, ok := mod.compiler.(*binaryDecorator); ok {
2217 if _, ok := mod.compiler.(*binaryDecorator); ok {
/build/soong/cc/
Dbinary.go85 type binaryDecorator struct { struct
115 var _ linker = (*binaryDecorator)(nil)
119 func (binary *binaryDecorator) linkerProps() []interface{} { argument
130 func (binary *binaryDecorator) getStemWithoutSuffix(ctx BaseModuleContext) string { argument
141 func (binary *binaryDecorator) getStem(ctx BaseModuleContext) string { argument
147 func (binary *binaryDecorator) linkerDeps(ctx DepsContext, deps Deps) Deps { argument
193 func NewBinary(hod android.HostOrDeviceSupported) (*Module, *binaryDecorator) {
197 func newBinary(hod android.HostOrDeviceSupported) (*Module, *binaryDecorator) {
199 binary := &binaryDecorator{
216 func (binary *binaryDecorator) linkerInit(ctx BaseModuleContext) { argument
[all …]
Dtest.go289 *binaryDecorator anonMember
298 props := append(test.testDecorator.linkerProps(), test.binaryDecorator.linkerProps()...)
305 deps = test.binaryDecorator.linkerDeps(ctx, deps)
312 flags = test.binaryDecorator.linkerFlags(ctx, flags)
345 test.binaryDecorator.moduleInfoJSON(ctx, moduleInfoJSON)
412 test.binaryDecorator.baseInstaller.dir = "nativetest"
413 test.binaryDecorator.baseInstaller.dir64 = "nativetest64"
416 test.binaryDecorator.baseInstaller.relative = ctx.ModuleName()
417 } else if String(test.binaryDecorator.baseInstaller.Properties.Relative_install_path) == "" {
451 test.binaryDecorator.baseInstaller.installTestData(ctx, test.data)
[all …]
Dfuzz.go142 *binaryDecorator anonMember
155 props := fuzz.binaryDecorator.linkerProps()
162 fuzz.binaryDecorator.linkerInit(ctx)
180 deps = fuzzBin.binaryDecorator.linkerDeps(ctx, deps)
190 flags = fuzz.binaryDecorator.linkerFlags(ctx, flags)
210 fuzz.binaryDecorator.moduleInfoJSON(ctx, moduleInfoJSON)
341 fuzzBin.binaryDecorator.baseInstaller.dir = filepath.Join(
343 fuzzBin.binaryDecorator.baseInstaller.dir64 = filepath.Join(
345 fuzzBin.binaryDecorator.baseInstaller.installTestData(ctx, fuzzBin.data)
346 fuzzBin.binaryDecorator.baseInstaller.install(ctx, file)
[all …]
Dandroidmk.go331 func (binary *binaryDecorator) prepareAndroidMKProviderInfo(config android.Config, ctx AndroidMkCon…
353 ctx.subAndroidMk(config, entries, benchmark.binaryDecorator)
368 ctx.subAndroidMk(config, entries, test.binaryDecorator)
391 ctx.subAndroidMk(config, entries, fuzz.binaryDecorator)
483 ctx.subAndroidMk(config, entries, p.binaryDecorator)
Dbinary_sdk_member.go129 binaryLinker := ccModule.linker.(*binaryDecorator)
Dprebuilt.go424 *binaryDecorator anonMember
511 func NewPrebuiltBinary(hod android.HostOrDeviceSupported) (*Module, *binaryDecorator) {
516 binaryDecorator: binary,
Dcc.go2376 case *binaryDecorator:
4046 if b, ok := c.linker.(*binaryDecorator); ok {