summaryrefslogtreecommitdiff
path: root/cc/ndk_sysroot.go
diff options
context:
space:
mode:
author Yu Liu <yudiliu@google.com> 2025-03-13 18:36:35 +0000
committer Yu Liu <yudiliu@google.com> 2025-03-13 18:36:35 +0000
commitf22120fb1da7f75a571966124bb0da6a57fd4f07 (patch)
tree9ffabf8102382f54c89595a59e3211eccd766217 /cc/ndk_sysroot.go
parent7c18e7f15b997e0e3199111446e0511ffd96b811 (diff)
Change CommonModuleInfoProvider to a pointer.
Bug: 358427516 Test: Manually verified genereated ninja and mk files, unit tests. Change-Id: I53a6dd718232735decbeb93febfd269dd9449e86
Diffstat (limited to 'cc/ndk_sysroot.go')
-rw-r--r--cc/ndk_sysroot.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/ndk_sysroot.go b/cc/ndk_sysroot.go
index 82a19d0d9..16778627f 100644
--- a/cc/ndk_sysroot.go
+++ b/cc/ndk_sysroot.go
@@ -212,7 +212,7 @@ func (n *ndkSingleton) GenerateBuildActions(ctx android.SingletonContext) {
var licensePaths android.Paths
ctx.VisitAllModuleProxies(func(module android.ModuleProxy) {
- if !android.OtherModuleProviderOrDefault(ctx, module, android.CommonModuleInfoProvider).Enabled {
+ if !android.OtherModulePointerProviderOrDefault(ctx, module, android.CommonModuleInfoProvider).Enabled {
return
}