关闭

关闭

封号提示

内容

首页 BinaryBuilds.pdf

BinaryBuilds.pdf

BinaryBuilds.pdf

上传者: 胜歌 2011-06-03 评分 4.5 0 60 8 271 暂无简介 简介 举报

简介:本文档为《BinaryBuildspdf》,可适用于其他资料领域,主题内容包含LJPackagingBinaryBuildTrainingUpdated:Dec,DRAFTSTATUSSteveWoodruffPointsof符等。

LJPackagingBinaryBuildTrainingUpdated:Dec,DRAFTSTATUSSteveWoodruffPointsofDiscussionPointsofDiscussionPartI–IntroductiontoPackagingPartII–TrainingforComponentCMsPartIII–TrainingforDevelopersPartIV–TrainingforPlatformIntegrationTeamPartIPackagingConceptsPartIPackagingConceptsEachbuildcomponentisaprojectMultiplepackagesarebuiltforeachproject–Sourcepkg:Fullprojectcontent–Binarypkg:Runtimecontent–Develpkg:SDK(exportedlibsheaders)*SourcepackagesarenotyetreadyduetomakelintnoncompliancebymanycomponentsBinaryPackagesBinaryPackagesBinarypackagesareabinaryequivalentofthefilesfromeachcomponentwhichareinstalledontoourphonesThepackagesincludealloftheprojectdeliverablesacrossallfilesystemsBinarypackagescanbeusedtogeneratefilesystemimagesandthesbfsuperfileimagewhichisusedtoflashthephoneBinarypackagesforeverycomponentaregeneratedbytheplatformintegrationteamaspartofthereleaseprocessDevelopmentSDKPackagesDevelopmentSDKPackagesTheSDKpackagesforeachcomponentincludeit'sexportedheadersand(compiled)librariesForacomponenttobuildfromitsownsource,itneedstheSDKpackagesforeachofitsdependenciesThiswillincludethepublicandpublishedportionsoftheSDKPackageBuildOptionsPackageBuildOptionsPlatformComponentbuildswillcontinuetoworkinthesamemannerthattheyalwayshavebydefault,almosteverythingwillbuildfromsourceAdditionally,youCANbuildeverythingfromreleasedbinariesORyoucanbuildYOURcomponentfromsource,andeverythingelsefrombinariesIfyouchangeyourAPI,thecomponentswhodependonYOUwillautomaticallyrevertbacktosourcebuildsinsteadofbinarybuildsThe“reversedependency”mappingtakesplaceautomaticallybasedonallcomponents'declareddependenciesinMakefiledepsSampleBuildTimesSampleBuildTimesBuildMearlfromreleasedbinarieswithnosourcechanges–min,sec(testedDecinilh)BuildMearlsbf–minutes(withprelinkingenabled)Wewilllookatreducingthesbfbuildtimeinthenearfuture!PartII–TrainingforCMsPartII–TrainingforCMsComponentCMsmustcontinuetobuildtheircomponent(s)fromsourceComponentCMscanusebinarypackagesforallothercomponentsinthebuildsystem(includingsdkpackagesfortheirdependencies)AnyAPIchangesinyourcomponentsshouldbeautodetectedbythebuildenvironmentandcomponentswhodependonthecompwiththeAPIchangewillrebuildfromsourceCompCMBuildCommandsCompCMBuildCommandsTheeasiestwaytolearnisbyexampleTheAMDMDomaincontainsam,dmandwebuicomponentsFortheAMDMComponentCMtodoabuild,theywouldusethefollowingcommand:–clearmakePRODUCT=marcoPRODUCTCONF=palpramTESTENGBLD=amBLDSRC=dmBLDSRC=webuiBLDSRC=BLDSRC=build–Copyinthesetupimgandsecuresetupimgfiles–clearmakePRODUCT=marcoPRODUCTCONF=palpramTESTENGBLD=BLDSRC=LANDID=sbfCompCMContinuedCompCMContinuedComponentCMscontinuetoBRlabelstotheplatformteamComponentCMsdonotgeneratebinaryorsdkpackagesfortheircomponentsatthistimePartIII–DeveloperTrainingPartIII–DeveloperTrainingDevelopersfollowtheexactsamebuildcommandsthatcomponentCMsuseCMsusethecompintegrationtooldevelopersusetherawbuildcommandsPartIV–IntegrationTeamPartIV–IntegrationTeamTheplatformintegrationteamisresponsibleforgeneratingthebinaryandsdkpackagesforeverycomponentforeachplatformreleaseEventuallythiswillbeautomatedwiththeLASRtoolbutinitially,thestepsmustbedonemanuallyWealsomustdomanualpruningofpackagestoensurethatwedonotgrowtheVOBtoobigGeneratingthepackagesGeneratingthepackagesAfterthefullbuildandsbfstepshavecompleted,thebinaryandsdkpackagesneedtobegeneratedbytheplatformteamYouMUSThavethefullbuildcompletedintheviewpriortorunningthecommand#clearmakePRODUCT=<product>PRODUCTCONF=<productconf>TESTENGBLD=rpmrpmsdkGeneratedRPMsandSDKswillbeinvobslinuxjavaplatformbuildrpmRPMSReleasingthePackagesReleasingthePackagesAlloftheRPMs(bothbinaryandsdk)needtobecopiedfromtheplatformbuildrpmRPMSdirectorytothereleaseareaCURRENTLYthisisvobslinuxjavaplatformreleasebutanewVOBisbeingcreated(vobslinuxjavaplatformrelease)toserveasthepackagereleaseVOBinthenearfutureEachofthefilescopiedtothereleaseareaneedstobemadeintoaVOBelementandhavethecurrentplatformlabelappliedtoitPruningtheReleaseAreaPruningtheReleaseAreaReleasedpackagesdaysoroldershouldberemovedtopreventexcessiveVOBgrowthOldversionscanberemovedfromthexlsvtreeonthemainbranchwith:–'version>destroy>version'menucommand

精彩专题

职业精品

上传我的资料

热门资料

资料评价:

/ 15
所需积分:0 立即下载

意见
反馈

返回
顶部

Q