Home
last modified time | relevance | path

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

/build/soong/rust/
Dlibrary.go93 type libraryDecorator struct { struct
138 func (library *libraryDecorator) nativeCoverage() bool { argument
142 func (library *libraryDecorator) rlib() bool { argument
146 func (library *libraryDecorator) sysroot() bool { argument
150 func (library *libraryDecorator) dylib() bool { argument
154 func (library *libraryDecorator) shared() bool { argument
158 func (library *libraryDecorator) static() bool { argument
162 func (library *libraryDecorator) source() bool { argument
166 func (library *libraryDecorator) buildRlib() bool { argument
170 func (library *libraryDecorator) buildDylib() bool { argument
[all …]
Dprebuilt.go35 *libraryDecorator anonMember
62 libraryDecorator: library,
73 libraryDecorator: library,
84 libraryDecorator: library,
91 return append(prebuilt.libraryDecorator.compilerProps(),
124 srcs = append(srcs, prebuilt.libraryDecorator.Properties.Rlib.Srcs...)
127 srcs = append(srcs, prebuilt.libraryDecorator.Properties.Dylib.Srcs...)
Dproject_json.go88 rustLib, ok := rModule.compiler.(*libraryDecorator)
111 rustLib, ok := rModule.compiler.(*libraryDecorator)
131 variantLib, _ := rVariant.compiler.(*libraryDecorator)
206 case *libraryDecorator:
Dcompiler_test.go114 "android_arm64_armv8-a_dylib").Module().(*Module).compiler.(*libraryDecorator).path.String()
116 "android_arm_armv7-a-neon_dylib").Module().(*Module).compiler.(*libraryDecorator).path.String()
Drust.go538 if _, ok := mod.compiler.(*libraryDecorator); ok {
558 if library, ok := mod.compiler.(*libraryDecorator); ok {
812 sourceLib := sourceMod.(*Module).compiler.(*libraryDecorator)
1345 if lib, ok := mod.compiler.(*libraryDecorator); ok && (lib.shared() || lib.dylib()) {
Dandroidmk.go128 func (library *libraryDecorator) AndroidMk(ctx AndroidMkContext, ret *android.AndroidMkEntries) {
/build/soong/cc/
Dprebuilt.go78 *libraryDecorator anonMember
88 return p.libraryDecorator.linkerDeps(ctx, deps)
96 return p.libraryDecorator.linkerProps()
102 p.libraryDecorator.flagExporter.exportIncludes(ctx)
103 p.libraryDecorator.flagExporter.reexportDirs(deps.ReexportedDirs...)
104 p.libraryDecorator.flagExporter.reexportSystemDirs(deps.ReexportedSystemDirs...)
105 p.libraryDecorator.flagExporter.reexportFlags(deps.ReexportedFlags...)
106 p.libraryDecorator.flagExporter.reexportDeps(deps.ReexportedDeps...)
107 p.libraryDecorator.flagExporter.addExportedGeneratedHeaders(deps.ReexportedGeneratedHeaders...)
109 p.libraryDecorator.flagExporter.setProvider(ctx)
[all …]
Dkernel_headers.go22 *libraryDecorator anonMember
27 f := &stub.libraryDecorator.flagExporter
31 return stub.libraryDecorator.linkStatic(ctx, flags, deps, objs)
44 libraryDecorator: library,
Dvndk_prebuilt.go75 *libraryDecorator anonMember
115 p.libraryDecorator.libName = strings.TrimSuffix(ctx.ModuleName(), p.NameSuffix())
116 return p.libraryDecorator.linkerFlags(ctx, flags)
142 p.libraryDecorator.exportIncludes(ctx)
143 p.libraryDecorator.reexportFlags(p.properties.Export_flags...)
178 p.libraryDecorator.flagExporter.setProvider(ctx)
221 libraryDecorator: library,
Dlibrary.go464 type libraryDecorator struct { struct
584 i.(*libraryDecorator).collectedSnapshotHeaders = android.Paths{}
596 func (l *libraryDecorator) collectHeadersForSnapshot(ctx android.ModuleContext) { argument
678 func (l *libraryDecorator) snapshotHeaders() android.Paths { argument
687 func (library *libraryDecorator) linkerProps() []interface{} { argument
709 func (library *libraryDecorator) linkerFlags(ctx ModuleContext, flags Flags) Flags { argument
762 func (library *libraryDecorator) compilerFlags(ctx ModuleContext, flags Flags, deps PathDeps) Flags… argument
801 func (library *libraryDecorator) headerAbiCheckerEnabled() bool { argument
805 func (library *libraryDecorator) headerAbiCheckerExplicitlyDisabled() bool { argument
809 func (library *libraryDecorator) compile(ctx ModuleContext, flags Flags, deps PathDeps) Objects { argument
[all …]
Dndk_prebuilt.go100 *libraryDecorator anonMember
104 return append(ndk.libraryDecorator.linkerProps(), &ndk.Properties, &ndk.flagExporter.Properties)
126 libraryDecorator: library,
144 libraryDecorator: library,
167 ndk.libraryDecorator.flagExporter.exportIncludesAsSystem(ctx)
178 ndk.libraryDecorator.flagExporter.setProvider(ctx)
Dsnapshot_prebuilt.go539 *libraryDecorator anonMember
550 p.libraryDecorator.libName = strings.TrimSuffix(ctx.ModuleName(), p.NameSuffix())
551 return p.libraryDecorator.linkerFlags(ctx, flags)
572 return p.libraryDecorator.link(ctx, flags, deps, objs)
584 …p.libraryDecorator.reexportDirs(android.PathsForModuleSrc(ctx, p.properties.Export_include_dirs)..…
585 …p.libraryDecorator.reexportSystemDirs(android.PathsForModuleSrc(ctx, p.properties.Export_system_in…
586 p.libraryDecorator.reexportFlags(p.properties.Export_flags...)
589 p.libraryDecorator.reexportDirs(deps.ReexportedDirs...)
590 p.libraryDecorator.reexportSystemDirs(deps.ReexportedSystemDirs...)
591 p.libraryDecorator.reexportFlags(deps.ReexportedFlags...)
[all …]
Dtoolchain_library.go38 *libraryDecorator anonMember
51 props = append(props, library.libraryDecorator.linkerProps()...)
62 libraryDecorator: library,
Dndk_library.go85 *libraryDecorator anonMember
285 stub.libraryDecorator.libName = ctx.baseModuleName()
286 return stub.libraryDecorator.linkerFlags(ctx, flags)
303 stub.libraryDecorator.skipAPIDefine = true
304 return stub.libraryDecorator.link(ctx, flags, deps, objs)
333 libraryDecorator: library,
Dbp2build.go73 if lib, ok := module.compiler.(*libraryDecorator); ok {
98 lib, ok := module.compiler.(*libraryDecorator)
136 lib, ok := module.compiler.(*libraryDecorator)
241 } else if c, ok := module.compiler.(*libraryDecorator); ok && c.includeBuildDirectory() {
413 libraryDecorator := module.linker.(*libraryDecorator)
418 includeDirs := libraryDecorator.flagExporter.Properties.Export_system_include_dirs
419 includeDirs = append(includeDirs, libraryDecorator.flagExporter.Properties.Export_include_dirs...)
Dtest.go482 *libraryDecorator anonMember
486 return append(test.testDecorator.linkerProps(), test.libraryDecorator.linkerProps()...)
490 test.testDecorator.linkerInit(ctx, test.libraryDecorator.baseLinker)
491 test.libraryDecorator.linkerInit(ctx)
496 deps = test.libraryDecorator.linkerDeps(ctx, deps)
501 flags = test.libraryDecorator.linkerFlags(ctx, flags)
513 libraryDecorator: library,
Dandroidmk.go193 func (library *libraryDecorator) androidMkWriteExportedFlags(entries *android.AndroidMkEntries) {
224 func (library *libraryDecorator) androidMkEntriesWriteAdditionalDependenciesForSourceAbiDiff(entrie…
231 func (library *libraryDecorator) androidMkWriteAdditionalDependenciesForSourceAbiDiff(w io.Writer) {
237 func (library *libraryDecorator) AndroidMkEntries(ctx AndroidMkContext, entries *android.AndroidMkE…
436 ctx.subAndroidMk(entries, test.libraryDecorator)
494 c.libraryDecorator.androidMkWriteExportedFlags(entries)
534 c.libraryDecorator.androidMkWriteExportedFlags(entries)
598 ctx.subAndroidMk(entries, p.libraryDecorator)
Dsnapshot_utils.go71 var _ snapshotLibraryInterface = (*libraryDecorator)(nil)
Dimage.go636 if lib, ok := m.compiler.(*libraryDecorator); ok {
649 if lib, ok := m.compiler.(*libraryDecorator); ok {
662 if lib, ok := m.compiler.(*libraryDecorator); ok {
675 if lib, ok := m.compiler.(*libraryDecorator); ok {
Dndk_sysroot.go126 if library, ok := m.linker.(*libraryDecorator); ok {
Dlibrary_headers.go50 library *libraryDecorator
Dlibrary_sdk_member.go151 if lib, ok := ccModule.linker.(*libraryDecorator); ok {