docs: function buildDependencyPaths(self, context) {
    var dependencies = {};
  
    context.__dependencyPaths__.forEach(function (p) {
      var dep = new DependencyFile(p, self.environment.stat(p).mtime,
                                   self.environment.getFileDigest(p));
      dependencies[JSON.stringify(dep)] = dep;
    });
  
    _.forEach(context.__dependencyAssets__, function (p) {
      var dep, asset;
  
      if (p === self.pathname) {
        dep = new DependencyFile(p, self.environment.stat(p).mtime,
                                 self.environment.getFileDigest(p));
        dependencies[JSON.stringify(dep)] = dep;
        return;
      }
  
      asset = self.environment.findAsset(p, { bundle: false });
  
      if (asset) {
        asset.dependencyPaths.forEach(function (dep) {
          dependencies[JSON.stringify(dep)] = dep;
        });
      }
    });
  
    prop(self, '__dependencyPaths__', _.values(dependencies));
  }