summaryrefslogtreecommitdiff
path: root/apex/apex_test.go
diff options
context:
space:
mode:
author Steven Moreland <smoreland@google.com> 2020-10-22 01:08:35 +0000
committer Steven Moreland <smoreland@google.com> 2020-10-22 01:23:33 +0000
commit6e36cd6104d661b42794c26c8b75e873cb21b71a (patch)
tree7836dece2c9e6593251bf8bdf39c64d78979efb8 /apex/apex_test.go
parent34f02905829a27387a482217f10425072923bbbd (diff)
apex dependency error: note 'apex_available'
This error tracks `apex_available` closure, but the message doesn't indicate this variable specifically. Calling it out to try to make the problem more searchable/discoverable/intuitable. Bug: N/A Test: apex_test.go Change-Id: Ib254ace1dbd4e77d073ed4f98ee181dd86adfcfc
Diffstat (limited to 'apex/apex_test.go')
-rw-r--r--apex/apex_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/apex/apex_test.go b/apex/apex_test.go
index c52fd0452..38dd46398 100644
--- a/apex/apex_test.go
+++ b/apex/apex_test.go
@@ -4558,7 +4558,7 @@ func TestApexWithTestHelperApp(t *testing.T) {
func TestApexPropertiesShouldBeDefaultable(t *testing.T) {
// libfoo's apex_available comes from cc_defaults
- testApexError(t, `requires "libfoo" that is not available for the APEX`, `
+ testApexError(t, `requires "libfoo" that doesn't list the APEX under 'apex_available'.`, `
apex {
name: "myapex",
key: "myapex.key",
@@ -4592,7 +4592,7 @@ func TestApexPropertiesShouldBeDefaultable(t *testing.T) {
func TestApexAvailable_DirectDep(t *testing.T) {
// libfoo is not available to myapex, but only to otherapex
- testApexError(t, "requires \"libfoo\" that is not available for the APEX", `
+ testApexError(t, "requires \"libfoo\" that doesn't list the APEX under 'apex_available'.", `
apex {
name: "myapex",
key: "myapex.key",
@@ -4627,7 +4627,7 @@ func TestApexAvailable_DirectDep(t *testing.T) {
func TestApexAvailable_IndirectDep(t *testing.T) {
// libbbaz is an indirect dep
- testApexError(t, `requires "libbaz" that is not available for the APEX. Dependency path:
+ testApexError(t, `requires "libbaz" that doesn't list the APEX under 'apex_available'. Dependency path:
.*via tag apex\.dependencyTag.*name:sharedLib.*
.*-> libfoo.*link:shared.*
.*via tag cc\.libraryDependencyTag.*Kind:sharedLibraryDependency.*