FYI, I have a similar script in tianocore/ArmPlatformPkg/Scripts/Ds5/build_report.py. This python script uses the build report to access the PCDs.
Example: build = build_report.BuildReport(report_log) build.PCDs['gArmTokenSpaceGuid']['PcdSecureFvSize'] > -----Original Message----- > From: Andrew Fish [mailto:af...@apple.com] > Sent: 04 December 2013 01:40 > To: edk2-devel@lists.sourceforge.net > Subject: Re: [edk2] Getting PCD values for tools that post process the > build. > > > On Dec 3, 2013, at 5:34 PM, Gao, Liming <liming....@intel.com> wrote: > > > Andrew: > > You mean Build Report file. Build command has -y REPORTFILE and -Y > REPORTTYPE option to generate build text report file. You can just > generate PCD report, then parse report file to get PCD value. The > command can be: build -y Pcd_Log.txt -Y PCD > > > > That is what I prototyped, a Python script to extract a PCD value from > the log file. I was thinking I might as well build the entire log file > and place it in a build products location as part of the build. > > Thanks, > > Andrew Fish > > > Thanks > > Liming > > -----Original Message----- > > From: Andrew Fish [mailto:af...@apple.com] > > Sent: Wednesday, December 04, 2013 3:19 AM > > To: edk2-devel@lists.sourceforge.net > > Subject: [edk2] Getting PCD values for tools that post process the > build. > > > > Is there a recommended solution to get PCD values for consumption in > a post build step? > > > > The only thing I could think of is to post process the build log? > > > > Thanks, > > > > Andrew Fish > > > > --------------------------------------------------------------------- > --------- > > Rapidly troubleshoot problems before they affect your business. Most > IT organizations don't have a clear picture of how application > performance affects their revenue. With AppDynamics, you get 100% > visibility into your Java,.NET, & PHP application. Start your 15-day > FREE TRIAL of AppDynamics Pro! > > > http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.cl > ktrk > > _______________________________________________ > > edk2-devel mailing list > > edk2-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/edk2-devel > > > > --------------------------------------------------------------------- > --------- > > Sponsored by Intel(R) XDK > > Develop, test and display web and hybrid apps with a single code > base. > > Download it for free now! > > > http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.c > lktrk > > _______________________________________________ > > edk2-devel mailing list > > edk2-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/edk2-devel > > > ----------------------------------------------------------------------- > ------- > Sponsored by Intel(R) XDK > Develop, test and display web and hybrid apps with a single code base. > Download it for free now! > http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.c > lktrk > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/edk2-devel ------------------------------------------------------------------------------ Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk _______________________________________________ edk2-devel mailing list edk2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-devel