audk/.pytool/Plugin/DependencyCheck
Ken Lautner 2aac8bb7ef .pytool: Update to newest pytools
Update to the newest pytools and resolves the API change for
GetAbsolutePathOnThisSytemFromEdk2RelativePath

Cc: Sean Brogan <sean.brogan@microsoft.com>
Cc: Bret Barkelew <Bret.Barkelew@microsoft.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>

Signed-off-by: Kenneth Lautner <kenlautner3@gmail.com>
Reviewed-by: Sean Brogan <sean.brogan@microsoft.com>
2022-03-09 18:58:33 +00:00
..
DependencyCheck.py .pytool: Update to newest pytools 2022-03-09 18:58:33 +00:00
DependencyCheck_plug_in.yaml .pytool/Plugin: Add CI plugins 2019-11-11 13:02:03 -08:00
Readme.md .pytool/Plugin: Add CI plugins 2019-11-11 13:02:03 -08:00

Readme.md

Depdendency Check Plugin

A CiBuildPlugin that finds all modules (inf files) in a package and reviews the packages used to confirm they are acceptable. This is to help enforce layering and identify improper dependencies between packages.

Configuration

The plugin must be configured with the acceptabe package dependencies for the package.

"DependencyCheck": {
    "AcceptableDependencies": [],
    "AcceptableDependencies-<MODULE_TYPE>": [],
    "IgnoreInf": []
}

AcceptableDependencies

Package dec files that are allowed in all INFs. Example: MdePkg/MdePkg.dec

AcceptableDependencies-<MODULE_TYPE>

OPTIONAL Package dependencies for INFs that have module type <MODULE_TYPE>. Example: AcceptableDependencies-HOST_APPLICATION.

IgnoreInf

OPTIONAL list of INFs to ignore for this dependency check.