summaryrefslogtreecommitdiff
path: root/android/path_properties_test.go
diff options
context:
space:
mode:
author Yu Liu <yudiliu@google.com> 2024-11-08 23:11:47 +0000
committer Yu Liu <yudiliu@google.com> 2024-11-12 03:48:18 +0000
commitd3228acdc8658e7bd9ef9662c425822ae55fdebf (patch)
treee44aabb46fe66af9168e07d91792d7dd6a724e04 /android/path_properties_test.go
parent48a943f674de35fb78e1e8d7f36b823798c96233 (diff)
Change GetModuleFromPathDep to use ModuleProxy.
Bug: 377723687 Test: Compare ninja and mk files generated. Change-Id: I428b0965b217adb20a792ebde88374e0c6fae9d6
Diffstat (limited to 'android/path_properties_test.go')
-rw-r--r--android/path_properties_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/path_properties_test.go b/android/path_properties_test.go
index 07b48696c..6f44f2872 100644
--- a/android/path_properties_test.go
+++ b/android/path_properties_test.go
@@ -64,7 +64,7 @@ func (p *pathDepsMutatorTestModule) GenerateAndroidBuildActions(ctx ModuleContex
if p.props.Foo != "" {
// Make sure there is only one dependency on a module listed in a property present in multiple property structs
m := SrcIsModule(p.props.Foo)
- if GetModuleFromPathDep(ctx, m, "") == nil {
+ if GetModuleProxyFromPathDep(ctx, m, "") == nil {
ctx.ModuleErrorf("GetDirectDepWithTag failed")
}
}