Home
last modified time | relevance | path

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

/aosp_15_r20/build/soong/cc/
H A 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 …]
H A Dtest.go270 *binaryDecorator anonMember
279 props := append(test.testDecorator.linkerProps(), test.binaryDecorator.linkerProps()...)
286 deps = test.binaryDecorator.linkerDeps(ctx, deps)
293 flags = test.binaryDecorator.linkerFlags(ctx, flags)
326 test.binaryDecorator.moduleInfoJSON(ctx, moduleInfoJSON)
387 test.binaryDecorator.baseInstaller.dir = "nativetest"
388 test.binaryDecorator.baseInstaller.dir64 = "nativetest64"
391 test.binaryDecorator.baseInstaller.relative = ctx.ModuleName()
392 } else if String(test.binaryDecorator.baseInstaller.Properties.Relative_install_path) == "" {
400 test.binaryDecorator.baseInstaller.installTestData(ctx, test.data)
[all …]
H A 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)
340 fuzzBin.binaryDecorator.baseInstaller.dir = filepath.Join(
342 fuzzBin.binaryDecorator.baseInstaller.dir64 = filepath.Join(
344 fuzzBin.binaryDecorator.baseInstaller.installTestData(ctx, fuzzBin.data)
345 fuzzBin.binaryDecorator.baseInstaller.install(ctx, file)
[all …]
H A Dandroidmk.go335 func (binary *binaryDecorator) prepareAndroidMKProviderInfo(config android.Config, ctx AndroidMkCon…
358 ctx.subAndroidMk(config, entries, benchmark.binaryDecorator)
373 ctx.subAndroidMk(config, entries, test.binaryDecorator)
396 ctx.subAndroidMk(config, entries, fuzz.binaryDecorator)
488 ctx.subAndroidMk(config, entries, p.binaryDecorator)
H A Dprebuilt.go424 *binaryDecorator anonMember
511 func NewPrebuiltBinary(hod android.HostOrDeviceSupported) (*Module, *binaryDecorator) {
516 binaryDecorator: binary,
H A Dbinary_sdk_member.go129 binaryLinker := ccModule.linker.(*binaryDecorator)
H A Dcmake_snapshot.go528 case *binaryDecorator:
H A Dcc.go3618 if b, ok := c.linker.(*binaryDecorator); ok {
/aosp_15_r20/build/soong/rust/
H A 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 …]
H A 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 …]
H A 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)
H A Dtest.go78 *binaryDecorator anonMember
108 binaryDecorator: &binaryDecorator{
118 return append(test.binaryDecorator.compilerProps(), &test.Properties)
197 test.binaryDecorator.installTestData(ctx, test.data)
198 test.binaryDecorator.install(ctx)
202 flags = test.binaryDecorator.compilerFlags(ctx, flags)
246 deps = test.binaryDecorator.compilerDeps(ctx, deps)
H A 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)
H A Dcompiler_test.go207 "android_arm64_armv8-a").Module().(*Module).compiler.(*binaryDecorator).path.String()
H A Dbuilder.go312 if bin, ok := rustMod.compiler.(*binaryDecorator); ok {
H A Drust.go1777 if binary, ok := mod.compiler.(*binaryDecorator); ok {
1870 if _, ok := mod.compiler.(*binaryDecorator); ok {