]> git.proxmox.com Git - mirror_edk2.git/commit - BaseTools/Source/Python/Common/Misc.py
BaseTools: support private package definition
authorYonghong Zhu <yonghong.zhu@intel.com>
Tue, 10 May 2016 09:58:26 +0000 (17:58 +0800)
committerYonghong Zhu <yonghong.zhu@intel.com>
Wed, 18 May 2016 00:59:30 +0000 (08:59 +0800)
commitc28d2e1047816164ffec552e4a3375122cbcc6b6
tree20c8ba16e7f4ed1a8ef4f135ef82e79f83ae3580
parentbba734ab4c7c9b4386d39420983bf61484f65dda
BaseTools: support private package definition

EDKII build spec and DEC spec updated to support private package
definition.
If GUID, Protocol or PPI is listed in a DEC file, where the  Private
modifier is used in the section tag ([Guids.common.Private] for example),
only modules within the package are permitted to use the GUID, Protocol
or PPI. If a module or library instance outside of the package attempts
to use the item, the build must fail with an appropriate error message.

Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
BaseTools/Source/Python/AutoGen/AutoGen.py
BaseTools/Source/Python/Common/Misc.py
BaseTools/Source/Python/Workspace/MetaFileParser.py
BaseTools/Source/Python/Workspace/MetaFileTable.py
BaseTools/Source/Python/Workspace/WorkspaceDatabase.py