mirror_edk2/BaseTools/Source/Python/AutoGen
Fan, ZhijuX 29c2de1272 BaseTools:Build fail if define [DEPEX] in library inf
When define [DEPEX] in lib inf to build, it will fail and report"
gUefiOvmfPkgTokenSpaceGuid.test1 used in [Depex] section should be
used as FixedAtBuild type and VOID* datum type in the module."
But we define this PCD to FixedAtBuild type and VOID* datum type indeed.

DEC:
[PcdsFixedAtBuild]
gUefiOvmfPkgTokenSpaceGuid.test1 |
{GUID("4096267b-da0a-42eb-b5eb-fef31d207cb4")}|VOID*|0x3c

DSC:
add pcd under lib inf as below:

NULL|TestPkg/TestLib/TestLib.inf
 <PcdsFixedAtBuild>
    gUefiOvmfPkgTokenSpaceGuid.test1 | {GUID(gUefiOvmfPkgTokenSpaceGuid)}

Lib inf:(TestPkg/TestLib/TestLib.inf)
[Depex]
gUefiOvmfPkgTokenSpaceGuid.test1
[FixedPcd]
gUefiOvmfPkgTokenSpaceGuid.test1

Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Zhiju.Fan <zhijux.fan@intel.com>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
2019-02-22 15:47:14 +08:00
..
__init__.py Sync EDKII BaseTools to BaseTools project r1971 2010-05-18 05:04:32 +00:00
AutoGen.py BaseTools:Build fail if define [DEPEX] in library inf 2019-02-22 15:47:14 +08:00
BuildEngine.py BaseTools: Various typo 2019-02-14 10:02:28 +08:00
GenC.py BaseTool/GenC: Fix build error when type is BASE or USER_DEFINED. 2019-02-22 12:20:36 +08:00
GenDepex.py BaseTools: enable FixedAtBuild (VOID*) PCD use in the [DEPEX] section 2018-07-23 08:56:37 +08:00
GenMake.py BaseTool: Fixed incremental rebuild issue. 2019-02-22 15:47:14 +08:00
GenPcdDb.py BaseTools: Various typo 2019-02-14 10:02:28 +08:00
GenVar.py BaseTools: Handle the bytes and str difference 2019-02-01 11:09:24 +08:00
IdfClassObject.py Revert BaseTools: PYTHON3 migration 2018-10-15 08:29:14 +08:00
InfSectionParser.py BaseTools: Various typo 2019-02-14 10:02:28 +08:00
StrGather.py BaseTools: Handle the bytes and str difference 2019-02-01 11:09:24 +08:00
UniClassObject.py BaseTools: Various typo 2019-02-14 10:02:28 +08:00
ValidCheckingInfoObject.py BaseTools: Handle the bytes and str difference 2019-02-01 11:09:24 +08:00