Home
last modified time | relevance | path

Searched refs:libraryDecorator (Results 1 – 24 of 24) sorted by relevance

/build/soong/rust/
Dlibrary.go74 type libraryDecorator struct { struct
110 func (library *libraryDecorator) nativeCoverage() bool { argument
114 func (library *libraryDecorator) rlib() bool { argument
118 func (library *libraryDecorator) dylib() bool { argument
122 func (library *libraryDecorator) shared() bool { argument
126 func (library *libraryDecorator) static() bool { argument
130 func (library *libraryDecorator) buildRlib() bool { argument
134 func (library *libraryDecorator) buildDylib() bool { argument
138 func (library *libraryDecorator) buildShared() bool { argument
142 func (library *libraryDecorator) buildStatic() bool { argument
[all …]
Dprebuilt.go35 *libraryDecorator anonMember
62 libraryDecorator: library,
73 libraryDecorator: library,
84 libraryDecorator: library,
91 return append(prebuilt.libraryDecorator.compilerProps(),
120 srcs = append(srcs, prebuilt.libraryDecorator.Properties.Rlib.Srcs...)
123 srcs = append(srcs, prebuilt.libraryDecorator.Properties.Dylib.Srcs...)
Dcompiler_test.go91 "android_arm64_armv8-a_dylib").Module().(*Module).compiler.(*libraryDecorator).path.String()
93 "android_arm_armv7-a-neon_dylib").Module().(*Module).compiler.(*libraryDecorator).path.String()
Dproject_json.go105 rustLib, ok := rModule.compiler.(*libraryDecorator)
Dandroidmk.go123 func (library *libraryDecorator) AndroidMk(ctx AndroidMkContext, ret *android.AndroidMkData) {
Drust.go389 if _, ok := mod.compiler.(*libraryDecorator); ok {
409 if library, ok := mod.compiler.(*libraryDecorator); ok {
511 if library, ok := mod.compiler.(*libraryDecorator); ok {
/build/soong/cc/
Dprebuilt.go75 *libraryDecorator anonMember
85 return p.libraryDecorator.linkerDeps(ctx, deps)
93 return p.libraryDecorator.linkerProps()
99 p.libraryDecorator.exportIncludes(ctx)
100 p.libraryDecorator.reexportDirs(deps.ReexportedDirs...)
101 p.libraryDecorator.reexportSystemDirs(deps.ReexportedSystemDirs...)
102 p.libraryDecorator.reexportFlags(deps.ReexportedFlags...)
103 p.libraryDecorator.reexportDeps(deps.ReexportedDeps...)
104 p.libraryDecorator.addExportedGeneratedHeaders(deps.ReexportedGeneratedHeaders...)
124 libName := p.libraryDecorator.getLibName(ctx) + flags.Toolchain.ShlibSuffix()
[all …]
Dkernel_headers.go22 *libraryDecorator anonMember
27 f := &stub.libraryDecorator.flagExporter
30 return stub.libraryDecorator.linkStatic(ctx, flags, deps, objs)
43 libraryDecorator: library,
Dllndk_library.go71 *libraryDecorator anonMember
110 stub.libraryDecorator.libName = strings.TrimSuffix(ctx.ModuleName(),
112 return stub.libraryDecorator.linkerFlags(ctx, flags)
163 stub.libraryDecorator.flagExporter.Properties.Export_include_dirs = []string{}
170 return stub.libraryDecorator.link(ctx, flags, deps, objs)
185 libraryDecorator: library,
216 *libraryDecorator anonMember
232 libraryDecorator: library,
Dlibrary.go327 type libraryDecorator struct { struct
397 func (l *libraryDecorator) collectHeadersForSnapshot(ctx android.ModuleContext) { argument
469 func (l *libraryDecorator) snapshotHeaders() android.Paths { argument
476 func (library *libraryDecorator) linkerProps() []interface{} { argument
495 func (library *libraryDecorator) linkerFlags(ctx ModuleContext, flags Flags) Flags { argument
545 func (library *libraryDecorator) compilerFlags(ctx ModuleContext, flags Flags, deps PathDeps) Flags… argument
580 func (library *libraryDecorator) classifySourceAbiDump(ctx ModuleContext) string { argument
613 func (library *libraryDecorator) shouldCreateSourceAbiDump(ctx ModuleContext) bool { argument
633 func (library *libraryDecorator) compile(ctx ModuleContext, flags Flags, deps PathDeps) Objects { argument
707 func (library *libraryDecorator) getLibNameHelper(baseModuleName string, useVndk bool) string { argument
[all …]
Dvendor_public_library.go70 *libraryDecorator anonMember
119 stub.libraryDecorator.libName = strings.TrimSuffix(ctx.ModuleName(), vendorPublicLibrarySuffix)
120 return stub.libraryDecorator.linkerFlags(ctx, flags)
130 return stub.libraryDecorator.link(ctx, flags, deps, objs)
150 libraryDecorator: library,
Dvndk_prebuilt.go74 *libraryDecorator anonMember
110 p.libraryDecorator.libName = strings.TrimSuffix(ctx.ModuleName(), p.NameSuffix())
111 return p.libraryDecorator.linkerFlags(ctx, flags)
137 p.libraryDecorator.exportIncludes(ctx)
138 p.libraryDecorator.reexportFlags(p.properties.Export_flags...)
219 libraryDecorator: library,
Dtoolchain_library.go38 *libraryDecorator anonMember
52 props = append(props, library.libraryDecorator.linkerProps()...)
63 libraryDecorator: library,
Dndk_prebuilt.go101 *libraryDecorator anonMember
105 return append(ndk.libraryDecorator.linkerProps(), &ndk.Properties, &ndk.flagExporter.Properties)
127 libraryDecorator: library,
145 libraryDecorator: library,
Dandroidmk.go191 func (library *libraryDecorator) androidMkWriteExportedFlags(entries *android.AndroidMkEntries) {
208 func (library *libraryDecorator) androidMkEntriesWriteAdditionalDependenciesForSourceAbiDiff(entrie…
222 func (library *libraryDecorator) androidMkWriteAdditionalDependenciesForSourceAbiDiff(w io.Writer) {
235 func (library *libraryDecorator) AndroidMkEntries(ctx AndroidMkContext, entries *android.AndroidMkE…
429 ctx.subAndroidMk(entries, test.libraryDecorator)
480 c.libraryDecorator.androidMkWriteExportedFlags(entries)
496 c.libraryDecorator.androidMkWriteExportedFlags(entries)
528 c.libraryDecorator.androidMkWriteExportedFlags(entries)
592 c.libraryDecorator.androidMkWriteExportedFlags(entries)
616 ctx.subAndroidMk(entries, p.libraryDecorator)
Dtest.go443 *libraryDecorator anonMember
447 return append(test.testDecorator.linkerProps(), test.libraryDecorator.linkerProps()...)
451 test.testDecorator.linkerInit(ctx, test.libraryDecorator.baseLinker)
452 test.libraryDecorator.linkerInit(ctx)
457 deps = test.libraryDecorator.linkerDeps(ctx, deps)
462 flags = test.libraryDecorator.linkerFlags(ctx, flags)
474 libraryDecorator: library,
Dndk_library.go92 *libraryDecorator anonMember
336 stub.libraryDecorator.libName = ctx.baseModuleName()
337 return stub.libraryDecorator.linkerFlags(ctx, flags)
354 return stub.libraryDecorator.link(ctx, flags, deps, objs)
385 libraryDecorator: library,
Dvendor_snapshot.go108 *libraryDecorator anonMember
144 p.libraryDecorator.libName = strings.TrimSuffix(ctx.ModuleName(), p.NameSuffix())
145 return p.libraryDecorator.linkerFlags(ctx, flags)
165 return p.libraryDecorator.link(ctx, flags, deps, objs)
172 p.libraryDecorator.exportIncludes(ctx)
173 p.libraryDecorator.reexportFlags(p.properties.Export_flags...)
225 libraryDecorator: library,
249 prebuilt.libraryDecorator.BuildOnlyShared()
258 prebuilt.libraryDecorator.BuildOnlyStatic()
267 prebuilt.libraryDecorator.HeaderOnly()
Dsnapshot_utils.go32 var _ snapshotLibraryInterface = (*libraryDecorator)(nil)
Dcc.go632 if library, ok := c.linker.(*libraryDecorator); ok {
641 if _, ok := c.linker.(*libraryDecorator); ok {
661 if library, ok := c.linker.(*libraryDecorator); ok {
679 if library, ok := c.linker.(*libraryDecorator); ok {
688 if library, ok := c.linker.(*libraryDecorator); ok {
693 llndk.libraryDecorator.MutatedProperties.StubsVersion = version
702 if library, ok := c.linker.(*libraryDecorator); ok {
706 return llndk.libraryDecorator.MutatedProperties.StubsVersion
987 if library, ok := c.linker.(*libraryDecorator); ok {
996 if library, ok := c.linker.(*libraryDecorator); ok {
[all …]
Dvndk.go152 if lib, ok := to.linker.(*libraryDecorator); !ok || !lib.shared() {
404 lib, is_lib := m.linker.(*libraryDecorator)
772 if library, ok := m.linker.(*libraryDecorator); ok {
776 return prebuilt.libraryDecorator.getLibNameHelper(m.BaseModuleName(), true) + ".so", nil
Dndk_sysroot.go142 if library, ok := m.linker.(*libraryDecorator); ok {
Dlibrary_sdk_member.go128 if lib, ok := ccModule.linker.(*libraryDecorator); ok {
Dcc_test.go231 lib, ok := mod.compiler.(*libraryDecorator)