Merge changes from topic "ctx_in_ideinfo" into main

* changes:
  Add ctx argument to IDEInfo()
  Add configurable property support to neverallow
This commit is contained in:
Treehugger Robot
2024-08-28 00:49:13 +00:00
committed by Gerrit Code Review
14 changed files with 79 additions and 68 deletions

View File

@@ -2873,7 +2873,7 @@ func isStaticExecutableAllowed(apex string, exec string) bool {
}
// Collect information for opening IDE project files in java/jdeps.go.
func (a *apexBundle) IDEInfo(dpInfo *android.IdeInfo) {
func (a *apexBundle) IDEInfo(ctx android.BaseModuleContext, dpInfo *android.IdeInfo) {
dpInfo.Deps = append(dpInfo.Deps, a.properties.Java_libs...)
dpInfo.Deps = append(dpInfo.Deps, a.properties.Bootclasspath_fragments...)
dpInfo.Deps = append(dpInfo.Deps, a.properties.ResolvedSystemserverclasspathFragments...)