Object.defineProperty(exports,"__esModule",{value:true});exports.getEngineByPlatform=void 0;var _common=require("../common");




var getEngineByPlatform=function getEngineByPlatform(c,platform){
var selectedEngineKey;
if(c.buildConfig){var _c$files$rnv$engines$,_c$files$rnv$engines$2;
selectedEngineKey=(0,_common.getConfigProp)(c,platform,'engine');
var selectedEngine=(_c$files$rnv$engines$=c.files.rnv.engines.config)==null?void 0:(_c$files$rnv$engines$2=_c$files$rnv$engines$.engines)==null?void 0:_c$files$rnv$engines$2[selectedEngineKey];

return selectedEngine;
}
return null;
};exports.getEngineByPlatform=getEngineByPlatform;
//# sourceMappingURL=index.js.map