ArtifactSet generatorArtifacts = new ArtifactSet();
rebindPermOracle = new DistillerRebindPermutationOracle(generatorArtifacts);
properties = module.getProperties();
perms = new PropertyPermutations(properties);
WebModeCompilerFrontEnd frontEnd = new WebModeCompilerFrontEnd(compilationState, rebindPermOracle);
jjs = new JavaToJavaScriptCompiler(logger, frontEnd, declEntryPts, jjsOptions);
StandardLinkerContext linkerContext = new StandardLinkerContext(logger, module, outDir, generatorResourcesDir, jjsOptions);
compilePermutations(logger, linkerContext, generatorArtifacts);