10981099110011011102110311041105110611071108
CompilerAPI.setupHeadless(configuration); if (configuration.benchmark()) { benchmark = CompilerAPI.runBenchmark(); benchmark.startTime(Benchmark.PRECOMPILE); } else { CompilerAPI.disableBenchmark(); }
11961197119811991200120112021203120412051206
false), licenseMap, new ArrayList<Source>()); if (benchmark != null) { benchmark.startTime(Benchmark.POSTCOMPILE); } s.units = units; s.rbFiles = rbFiles; s.sourcePath.clearCache();
107108109110111112113114115116117
299300301302303304305306307308309
configuration.getLicensesConfiguration().getLicenseMap(), sources); if (benchmark != null) { benchmark.startTime(Benchmark.POSTCOMPILE); } OutputStream swfOut = new BufferedOutputStream(new FileOutputStream(outputFile)); PostLink postLink = null;
389390391392393394395396397398399
else { if (benchmark != null) { benchmark.stopTime(Benchmark.PRECOMPILE, false); benchmark.startTime(Benchmark.POSTCOMPILE); } // swf is already up-to-date so no need to compile/link or rewrite file ThreadLocalToolkit.log(new NoUpdateMessage(FileUtil.getCanonicalPath(outputFile))); }