ddcKernelBuilder function

Builder ddcKernelBuilder(
  1. BuilderOptions options
)

Implementation

Builder ddcKernelBuilder(BuilderOptions options) {
  validateOptions(options.config, _supportedOptions, 'build_web_compilers:ddc');
  _ensureSameDdcOptions(options);

  return KernelBuilder(
    summaryOnly: true,
    sdkKernelPath: sdkDdcKernelPath,
    outputExtension: ddcKernelExtension,
    platform: ddcPlatform,
    useIncrementalCompiler: _readUseIncrementalCompilerOption(options),
    trackUnusedInputs: _readTrackInputsCompilerOption(options),
  );
}