code: @GwtIncompatible("Unnecessary")
    private void outputManifestOrBundle(List<String> outputFiles, boolean isManifest)
        throws IOException {
      if (outputFiles.isEmpty()) {
        return;
      }
  
      for (String output : outputFiles) {
        if (output.isEmpty()) {
          continue;
        }
  
        if (shouldGenerateOutputPerModule(output)) {
          // Generate per-module manifests or bundles
          Iterable<JSModule> modules = compiler.getModuleGraph().getAllModules();
          for (JSModule module : modules) {
            try (Writer out = fileNameToOutputWriter2(expandCommandLinePath(output, module))) {
              if (isManifest) {
                printManifestTo(module.getInputs(), out);
              } else {
                printBundleTo(module.getInputs(), out);
              }
            }
          }
        } else {
          // Generate a single file manifest or bundle.
          try (Writer out = fileNameToOutputWriter2(expandCommandLinePath(output, null))) {
            if (config.module.isEmpty()) {
              if (isManifest) {
                printManifestTo(compiler.getInputsInOrder(), out);
              } else {
                printBundleTo(compiler.getInputsInOrder(), out);
              }
            } else {
              printModuleGraphManifestOrBundleTo(compiler.getModuleGraph(), out, isManifest);
            }
          }
        }
      }
    }
docs: Writes the manifest or bundle of all compiler input files that were included as controlled by
  --dependency_mode, if requested.