()
| 1226 | } |
| 1227 | |
| 1228 | _getSourceProcessorSet() { |
| 1229 | if (! this._sourceProcessorSet) { |
| 1230 | buildmessage.assertInJob(); |
| 1231 | |
| 1232 | const isopack = this.unibuild.pkg; |
| 1233 | const activePluginPackages = compiler.getActivePluginPackages(isopack, { |
| 1234 | uses: this.unibuild.uses, |
| 1235 | isopackCache: this.processor.isopackCache |
| 1236 | }); |
| 1237 | |
| 1238 | this._sourceProcessorSet = new buildPluginModule.SourceProcessorSet( |
| 1239 | isopack.displayName(), { hardcodeJs: true }); |
| 1240 | |
| 1241 | _.each(activePluginPackages, otherPkg => { |
| 1242 | otherPkg.ensurePluginsInitialized(); |
| 1243 | this._sourceProcessorSet.merge(otherPkg.sourceProcessors.compiler, { |
| 1244 | arch: this.processor.arch, |
| 1245 | }); |
| 1246 | }); |
| 1247 | } |
| 1248 | |
| 1249 | return this._sourceProcessorSet; |
| 1250 | } |
| 1251 | |
| 1252 | // Returns a map from package names to arrays of JS output files. |
| 1253 | static computeJsOutputFilesMap(sourceBatches) { |
no test coverage detected