summaryrefslogtreecommitdiff
path: root/android/module.go
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2024-08-28 00:49:13 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2024-08-28 00:49:13 +0000
commit9cbbafe300d2bd7d1cba25203d6f74fc5aec4cf2 (patch)
tree0c0943d826a50268535486d338b954867e03660e /android/module.go
parent713f415cdecfacac6d8cf51c48323fd973c2d35d (diff)
parentb36d31d8705ab648bd84cd5ca0e2136c040a5b22 (diff)
Merge changes from topic "ctx_in_ideinfo" into main
* changes: Add ctx argument to IDEInfo() Add configurable property support to neverallow
Diffstat (limited to 'android/module.go')
-rw-r--r--android/module.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/android/module.go b/android/module.go
index f311165ef..5d68a87c9 100644
--- a/android/module.go
+++ b/android/module.go
@@ -1946,7 +1946,7 @@ func (m *ModuleBase) GenerateBuildActions(blueprintCtx blueprint.ModuleContext)
if x, ok := m.module.(IDEInfo); ok {
var result IdeInfo
- x.IDEInfo(&result)
+ x.IDEInfo(ctx, &result)
result.BaseModuleName = x.BaseModuleName()
SetProvider(ctx, IdeInfoProviderKey, result)
}
@@ -2735,7 +2735,7 @@ func (c *buildTargetSingleton) GenerateBuildActions(ctx SingletonContext) {
// Collect information for opening IDE project files in java/jdeps.go.
type IDEInfo interface {
- IDEInfo(ideInfo *IdeInfo)
+ IDEInfo(ctx BaseModuleContext, ideInfo *IdeInfo)
BaseModuleName() string
}