Lines Matching refs:lib
1698 for _, lib := range deps.ReexportSharedLibHeaders {
1699 if !inList(lib, deps.SharedLibs) {
1700 ctx.PropertyErrorf("export_shared_lib_headers", "Shared library not in shared_libs: '%s'", lib)
1704 for _, lib := range deps.ReexportStaticLibHeaders {
1705 if !inList(lib, deps.StaticLibs) {
1706 ctx.PropertyErrorf("export_static_lib_headers", "Static library not in static_libs: '%s'", lib)
1710 for _, lib := range deps.ReexportHeaderLibHeaders {
1711 if !inList(lib, deps.HeaderLibs) {
1712 ctx.PropertyErrorf("export_header_lib_headers", "Header library not in header_libs: '%s'", lib)
1783 rewriteVendorLibs := func(lib string) string {
1784 if isLlndkLibrary(lib, ctx.Config()) {
1785 return lib + llndkLibrarySuffix
1790 return lib
1793 if snapshot, ok := vendorSnapshotSharedLibs.get(lib, actx.Arch().ArchType); ok {
1797 return lib
1832 for idx, lib := range deps.RuntimeLibs {
1833 deps.RuntimeLibs[idx] = rewriteVendorLibs(lib)
1847 rewriteSnapshotLibs := func(lib string, snapshotMap *snapshotMap) string {
1850 return lib
1853 if snapshot, ok := snapshotMap.get(lib, actx.Arch().ArchType); ok {
1857 return lib
1861 for _, lib := range deps.HeaderLibs {
1863 if inList(lib, deps.ReexportHeaderLibHeaders) {
1867 lib = rewriteSnapshotLibs(lib, vendorSnapshotHeaderLibs)
1871 depTag, lib)
1873 actx.AddVariationDependencies(nil, depTag, lib)
1886 for _, lib := range deps.WholeStaticLibs {
1888 if impl, ok := syspropImplLibraries[lib]; ok {
1889 lib = impl
1892 lib = rewriteSnapshotLibs(lib, vendorSnapshotStaticLibs)
1896 }, depTag, lib)
1899 for _, lib := range deps.StaticLibs {
1901 if inList(lib, deps.ReexportStaticLibHeaders) {
1905 if impl, ok := syspropImplLibraries[lib]; ok {
1906 lib = impl
1909 lib = rewriteSnapshotLibs(lib, vendorSnapshotStaticLibs)
1913 }, depTag, lib)
1925 for _, lib := range deps.LateStaticLibs {
1928 }, lateStaticDepTag, rewriteSnapshotLibs(lib, vendorSnapshotStaticLibs))
1958 for _, lib := range deps.SharedLibs {
1963 if inList(lib, deps.ReexportSharedLibHeaders) {
1967 if impl, ok := syspropImplLibraries[lib]; ok {
1968 lib = impl
1971 name, version := StubsLibNameAndVersion(lib)
1977 for _, lib := range deps.LateSharedLibs {
1978 if inList(lib, sharedLibNames) {
1984 addSharedLibDependencies(lateSharedDepTag, lib, "")
2170 if lib, ok := to.linker.(*libraryDecorator); !ok || !lib.shared() {
2193 if lib, ok := module.linker.(*libraryDecorator); ok && lib.shared() {
2771 if lib, ok := c.linker.(*llndkStubDecorator); ok {
2772 if Bool(lib.Properties.Vendor_available) {
3009 if lib, ok := m.compiler.(*libraryDecorator); ok {
3010 lib.baseCompiler.Properties.Srcs = append(lib.baseCompiler.Properties.Srcs,
3011 lib.baseCompiler.Properties.Target.Vendor.Srcs...)
3013 lib.baseCompiler.Properties.Exclude_srcs = append(lib.baseCompiler.Properties.Exclude_srcs,
3014 lib.baseCompiler.Properties.Target.Vendor.Exclude_srcs...)
3016 …lib.baseCompiler.Properties.Exclude_generated_sources = append(lib.baseCompiler.Properties.Exclude…
3017 lib.baseCompiler.Properties.Target.Vendor.Exclude_generated_sources...)
3022 if lib, ok := m.compiler.(*libraryDecorator); ok {
3023 lib.baseCompiler.Properties.Srcs = append(lib.baseCompiler.Properties.Srcs,
3024 lib.baseCompiler.Properties.Target.Recovery.Srcs...)
3026 lib.baseCompiler.Properties.Exclude_srcs = append(lib.baseCompiler.Properties.Exclude_srcs,
3027 lib.baseCompiler.Properties.Target.Recovery.Exclude_srcs...)
3029 …lib.baseCompiler.Properties.Exclude_generated_sources = append(lib.baseCompiler.Properties.Exclude…
3030 lib.baseCompiler.Properties.Target.Recovery.Exclude_generated_sources...)