(key: CacheKey)
| 1073 | } |
| 1074 | |
| 1075 | getExtraLdPaths(key: CacheKey): string[] { |
| 1076 | let toolchainPath: any; |
| 1077 | if (key.options) { |
| 1078 | toolchainPath = getToolchainPathWithOptionsArr(this.compiler.exe, key.options) || this.toolchainPath; |
| 1079 | } |
| 1080 | |
| 1081 | if (toolchainPath) { |
| 1082 | const sysrootPath = getSysrootByToolchainPath(toolchainPath); |
| 1083 | if (sysrootPath) { |
| 1084 | return [path.join(sysrootPath, 'lib')]; |
| 1085 | } |
| 1086 | } |
| 1087 | |
| 1088 | return []; |
| 1089 | } |
| 1090 | |
| 1091 | getIncludeArguments(libraries: SelectedLibraryVersion[], dirPath: string): string[] { |
| 1092 | const includeFlag = this.compiler.includeFlag || '-I'; |
no test coverage detected