(
filters: ParseFiltersAndOutputOptions,
libraries: SelectedLibraryVersion[],
toolchainPath: string | undefined,
dirPath: string,
)
| 1279 | } |
| 1280 | |
| 1281 | protected getLibLinkInfo( |
| 1282 | filters: ParseFiltersAndOutputOptions, |
| 1283 | libraries: SelectedLibraryVersion[], |
| 1284 | toolchainPath: string | undefined, |
| 1285 | dirPath: string, |
| 1286 | ) { |
| 1287 | let libLinks: string[] = []; |
| 1288 | let libPathsAsFlags: string[] = []; |
| 1289 | let staticLibLinks: string[] = []; |
| 1290 | |
| 1291 | if (filters.binary) { |
| 1292 | libLinks = (this.getSharedLibraryLinks(libraries).filter(Boolean) as string[]) || []; |
| 1293 | libPathsAsFlags = this.getSharedLibraryPathsAsArguments(libraries, undefined, toolchainPath, dirPath); |
| 1294 | const libPaths = this.getSharedLibraryPaths(libraries, dirPath); |
| 1295 | staticLibLinks = (this.getStaticLibraryLinks(libraries, libPaths).filter(Boolean) as string[]) || []; |
| 1296 | } |
| 1297 | return {libLinks, libPathsAsFlags, staticLibLinks}; |
| 1298 | } |
| 1299 | |
| 1300 | protected fixIncompatibleOptions( |
| 1301 | options: string[], |
no test coverage detected