SoftwareUnderAnalysisDsl
DSL block for P4 — software under analysis.
Produces the native-target compilation-unit list consumed by P5. include(...) selects exact units; includeTargetSourceTree(...) selects target-owned units beneath logical repository trees.
softwareUnderAnalysis {
from(provenanceBuild.compilationUnits)
include(
repos["sourceRepo"] / "activities/foo/foo_activity.cpp",
repos["stig-project"] / "activities/foo/src/main/resources/harness/foo_harness.cpp",
)
}Content copied to clipboard
Settable at: defaults -> group -> element (cascading).
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Convenience: add repo-resolved file paths to includes.
Link copied to clipboard
Link copied to clipboard
Select every compilation unit owned by the configured native target whose logical source path is beneath one of sourceTrees. Bazel-generated units are matched after their bazel-out/.../bin or genfiles prefix. This does not scan the filesystem and cannot pull tests or other targets into the analysis boundary.