summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Nick Kralevich <nnk@google.com> 2025-03-11 09:33:06 -0700
committer Nick Kralevich <nnk@google.com> 2025-03-11 09:41:16 -0700
commit012cfd094c7de9203ef801745ba4ae45eb036196 (patch)
treef1d9ec5a8cfb0ea73c5daecdfeb423953c4cf826
parenta369dc00143821fa7784d1bfa9d2986186b23742 (diff)
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
-rwxr-xr-xscripts/manifest_check.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/manifest_check.py b/scripts/manifest_check.py
index 175451e74..96dc5a6ce 100755
--- a/scripts/manifest_check.py
+++ b/scripts/manifest_check.py
@@ -132,7 +132,7 @@ def enforce_uses_libraries(manifest, required, optional, missing_optional, relax
#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),