From b36d31d8705ab648bd84cd5ca0e2136c040a5b22 Mon Sep 17 00:00:00 2001 From: Cole Faust Date: Tue, 27 Aug 2024 16:04:28 -0700 Subject: Add ctx argument to IDEInfo() The IDEInfo() methods read properties. To make those properties configurable, we need a context to evaluate them with. Bug: 362579941 Test: m nothing --no-skip-soong-tests Change-Id: I26d4b7084439b3006e50b02277298f74a929e1aa --- java/system_modules.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'java/system_modules.go') diff --git a/java/system_modules.go b/java/system_modules.go index 5b00079f7..f89bf9ea6 100644 --- a/java/system_modules.go +++ b/java/system_modules.go @@ -307,7 +307,7 @@ func (p *systemModulesInfoProperties) AddToPropertySet(ctx android.SdkMemberCont // implement the following interface for IDE completion. var _ android.IDEInfo = (*SystemModules)(nil) -func (s *SystemModules) IDEInfo(ideInfo *android.IdeInfo) { +func (s *SystemModules) IDEInfo(ctx android.BaseModuleContext, ideInfo *android.IdeInfo) { ideInfo.Deps = append(ideInfo.Deps, s.properties.Libs...) ideInfo.Libs = append(ideInfo.Libs, s.properties.Libs...) } -- cgit v1.2.3-59-g8ed1b