Home
last modified time | relevance | path

Searched refs:binaryDecorator (Results 1 – 16 of 16) 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)
Dtest.go75 *binaryDecorator anonMember
105 binaryDecorator: &binaryDecorator{
115 return append(test.binaryDecorator.compilerProps(), &test.Properties)
192 test.binaryDecorator.installTestData(ctx, test.data)
193 test.binaryDecorator.install(ctx)
197 flags = test.binaryDecorator.compilerFlags(ctx, flags)
241 deps = test.binaryDecorator.compilerDeps(ctx, deps)
Dandroidmk.go92 func (binary *binaryDecorator) AndroidMk(ctx AndroidMkContext, ret *android.AndroidMkEntries) {
102 ctx.SubAndroidMk(ret, test.binaryDecorator)
121 benchmark.binaryDecorator.AndroidMk(ctx, ret)
211 ctx.SubAndroidMk(ret, fuzz.binaryDecorator)
Dcompiler_test.go207 "android_arm64_armv8-a").Module().(*Module).compiler.(*binaryDecorator).path.String()
Dbuilder.go309 if bin, ok := rustMod.compiler.(*binaryDecorator); ok {
Drust.go1736 if binary, ok := mod.compiler.(*binaryDecorator); ok {
1815 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.go198 stem := test.binaryDecorator.Properties.Stem
204 test.binaryDecorator.Properties.Stem = StringPtr(name)
209 test.binaryDecorator.Properties.Stem = StringPtr("")
337 *binaryDecorator anonMember
346 props := append(test.testDecorator.linkerProps(), test.binaryDecorator.linkerProps()...)
353 deps = test.binaryDecorator.linkerDeps(ctx, deps)
360 flags = test.binaryDecorator.linkerFlags(ctx, flags)
386 moduleInfoJSON.SubName = "_" + String(test.binaryDecorator.Properties.Stem)
397 test.binaryDecorator.moduleInfoJSON(ctx, moduleInfoJSON)
456 test.binaryDecorator.baseInstaller.dir = "nativetest"
[all …]
Dfuzz.go104 *binaryDecorator anonMember
117 props := fuzz.binaryDecorator.linkerProps()
124 fuzz.binaryDecorator.linkerInit(ctx)
142 deps = fuzzBin.binaryDecorator.linkerDeps(ctx, deps)
152 flags = fuzz.binaryDecorator.linkerFlags(ctx, flags)
172 fuzz.binaryDecorator.moduleInfoJSON(ctx, moduleInfoJSON)
302 fuzzBin.binaryDecorator.baseInstaller.dir = filepath.Join(
304 fuzzBin.binaryDecorator.baseInstaller.dir64 = filepath.Join(
306 fuzzBin.binaryDecorator.baseInstaller.installTestData(ctx, fuzzBin.data)
307 fuzzBin.binaryDecorator.baseInstaller.install(ctx, file)
[all …]
Dandroidmk.go308 func (binary *binaryDecorator) AndroidMkEntries(ctx AndroidMkContext, entries *android.AndroidMkEnt…
333 ctx.subAndroidMk(entries, benchmark.binaryDecorator)
350 ctx.subAndroidMk(entries, test.binaryDecorator)
355 entries.SubName = "_" + String(test.binaryDecorator.Properties.Stem)
378 ctx.subAndroidMk(entries, fuzz.binaryDecorator)
484 ctx.subAndroidMk(entries, p.binaryDecorator)
Dbinary_sdk_member.go129 binaryLinker := ccModule.linker.(*binaryDecorator)
Dprebuilt.go415 *binaryDecorator anonMember
502 func NewPrebuiltBinary(hod android.HostOrDeviceSupported) (*Module, *binaryDecorator) {
507 binaryDecorator: binary,
Dcmake_snapshot.go490 case *binaryDecorator:
Dcc.go3675 if b, ok := c.linker.(*binaryDecorator); ok {