#!/usr/bin/env node

      import {createRequire as __cjsCompatRequire} from 'module';
      const require = __cjsCompatRequire(import.meta.url);
      const __ESM_IMPORT_META_URL__ = import.meta.url;
    
import {
  parseCommandLineOptions
} from "../chunk-N2MCMY3J.js";
import {
  mainNgcc
} from "../chunk-QPJVRNEU.js";
import "../chunk-SJL5HBUW.js";
import "../chunk-QST5YSNG.js";
import "../chunk-CQC4TODZ.js";
import "../chunk-W6PLYNW2.js";
import "../chunk-7D7JVHLL.js";
import "../chunk-4SINIALN.js";
import "../chunk-Z57D3OKU.js";
import "../chunk-CDDXRRSJ.js";
import "../chunk-E6XS3AOK.js";
import "../chunk-S4JINNFN.js";
import "../chunk-CTEVZGOM.js";
import "../chunk-XYNRD7NE.js";

// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/main-ngcc.mjs
process.title = "ngcc";
var startTime = Date.now();
var options = parseCommandLineOptions(process.argv.slice(2));
(async () => {
  try {
    await mainNgcc(options);
    if (options.logger) {
      const duration = Math.round((Date.now() - startTime) / 1e3);
      options.logger.debug(`Run ngcc in ${duration}s.`);
    }
    process.exitCode = 0;
  } catch (e) {
    console.error(e.stack || e.message);
    process.exit(typeof e.code === "number" ? e.code : 1);
  }
})();
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
//# sourceMappingURL=main-ngcc.js.map
