Merge "Friendly error message on apex_available and min_sdk_version checks"

This commit is contained in:
Treehugger Robot
2021-03-05 03:30:11 +00:00
committed by Gerrit Code Review
3 changed files with 11 additions and 5 deletions

View File

@@ -5315,7 +5315,7 @@ func TestApexAvailable_DirectDep(t *testing.T) {
func TestApexAvailable_IndirectDep(t *testing.T) {
// libbbaz is an indirect dep
testApexError(t, `requires "libbaz" that doesn't list the APEX under 'apex_available'. Dependency path:
testApexError(t, `requires "libbaz" that doesn't list the APEX under 'apex_available'.\n\nDependency path:
.*via tag apex\.dependencyTag.*name:sharedLib.*
.*-> libfoo.*link:shared.*
.*via tag cc\.libraryDependencyTag.*Kind:sharedLibraryDependency.*