[SPARK-17320] add build_profile_flags entry to mesos build module
[SPARK-17320] add build_profile_flags entry to mesos build module

## What changes were proposed in this pull request?

add build_profile_flags entry to mesos build module

## How was this patch tested?

unit tests

Author: Michael Gummelt <mgummelt@mesosphere.io>

Closes #14885 from mgummelt/mesos-profile.

wangmiao1981/spark,xuanyuanking/spark,JerryLead/spark,ibm-research-ireland/sparkoscope,WindCanDie/spark,ptkool/spark,mahak/spark,Panos-Bletsos/spark-cost-model-optimizer,shaneknapp/spark,liyichao/spark,sachintyagi22/spark,szhem/spark,ericvandenbergfb/spark,hhbyyh/spark,aray/spark,yanboliang/spark,akopich/spark,zero323/spark,jlopezmalla/spark,loneknightpy/spark,UndeadBaneGitHub/spark,tejasapatil/spark,1haodian/spark,nilsgrabbert/spark,kissmetrics/spark,mike0sv/spark,JerryLead/spark,narahari92/spark,kissmetrics/spark,maropu/spark,poffuomo/spark,ioana-delaney/spark,1haodian/spark,nilsgrabbert/spark,xflin/spark,mzl9039/spark,stanzhai/spark,kiszk/spark,pgandhi999/spark,caneGuy/spark,publicRoman/spark,adrian-ionescu/apache-spark,ptkool/spark,maropu/spark,brad-kaiser/spark,andrewor14/spark,ahnqirage/spark,jiangxb1987/spark,tengpeng/spark,sachintyagi22/spark,sahilTakiar/spark,ron8hu/spark,rekhajoshm/spark,highfei2011/spark,minixalpha/spark,aosagie/spark,narahari92/spark,publicRoman/spark,mike0sv/spark,liutang123/spark,BryanCutler/spark,rezasafi/spark,rednaxelafx/apache-spark,jianran/spark,bravo-zhang/spark,esi-mineset/spark,srowen/spark,stanzhai/spark,mdespriee/spark,sureshthalamati/spark,darionyaphet/spark,pgandhi999/spark,huang1900/spark,rezasafi/spark,someorz/spark,zzcclp/spark,jianran/spark,zhouyejoe/spark,LantaoJin/spark,apache/spark,ConeyLiu/spark,kevinyu98/spark,bdrillard/spark,1haodian/spark,icexelloss/spark,setjet/spark,dhruve/spark,kimoonkim/spark,BryanCutler/spark,zuotingbing/spark,byakuinss/spark,saturday-shi/spark,wzhfy/spark,minixalpha/spark,JoshRosen/spark,guoxiaolongzte/spark,lxsmnv/spark,eyalfa/spark,kevinyu98/spark,bOOm-X/spark,darionyaphet/spark,huang1900/spark,kiszk/spark,kevinyu98/spark,hhbyyh/spark,liutang123/spark,ConeyLiu/spark,ajaysaini725/spark,ptkool/spark,kevinyu98/spark,akopich/spark,jkbradley/spark,darionyaphet/spark,aosagie/spark,UndeadBaneGitHub/spark,nilsgrabbert/spark,WeichenXu123/spark,andrewor14/spark,liutang123/spark,icexelloss/spark,cin/spark,mahak/spark,mdespriee/spark,bOOm-X/spark,dbtsai/spark,jkbradley/spark,publicRoman/spark,highfei2011/spark,lvdongr/spark,rezasafi/spark,bOOm-X/spark,minixalpha/spark,alunarbeach/spark,kimoonkim/spark,aosagie/spark,gengliangwang/spark,nilsgrabbert/spark,nchammas/spark,saltstar/spark,debugger87/spark,big-pegasus/spark,publicRoman/spark,loneknightpy/spark,MLnick/spark,liyichao/spark,kimoonkim/spark,kevinyu98/spark,WindCanDie/spark,map222/spark,debugger87/spark,wzhfy/spark,cloud-fan/spark,wangyum/spark,nchammas/spark,mdespriee/spark,LantaoJin/spark,holdenk/spark,markhamstra/spark,map222/spark,tengpeng/spark,BryanCutler/spark,aokolnychyi/spark,saturday-shi/spark,markhamstra/spark,tengpeng/spark,mike0sv/spark,rikima/spark,jiangxb1987/spark,ueshin/apache-spark,alunarbeach/spark,ioana-delaney/spark,byakuinss/spark,dongjoon-hyun/spark,joseph-torres/spark,WeichenXu123/spark,metamx/spark,aray/spark,rekhajoshm/spark,jkbradley/spark,Aegeaner/spark,goldmedal/spark,MLnick/spark,debugger87/spark,zhouyejoe/spark,srowen/spark,janewangfb/spark,bdrillard/spark,LantaoJin/spark,shubhamchopra/spark,hvanhovell/spark,ueshin/apache-spark,lxsmnv/spark,witgo/spark,spark-test/spark,eyalfa/spark,milliman/spark,someorz/spark,bravo-zhang/spark,LantaoJin/spark,debugger87/spark,nilsgrabbert/spark,HyukjinKwon/spark,ibm-research-ireland/sparkoscope,jiangxb1987/spark,ddna1021/spark,caneGuy/spark,yanboliang/spark,bdrillard/spark,skonto/spark,eyalfa/spark,chuckchen/spark,icexelloss/spark,JoshRosen/spark,bravo-zhang/spark,ahnqirage/spark,shuangshuangwang/spark,byakuinss/spark,gengliangwang/spark,skonto/spark,big-pegasus/spark,aokolnychyi/spark,shuangshuangwang/spark,guoxiaolongzte/spark,ConeyLiu/spark,nlalevee/spark,UndeadBaneGitHub/spark,ddna1021/spark,taroplus/spark,mahak/spark,dongjoon-hyun/spark,kiszk/spark,xflin/spark,mike0sv/spark,ajaysaini725/spark,zzcclp/spark,panfengfeng/spark,sachintyagi22/spark,alunarbeach/spark,pgandhi999/spark,JerryLead/spark,xflin/spark,zzcclp/spark,esi-mineset/spark,tejasapatil/spark,akopich/spark,facaiy/spark,map222/spark,rekhajoshm/spark,big-pegasus/spark,taroplus/spark,huang1900/spark,lvdongr/spark,WindCanDie/spark,ptkool/spark,ahnqirage/spark,big-pegasus/spark,loneknightpy/spark,rekhajoshm/spark,hhbyyh/spark,saltstar/spark,JoshRosen/spark,mzl9039/spark,lvdongr/spark,andrewor14/spark,someorz/spark,ajaysaini725/spark,saltstar/spark,facaiy/spark,metamx/spark,ddna1021/spark,poffuomo/spark,MLnick/spark,SHASHANKB/spark,dbtsai/spark,taroplus/spark,shubhamchopra/spark,poffuomo/spark,eyalfa/spark,sureshthalamati/spark,dbtsai/spark,aosagie/spark,byakuinss/spark,ptkool/spark,mzl9039/spark,SnappyDataInc/spark,cloud-fan/spark,actuaryzhang/spark,goldmedal/spark,wangyum/spark,SHASHANKB/spark,guoxiaolongzte/spark,HyukjinKwon/spark,sureshthalamati/spark,alunarbeach/spark,nchammas/spark,adrian-ionescu/apache-spark,MLnick/spark,mahak/spark,BryanCutler/spark,lvdongr/spark,alunarbeach/spark,xuanyuanking/spark,Aegeaner/spark,lxsmnv/spark,Aegeaner/spark,ddna1021/spark,dbtsai/spark,Panos-Bletsos/spark-cost-model-optimizer,liyichao/spark,kissmetrics/spark,WeichenXu123/spark,cin/spark,actuaryzhang/spark,someorz/spark,zero323/spark,rekhajoshm/spark,cin/spark,byakuinss/spark,Panos-Bletsos/spark-cost-model-optimizer,zuotingbing/spark,jrshust/spark,witgo/spark,ConeyLiu/spark,shaneknapp/spark,nlalevee/spark,saturday-shi/spark,SnappyDataInc/spark,wangmiao1981/spark,stanzhai/spark,xflin/spark,milliman/spark,hvanhovell/spark,hhbyyh/spark,sureshthalamati/spark,aokolnychyi/spark,rednaxelafx/apache-spark,jkbradley/spark,ahnqirage/spark,huang1900/spark,sahilTakiar/spark,Panos-Bletsos/spark-cost-model-optimizer,hhbyyh/spark,sahilTakiar/spark,rikima/spark,nchammas/spark,kiszk/spark,patrick-nicholson/spark,szhem/spark,vinodkc/spark,rekhajoshm/spark,dhruve/spark,rednaxelafx/apache-spark,maropu/spark,guoxiaolongzte/spark,zuotingbing/spark,markhamstra/spark,caneGuy/spark,jianran/spark,markhamstra/spark,shubhamchopra/spark,1haodian/spark,actuaryzhang/spark,cin/spark,cloud-fan/spark,spark-test/spark,kevinyu98/spark,kimoonkim/spark,ueshin/apache-spark,big-pegasus/spark,zzcclp/spark,metamx/spark,esi-mineset/spark,sachintyagi22/spark,zhouyejoe/spark,ericvandenbergfb/spark,rikima/spark,facaiy/spark,patrick-nicholson/spark,michalsenkyr/spark,metamx/spark,markhamstra/spark,darionyaphet/spark,cloud-fan/spark,bravo-zhang/spark,jiangxb1987/spark,JerryLead/spark,bravo-zhang/spark,mzl9039/spark,dbtsai/spark,wangyum/spark,techaddict/spark,guoxiaolongzte/spark,esi-mineset/spark,kissmetrics/spark,huang1900/spark,Aegeaner/spark,techaddict/spark,icexelloss/spark,sahilTakiar/spark,ueshin/apache-spark,xuanyuanking/spark,yanboliang/spark,rezasafi/spark,kimoonkim/spark,hvanhovell/spark,rednaxelafx/apache-spark,srowen/spark,brad-kaiser/spark,nlalevee/spark,bOOm-X/spark,ConeyLiu/spark,lxsmnv/spark,bOOm-X/spark,mdespriee/spark,Aegeaner/spark,liutang123/spark,caneGuy/spark,witgo/spark,ericvandenbergfb/spark,JerryLead/spark,janewangfb/spark,JoshRosen/spark,lxsmnv/spark,goldmedal/spark,shuangshuangwang/spark,zero323/spark,witgo/spark,holdenk/spark,wangyum/spark,shaneknapp/spark,SHASHANKB/spark,narahari92/spark,chuckchen/spark,cloud-fan/spark,MLnick/spark,joseph-torres/spark,xuanyuanking/spark,saltstar/spark,jlopezmalla/spark,jkbradley/spark,metamx/spark,techaddict/spark,darionyaphet/spark,minixalpha/spark,SHASHANKB/spark,matthewfranglen/spark,sahilTakiar/spark,zzcclp/spark,gengliangwang/spark,bravo-zhang/spark,skonto/spark,dbtsai/spark,aokolnychyi/spark,someorz/spark,setjet/spark,aokolnychyi/spark,ddna1021/spark,icexelloss/spark,UndeadBaneGitHub/spark,HyukjinKwon/spark,ueshin/apache-spark,techaddict/spark,jlopezmalla/spark,pgandhi999/spark,1haodian/spark,narahari92/spark,goldmedal/spark,apache-spark-on-k8s/spark,tengpeng/spark,gengliangwang/spark,bdrillard/spark,brad-kaiser/spark,ajaysaini725/spark,minixalpha/spark,vinodkc/spark,byakuinss/spark,eyalfa/spark,pgandhi999/spark,shubhamchopra/spark,liyichao/spark,big-pegasus/spark,joseph-torres/spark,facaiy/spark,hhbyyh/spark,witgo/spark,esi-mineset/spark,zero323/spark,mzl9039/spark,aray/spark,ConeyLiu/spark,lvdongr/spark,wangyum/spark,milliman/spark,holdenk/spark,wangmiao1981/spark,vinodkc/spark,UndeadBaneGitHub/spark,zero323/spark,1haodian/spark,techaddict/spark,huang1900/spark,Aegeaner/spark,hhbyyh/spark,patrick-nicholson/spark,ahnqirage/spark,esi-mineset/spark,WeichenXu123/spark,hvanhovell/spark,xuanyuanking/spark,lvdongr/spark,mike0sv/spark,apache/spark,jianran/spark,szhem/spark,cin/spark,LantaoJin/spark,taroplus/spark,1haodian/spark,actuaryzhang/spark,zzcclp/spark,jlopezmalla/spark,sahilTakiar/spark,darionyaphet/spark,actuaryzhang/spark,Panos-Bletsos/spark-cost-model-optimizer,rezasafi/spark,xuanyuanking/spark,maropu/spark,wangmiao1981/spark,sachintyagi22/spark,poffuomo/spark,yanboliang/spark,zuotingbing/spark,spark-test/spark,holdenk/spark,wzhfy/spark,HyukjinKwon/spark,apache-spark-on-k8s/spark,aosagie/spark,WindCanDie/spark,BryanCutler/spark,caneGuy/spark,ajaysaini725/spark,chuckchen/spark,xuanyuanking/spark,maropu/spark,UndeadBaneGitHub/spark,michalsenkyr/spark,map222/spark,poffuomo/spark,techaddict/spark,JoshRosen/spark,shubhamchopra/spark,shubhamchopra/spark,nchammas/spark,patrick-nicholson/spark,yanboliang/spark,guoxiaolongzte/spark,zhouyejoe/spark,saturday-shi/spark,HyukjinKwon/spark,ericvandenbergfb/spark,nchammas/spark,mzl9039/spark,shuangshuangwang/spark,bdrillard/spark,zuotingbing/spark,kissmetrics/spark,akopich/spark,joseph-torres/spark,michalsenkyr/spark,apache/spark,ajaysaini725/spark,rezasafi/spark,yanboliang/spark,zhouyejoe/spark,cloud-fan/spark,shubhamchopra/spark,ConeyLiu/spark,michalsenkyr/spark,jiangxb1987/spark,gengliangwang/spark,jkbradley/spark,shuangshuangwang/spark,adrian-ionescu/apache-spark,SHASHANKB/spark,michalsenkyr/spark,apache-spark-on-k8s/spark,tejasapatil/spark,janewangfb/spark,Panos-Bletsos/spark-cost-model-optimizer,WeichenXu123/spark,ericvandenbergfb/spark,zuotingbing/spark,ericvandenbergfb/spark,milliman/spark,liutang123/spark,aray/spark,szhem/spark,dongjoon-hyun/spark,facaiy/spark,apache/spark,holdenk/spark,maropu/spark,taroplus/spark,WeichenXu123/spark,hvanhovell/spark,ptkool/spark,jlopezmalla/spark,map222/spark,ibm-research-ireland/sparkoscope,ibm-research-ireland/sparkoscope,ron8hu/spark,UndeadBaneGitHub/spark,goldmedal/spark,highfei2011/spark,panfengfeng/spark,debugger87/spark,wzhfy/spark,highfei2011/spark,stanzhai/spark,JoshRosen/spark,highfei2011/spark,LantaoJin/spark,ericvandenbergfb/spark,rednaxelafx/apache-spark,vinodkc/spark,rezasafi/spark,HyukjinKwon/spark,michalsenkyr/spark,jrshust/spark,joseph-torres/spark,apache-spark-on-k8s/spark,szhem/spark,ioana-delaney/spark,ahnqirage/spark,panfengfeng/spark,taroplus/spark,wangmiao1981/spark,srowen/spark,shuangshuangwang/spark,debugger87/spark,alunarbeach/spark,bOOm-X/spark,skonto/spark,mdespriee/spark,bdrillard/spark,gengliangwang/spark,shaneknapp/spark,rednaxelafx/apache-spark,patrick-nicholson/spark,dongjoon-hyun/spark,JoshRosen/spark,ron8hu/spark,ajaysaini725/spark,debugger87/spark,rikima/spark,techaddict/spark,nlalevee/spark,mzl9039/spark,apache/spark,akopich/spark,JerryLead/spark,brad-kaiser/spark,ibm-research-ireland/sparkoscope,SnappyDataInc/spark,tejasapatil/spark,Aegeaner/spark,SnappyDataInc/spark,milliman/spark,vinodkc/spark,guoxiaolongzte/spark,holdenk/spark,narahari92/spark,dhruve/spark,wangyum/spark,hvanhovell/spark,saltstar/spark,skonto/spark,caneGuy/spark,akopich/spark,dhruve/spark,adrian-ionescu/apache-spark,SnappyDataInc/spark,nilsgrabbert/spark,janewangfb/spark,brad-kaiser/spark,wangyum/spark,pgandhi999/spark,dhruve/spark,mahak/spark,rednaxelafx/apache-spark,hvanhovell/spark,facaiy/spark,yanboliang/spark,MLnick/spark,tengpeng/spark,wangmiao1981/spark,jrshust/spark,mahak/spark,ibm-research-ireland/sparkoscope,facaiy/spark,srowen/spark,metamx/spark,gengliangwang/spark,rekhajoshm/spark,highfei2011/spark,saltstar/spark,vinodkc/spark,setjet/spark,skonto/spark,saltstar/spark,spark-test/spark,ioana-delaney/spark,liutang123/spark,loneknightpy/spark,apache-spark-on-k8s/spark,saturday-shi/spark,wzhfy/spark,lxsmnv/spark,dhruve/spark,metamx/spark,milliman/spark,zhouyejoe/spark,someorz/spark,loneknightpy/spark,adrian-ionescu/apache-spark,lvdongr/spark,WeichenXu123/spark,nchammas/spark,WindCanDie/spark,jiangxb1987/spark,rikima/spark,apache/spark,michalsenkyr/spark,aray/spark,JerryLead/spark,ioana-delaney/spark,nlalevee/spark,jianran/spark,mike0sv/spark,kiszk/spark,apache-spark-on-k8s/spark,eyalfa/spark,eyalfa/spark,LantaoJin/spark,joseph-torres/spark,nilsgrabbert/spark,poffuomo/spark,BryanCutler/spark,publicRoman/spark,wzhfy/spark,sureshthalamati/spark,liutang123/spark,chuckchen/spark,kissmetrics/spark,someorz/spark,liyichao/spark,setjet/spark,icexelloss/spark,map222/spark,spark-test/spark,minixalpha/spark,tejasapatil/spark,zero323/spark,BryanCutler/spark,spark-test/spark,chuckchen/spark,shaneknapp/spark,setjet/spark,mdespriee/spark,tengpeng/spark,pgandhi999/spark,szhem/spark,srowen/spark,setjet/spark,shuangshuangwang/spark,publicRoman/spark,tejasapatil/spark,kissmetrics/spark,ueshin/apache-spark,bdrillard/spark,witgo/spark,ioana-delaney/spark,bOOm-X/spark,janewangfb/spark,dhruve/spark,taroplus/spark,tengpeng/spark,goldmedal/spark,sachintyagi22/spark,lxsmnv/spark,aray/spark,brad-kaiser/spark,apache-spark-on-k8s/spark,ddna1021/spark,rikima/spark,WindCanDie/spark,jrshust/spark,andrewor14/spark,adrian-ionescu/apache-spark,jlopezmalla/spark,sachintyagi22/spark,jlopezmalla/spark,kimoonkim/spark,dongjoon-hyun/spark,ibm-research-ireland/sparkoscope,aosagie/spark,aokolnychyi/spark,aosagie/spark,zzcclp/spark,setjet/spark,panfengfeng/spark,minixalpha/spark,nlalevee/spark,aokolnychyi/spark,map222/spark,mike0sv/spark,markhamstra/spark,jrshust/spark,kiszk/spark,xflin/spark,akopich/spark,huang1900/spark,andrewor14/spark,jianran/spark,apache/spark,SnappyDataInc/spark,milliman/spark,stanzhai/spark,patrick-nicholson/spark,joseph-torres/spark,skonto/spark,ron8hu/spark,wzhfy/spark,byakuinss/spark,tejasapatil/spark,aray/spark,jrshust/spark,alunarbeach/spark,zero323/spark,SnappyDataInc/spark,ron8hu/spark,markhamstra/spark,srowen/spark,kimoonkim/spark,szhem/spark,publicRoman/spark,caneGuy/spark,ptkool/spark,nlalevee/spark,ueshin/apache-spark,dongjoon-hyun/spark,adrian-ionescu/apache-spark,esi-mineset/spark,jiangxb1987/spark,ddna1021/spark,panfengfeng/spark,Panos-Bletsos/spark-cost-model-optimizer,MLnick/spark,sureshthalamati/spark,witgo/spark,dbtsai/spark,wangmiao1981/spark,chuckchen/spark,mdespriee/spark,sureshthalamati/spark,shaneknapp/spark,cin/spark,xflin/spark,goldmedal/spark,rikima/spark,panfengfeng/spark,sahilTakiar/spark,jrshust/spark,patrick-nicholson/spark,kevinyu98/spark,SHASHANKB/spark,ron8hu/spark,big-pegasus/spark,dongjoon-hyun/spark,cin/spark,jkbradley/spark,ron8hu/spark,loneknightpy/spark,holdenk/spark,kiszk/spark,narahari92/spark,liyichao/spark,stanzhai/spark,narahari92/spark,actuaryzhang/spark,ahnqirage/spark,jianran/spark,cloud-fan/spark,bravo-zhang/spark,zhouyejoe/spark,HyukjinKwon/spark,stanzhai/spark,liyichao/spark,mahak/spark,brad-kaiser/spark,poffuomo/spark,saturday-shi/spark,janewangfb/spark,chuckchen/spark,vinodkc/spark,SHASHANKB/spark,highfei2011/spark,ioana-delaney/spark,icexelloss/spark,WindCanDie/spark,andrewor14/spark,spark-test/spark,saturday-shi/spark,actuaryzhang/spark,andrewor14/spark,janewangfb/spark,zuotingbing/spark,panfengfeng/spark,xflin/spark,loneknightpy/spark,maropu/spark,darionyaphet/spark,shaneknapp/spark