Home
last modified time | relevance | path

Searched refs:binaryDecorator (Results 1 – 21 of 21) 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) android.Path { argument
[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)
129 benchmark.binaryDecorator.install(ctx)
Dfuzz.go34 *binaryDecorator anonMember
50 binaryDecorator: binary,
54 fuzz.binaryDecorator.baseCompiler.dir = "fuzz"
55 fuzz.binaryDecorator.baseCompiler.dir64 = "fuzz"
56 fuzz.binaryDecorator.baseCompiler.location = InstallInData
63 flags = fuzzer.binaryDecorator.compilerFlags(ctx, flags)
79 deps = fuzzer.binaryDecorator.compilerDeps(ctx, deps)
85 return append(fuzzer.binaryDecorator.compilerProps(),
178 fuzz.binaryDecorator.baseCompiler.dir = filepath.Join(
180 fuzz.binaryDecorator.baseCompiler.dir64 = filepath.Join(
[all …]
Dtest.go79 *binaryDecorator anonMember
109 binaryDecorator: &binaryDecorator{
119 return append(test.binaryDecorator.compilerProps(), &test.Properties)
187 test.binaryDecorator.install(ctx)
191 flags = test.binaryDecorator.compilerFlags(ctx, flags)
232 deps = test.binaryDecorator.compilerDeps(ctx, deps)
Dandroidmk.go88 func (binary *binaryDecorator) AndroidMk(ctx AndroidMkContext, ret *android.AndroidMkEntries) {
98 ctx.SubAndroidMk(ret, test.binaryDecorator)
118 benchmark.binaryDecorator.AndroidMk(ctx, ret)
208 ctx.SubAndroidMk(entries, fuzz.binaryDecorator)
Dproject_json.go208 case *binaryDecorator:
211 comp = c.binaryDecorator.baseCompiler
Dcompiler_test.go177 "android_arm64_armv8-a").Module().(*Module).compiler.(*binaryDecorator).path.String()
Dbuilder.go280 if _, ok := ctx.RustModule().compiler.(*binaryDecorator); ok {
Drust.go1525 if binary, ok := mod.compiler.(*binaryDecorator); ok {
1604 if _, ok := mod.compiler.(*binaryDecorator); ok {
/build/soong/python/
Dtest.go62 *binaryDecorator anonMember
72 return append(test.binaryDecorator.bootstrapperProps(), &test.testProperties)
77 test.testProperties.Test_config_template, test.binaryDecorator.binaryProperties.Test_suites,
78 test.binaryDecorator.binaryProperties.Auto_gen_config)
80 test.binaryDecorator.pythonInstaller.dir = "nativetest"
81 test.binaryDecorator.pythonInstaller.dir64 = "nativetest64"
83 test.binaryDecorator.pythonInstaller.relative = ctx.ModuleName()
85 test.binaryDecorator.pythonInstaller.install(ctx, file)
106 test := &testDecorator{binaryDecorator: binary}
Dbinary.go119 type binaryDecorator struct { struct
133 func NewBinary(hod android.HostOrDeviceSupported) (*Module, *binaryDecorator) {
135 decorator := &binaryDecorator{pythonInstaller: NewPythonInstaller("bin", "")}
151 func (binary *binaryDecorator) autorun() bool { argument
155 func (binary *binaryDecorator) bootstrapperProps() []interface{} { argument
159 func (binary *binaryDecorator) bootstrap(ctx android.ModuleContext, actualVersion string, argument
189 func (binary *binaryDecorator) getHostInterpreterName(ctx android.ModuleContext, argument
206 func (binary *binaryDecorator) getPyMainFile(ctx android.ModuleContext, argument
225 func (binary *binaryDecorator) getStem(ctx android.ModuleContext) string { argument
Dandroidmk.go48 func (p *binaryDecorator) AndroidMk(base *Module, entries *android.AndroidMkEntries) {
63 entries.AddCompatibilityTestSuites(p.binaryDecorator.binaryProperties.Test_suites...)
74 base.subAndroidMk(entries, p.binaryDecorator.pythonInstaller)
Dpython.go347 if bin, ok := p.installer.(*binaryDecorator); ok {
693 _, ok := p.bootstrapper.(*binaryDecorator)
/build/soong/cc/
Dbinary.go88 type binaryDecorator struct { struct
118 var _ linker = (*binaryDecorator)(nil)
122 func (binary *binaryDecorator) linkerProps() []interface{} { argument
133 func (binary *binaryDecorator) getStemWithoutSuffix(ctx BaseModuleContext) string { argument
144 func (binary *binaryDecorator) getStem(ctx BaseModuleContext) string { argument
150 func (binary *binaryDecorator) linkerDeps(ctx DepsContext, deps Deps) Deps { argument
196 func NewBinary(hod android.HostOrDeviceSupported) (*Module, *binaryDecorator) {
200 func newBinary(hod android.HostOrDeviceSupported, bazelable bool) (*Module, *binaryDecorator) {
202 binary := &binaryDecorator{
220 func (binary *binaryDecorator) linkerInit(ctx BaseModuleContext) { argument
[all …]
Dtest.go193 stem := test.binaryDecorator.Properties.Stem
199 test.binaryDecorator.Properties.Stem = StringPtr(name)
204 test.binaryDecorator.Properties.Stem = StringPtr("")
337 *binaryDecorator anonMember
346 props := append(test.testDecorator.linkerProps(), test.binaryDecorator.linkerProps()...)
352 test.testDecorator.linkerInit(ctx, test.binaryDecorator.baseLinker)
353 test.binaryDecorator.linkerInit(ctx)
358 deps = test.binaryDecorator.linkerDeps(ctx, deps)
365 flags = test.binaryDecorator.linkerFlags(ctx, flags)
461 test.binaryDecorator.baseInstaller.dir = "nativetest"
[all …]
Dfuzz.go47 *binaryDecorator anonMember
60 props := fuzz.binaryDecorator.linkerProps()
66 fuzz.binaryDecorator.linkerInit(ctx)
72 deps = fuzz.binaryDecorator.linkerDeps(ctx, deps)
77 flags = fuzz.binaryDecorator.linkerFlags(ctx, flags)
168 fuzz.binaryDecorator.baseInstaller.dir = filepath.Join(
170 fuzz.binaryDecorator.baseInstaller.dir64 = filepath.Join(
172 fuzz.binaryDecorator.baseInstaller.install(ctx, file)
247 binaryDecorator: binary,
Dandroidmk.go342 func (binary *binaryDecorator) AndroidMkEntries(ctx AndroidMkContext, entries *android.AndroidMkEnt…
367 ctx.subAndroidMk(entries, benchmark.binaryDecorator)
389 ctx.subAndroidMk(entries, test.binaryDecorator)
394 entries.SubName = "_" + String(test.binaryDecorator.Properties.Stem)
419 ctx.subAndroidMk(entries, fuzz.binaryDecorator)
614 ctx.subAndroidMk(entries, p.binaryDecorator)
Dbinary_sdk_member.go129 binaryLinker := ccModule.linker.(*binaryDecorator)
Dprebuilt.go568 *binaryDecorator anonMember
655 func NewPrebuiltBinary(hod android.HostOrDeviceSupported) (*Module, *binaryDecorator) {
660 binaryDecorator: binary,
Dsnapshot_prebuilt.go647 *binaryDecorator anonMember
718 binaryDecorator: binary,
Dcc.go3276 if b, ok := c.linker.(*binaryDecorator); ok {