Convert install and checkContainerViolations to use ModuleProxy.
Bug: 377723687
Test: Unit tests and compare the ninja and mk files generated.
Change-Id: I19ec2142415e88d7486ee58613065f8cdb6aca73
diff --git a/cc/cc.go b/cc/cc.go
index 21fd216..f9097e4 100644
--- a/cc/cc.go
+++ b/cc/cc.go
@@ -156,6 +156,8 @@
InRecovery bool
OnlyInRecovery bool
Installable *bool
+ // RelativeInstallPath returns the relative install path for this module.
+ RelativeInstallPath string
}
var LinkableInfoProvider = blueprint.NewProvider[*LinkableInfo]()
@@ -2322,6 +2324,7 @@
InRecovery: mod.InRecovery(),
OnlyInRecovery: mod.OnlyInRecovery(),
Installable: mod.Installable(),
+ RelativeInstallPath: mod.RelativeInstallPath(),
}
}