summaryrefslogtreecommitdiff
path: root/apex/apex_test.go
diff options
context:
space:
mode:
author Yu Liu <yudiliu@google.com> 2024-12-10 00:58:06 +0000
committer Yu Liu <yudiliu@google.com> 2024-12-10 19:54:12 +0000
commitb73c3a6d221523f06d30c15145866056556187d0 (patch)
treeb97fd1cd15ff82875c41a49fbed48ed6662806e8 /apex/apex_test.go
parentd29a1a83c251f570d438487aafe51680e3ece76f (diff)
Convert checkApexAvailability to use ModuleProxy.
Bug: 377723687 Test: Unit tests and compare the ninja and mk files generated. Change-Id: I7582db8e22e94d0a9db7715a76bb6ed34c166a4e
Diffstat (limited to 'apex/apex_test.go')
-rw-r--r--apex/apex_test.go8
1 files changed, 7 insertions, 1 deletions
diff --git a/apex/apex_test.go b/apex/apex_test.go
index 282cd1dd3..12cf6a693 100644
--- a/apex/apex_test.go
+++ b/apex/apex_test.go
@@ -6353,10 +6353,16 @@ func TestApexAvailable_IndirectDep(t *testing.T) {
testApexError(t, `requires "libbaz" that doesn't list the APEX under 'apex_available'.\n\nDependency path:
.*via tag apex\.dependencyTag\{"sharedLib"\}
.*-> libfoo.*link:shared.*
+.*via tag cc\.dependencyTag.*
+.*-> libfoo.*link:static.*
.*via tag cc\.libraryDependencyTag.*Kind:sharedLibraryDependency.*
.*-> libbar.*link:shared.*
+.*via tag cc\.dependencyTag.*
+.*-> libbar.*link:static.*
.*via tag cc\.libraryDependencyTag.*Kind:sharedLibraryDependency.*
-.*-> libbaz.*link:shared.*`, `
+.*-> libbaz.*link:shared.*
+.*via tag cc\.dependencyTag.*
+.*-> libbaz.*link:static.*`, `
apex {
name: "myapex",
key: "myapex.key",