diff options
author | 2018-02-07 09:53:09 -0800 | |
---|---|---|
committer | 2018-02-07 09:54:41 -0800 | |
commit | deda4a67f661596dfe793af75a5d50b5ef5467f2 (patch) | |
tree | 6a3a6eae9e3249c59df8db864c972ad06e793683 /src/test/java | |
parent | fd3e2e90a18b6f63b537a6531de21e714cf0d98b (diff) |
Improved invalid/unsupported NDK revision warning message.
Suggestion from @angersson on GitHub: https://github.com/bazelbuild/bazel/issues/4068#issuecomment-347627252
GITHUB: https://github.com/bazelbuild/bazel/issues/4068
RELNOTES: Improved clarity of warning message for unsupported NDK revisions.
PiperOrigin-RevId: 184852316
Diffstat (limited to 'src/test/java')
-rw-r--r-- | src/test/java/com/google/devtools/build/lib/bazel/rules/android/AndroidNdkRepositoryTest.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/java/com/google/devtools/build/lib/bazel/rules/android/AndroidNdkRepositoryTest.java b/src/test/java/com/google/devtools/build/lib/bazel/rules/android/AndroidNdkRepositoryTest.java index 3518fbc216..c2bfad33eb 100644 --- a/src/test/java/com/google/devtools/build/lib/bazel/rules/android/AndroidNdkRepositoryTest.java +++ b/src/test/java/com/google/devtools/build/lib/bazel/rules/android/AndroidNdkRepositoryTest.java @@ -102,7 +102,7 @@ public class AndroidNdkRepositoryTest extends BuildViewTestCase { eventCollector, "The revision of the Android NDK referenced by android_ndk_repository rule 'androidndk' " + "could not be determined (the revision string found is 'not a valid release string')." - + " Defaulting to revision 14."); + + " Bazel will attempt to treat the NDK as if it was r14."); } @Test @@ -128,7 +128,7 @@ public class AndroidNdkRepositoryTest extends BuildViewTestCase { eventCollector, "The revision of the Android NDK referenced by android_ndk_repository rule 'androidndk' " + "could not be determined (the revision string found is 'invalid package revision'). " - + "Defaulting to revision 14."); + + "Bazel will attempt to treat the NDK as if it was r14."); } @Test @@ -153,7 +153,7 @@ public class AndroidNdkRepositoryTest extends BuildViewTestCase { eventCollector, "The major revision of the Android NDK referenced by android_ndk_repository rule " + "'androidndk' is 15. The major revisions supported by Bazel are [10, 11, 12, 13, 14]." - + " Defaulting to revision 14."); + + " Bazel will attempt to treat the NDK as if it was r14."); } @Test |