code: function genDeps(basePath, targets) {
    var provideMap = new ProvideMap_();
    var requireMap = new RequireMap_();
  
    var files = [];
    targets.forEach(function(target) {
      files = files.concat(relativeGlob(target));
    });
    scanFiles(files, provideMap, requireMap);
  
    var results = genAddDependency(basePath, provideMap, requireMap);
    return results.join('\n');
  }
docs: Generates deps.js used for testing.
  @param {string} basePath
  @param {!Array<string>} targets
  @return {string}