function getTransitiveDeps(testFile, generatedFilesDir) {
  var depsScanner = TransitiveDepsScanner.getInstance(generatedFilesDir);
  return depsScanner.getDeps(testFile);
}
@param {string} testFile The test file to be compiled.
@param {string} generatedFilesDir The folder that holds auto-generated code.
@return {!Array<string>}