Ken Lautner 2aac8bb7ef .pytool: Update to newest pytools 2 years ago
..
DependencyCheck.py 2aac8bb7ef .pytool: Update to newest pytools 2 years ago
DependencyCheck_plug_in.yaml 9da7846c88 .pytool/Plugin: Add CI plugins 4 years ago
Readme.md 9da7846c88 .pytool/Plugin: Add CI plugins 4 years ago

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-

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

IgnoreInf

OPTIONAL list of INFs to ignore for this dependency check.