test(compiler-cli): fix the incremental ngc tests so that they run under bazel (#25275)

PR Close #25275
This commit is contained in:
Alex Rickabaugh
2018-08-21 12:52:55 -07:00
committed by Matias Niemelä
parent 5653fada32
commit ab32ac6bb7
2 changed files with 43 additions and 13 deletions

View File

@ -393,6 +393,9 @@ export class TsCompilerAotCompilerTypeCheckHostAdapter implements ts.CompilerHos
getSourceFile(
fileName: string, languageVersion: ts.ScriptTarget,
onError?: ((message: string) => void)|undefined): ts.SourceFile {
if (fileName.endsWith('@angular/core/src/di/injection_token.d.ts')) {
debugger;
}
// Note: Don't exit early in this method to make sure
// we always have up to date references on the file!
let genFileNames: string[] = [];