src/com/google/javascript/jscomp/AbstractCommandLineRunner.java
/**
   * Writes the manifest or bundle of all compiler input files that were included as controlled by
   * --dependency_mode, if requested.
   */
Writes the manifest or bundle of all compiler input files that were included as controlled by
dependency_mode, if requested.
Writes the manifest or bundle of all compiler input files that were included as controlled by dependency_mode if requested .
@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)) {
        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 {
        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);
          }
        }
      }
    }
  }
@ 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 ) ) { 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 { 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 ) ; } } } } }
Writes the manifest or bundle of all compiler input files that were included as controlled by
 --dependency_mode, if requested.
Writes the manifest or bundle of all compiler input files that were included as controlled by -- dependency_mode if requested .
// Generate per-module manifests or bundles // Generate a single file manifest or bundle.