manifest_check.py: Clarify that ordering matters
When comparing the library declaration from AndroidManifest.xml and
Android.bp, the library ordering must match (see b/132357300#comment3).
The error message does not make it clear that ordering is significant
and a mismatch in ordering is an error.
Improve the error message to make this more obvious.
Bug: 401287317
Test: compiles
Change-Id: Idfb3e1e96893f81190dc320c49d40677b76f9853
diff --git a/scripts/manifest_check.py b/scripts/manifest_check.py
index 175451e..96dc5a6 100755
--- a/scripts/manifest_check.py
+++ b/scripts/manifest_check.py
@@ -132,7 +132,7 @@
#pylint: disable=line-too-long
errmsg = ''.join([
- 'mismatch in the <uses-library> tags between the build system and the '
+ 'mismatch or misordering in the <uses-library> tags between the build system and the '
'manifest:\n',
'\t- required libraries in build system: %s[%s]%s\n' % (C_RED, ', '.join(required), C_OFF),
'\t vs. in the manifest: %s[%s]%s\n' % (C_RED, ', '.join(manifest_required), C_OFF),