Home
last modified time | relevance | path

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

/build/soong/python/
Dtest.go40 *binaryDecorator anonMember
48 return append(test.binaryDecorator.bootstrapperProps(), &test.testProperties)
53 test.testProperties.Test_config_template, test.binaryDecorator.binaryProperties.Test_suites,
54 test.binaryDecorator.binaryProperties.Auto_gen_config)
56 test.binaryDecorator.pythonInstaller.dir = "nativetest"
57 test.binaryDecorator.pythonInstaller.dir64 = "nativetest64"
59 test.binaryDecorator.pythonInstaller.relative = ctx.ModuleName()
61 test.binaryDecorator.pythonInstaller.install(ctx, file)
69 test := &testDecorator{binaryDecorator: binary}
Dbinary.go57 type binaryDecorator struct { struct
71 func NewBinary(hod android.HostOrDeviceSupported) (*Module, *binaryDecorator) {
73 decorator := &binaryDecorator{pythonInstaller: NewPythonInstaller("bin", "")}
87 func (binary *binaryDecorator) autorun() bool { argument
91 func (binary *binaryDecorator) bootstrapperProps() []interface{} { argument
95 func (binary *binaryDecorator) bootstrap(ctx android.ModuleContext, actualVersion string, argument
125 func (binary *binaryDecorator) getHostInterpreterName(ctx android.ModuleContext, argument
142 func (binary *binaryDecorator) getPyMainFile(ctx android.ModuleContext, argument
161 func (binary *binaryDecorator) getStem(ctx android.ModuleContext) string { argument
Dandroidmk.go49 func (p *binaryDecorator) AndroidMk(base *Module, ret *android.AndroidMkData) {
65 if len(p.binaryDecorator.binaryProperties.Test_suites) > 0 {
67 strings.Join(p.binaryDecorator.binaryProperties.Test_suites, " "))
78 base.subAndroidMk(ret, p.binaryDecorator.pythonInstaller)
Dpython.go258 return android.OptionalPathForPath(p.installer.(*binaryDecorator).path)
/build/soong/rust/
Dbinary.go32 type binaryDecorator struct { struct
38 var _ compiler = (*binaryDecorator)(nil)
51 func NewRustBinary(hod android.HostOrDeviceSupported) (*Module, *binaryDecorator) {
54 binary := &binaryDecorator{
63 func (binary *binaryDecorator) preferDynamic() bool { argument
67 func (binary *binaryDecorator) compilerFlags(ctx ModuleContext, flags Flags) Flags { argument
85 func (binary *binaryDecorator) compilerDeps(ctx DepsContext, deps Deps) Deps { argument
97 func (binary *binaryDecorator) compilerProps() []interface{} { argument
102 func (binary *binaryDecorator) nativeCoverage() bool { argument
106 func (binary *binaryDecorator) compile(ctx ModuleContext, flags Flags, deps PathDeps) android.Path { argument
[all …]
Dtest.go50 *binaryDecorator anonMember
70 binaryDecorator: &binaryDecorator{
81 return append(test.binaryDecorator.compilerProps(), &test.Properties)
99 test.binaryDecorator.install(ctx, file)
103 flags = test.binaryDecorator.compilerFlags(ctx, flags)
Dcompiler_test.go95 "android_arm64_armv8-a").Module().(*Module).compiler.(*binaryDecorator).path.String()
Dandroidmk.go89 func (binary *binaryDecorator) AndroidMk(ctx AndroidMkContext, ret *android.AndroidMkData) {
106 test.binaryDecorator.AndroidMk(ctx, ret)
Drust.go1036 if _, ok := mod.compiler.(*binaryDecorator); ok {
/build/soong/cc/
Dbinary.go83 type binaryDecorator struct { struct
107 var _ linker = (*binaryDecorator)(nil)
109 func (binary *binaryDecorator) linkerProps() []interface{} { argument
116 func (binary *binaryDecorator) getStemWithoutSuffix(ctx BaseModuleContext) string { argument
125 func (binary *binaryDecorator) getStem(ctx BaseModuleContext) string { argument
129 func (binary *binaryDecorator) linkerDeps(ctx DepsContext, deps Deps) Deps { argument
190 func (binary *binaryDecorator) isDependencyRoot() bool { argument
194 func NewBinary(hod android.HostOrDeviceSupported) (*Module, *binaryDecorator) {
196 binary := &binaryDecorator{
211 func (binary *binaryDecorator) linkerInit(ctx BaseModuleContext) { argument
[all …]
Dtest.go173 stem := test.binaryDecorator.Properties.Stem
179 test.binaryDecorator.Properties.Stem = StringPtr(name)
184 test.binaryDecorator.Properties.Stem = StringPtr("")
310 *binaryDecorator anonMember
318 props := append(test.testDecorator.linkerProps(), test.binaryDecorator.linkerProps()...)
324 test.testDecorator.linkerInit(ctx, test.binaryDecorator.baseLinker)
325 test.binaryDecorator.linkerInit(ctx)
330 deps = test.binaryDecorator.linkerDeps(ctx, deps)
336 flags = test.binaryDecorator.linkerFlags(ctx, flags)
411 test.binaryDecorator.baseInstaller.dir = "nativetest"
[all …]
Dfuzz.go83 *binaryDecorator anonMember
97 props := fuzz.binaryDecorator.linkerProps()
103 fuzz.binaryDecorator.linkerInit(ctx)
109 deps = fuzz.binaryDecorator.linkerDeps(ctx, deps)
114 flags = fuzz.binaryDecorator.linkerFlags(ctx, flags)
210 fuzz.binaryDecorator.baseInstaller.dir = filepath.Join(
212 fuzz.binaryDecorator.baseInstaller.dir64 = filepath.Join(
214 fuzz.binaryDecorator.baseInstaller.install(ctx, file)
296 binaryDecorator: binary,
Dandroidmk.go324 func (binary *binaryDecorator) AndroidMkEntries(ctx AndroidMkContext, entries *android.AndroidMkEnt…
349 ctx.subAndroidMk(entries, benchmark.binaryDecorator)
372 ctx.subAndroidMk(entries, test.binaryDecorator)
375 entries.SubName = "_" + String(test.binaryDecorator.Properties.Stem)
394 ctx.subAndroidMk(entries, fuzz.binaryDecorator)
624 ctx.subAndroidMk(entries, p.binaryDecorator)
Dprebuilt.go329 *binaryDecorator anonMember
378 func NewPrebuiltBinary(hod android.HostOrDeviceSupported) (*Module, *binaryDecorator) {
383 binaryDecorator: binary,
Dbinary_sdk_member.go129 binaryLinker := ccModule.linker.(*binaryDecorator)
Dvendor_snapshot.go286 *binaryDecorator anonMember
367 binaryDecorator: binary,