hals_for_release.py print the AIDL version
This was accidently removed along with the old "optional"/"required"
string. Adding the version back in.
Test: hals_for_release.py
Bug: 402445419
Change-Id: I16dbb9e22889e85e492403edb7fc25f8ae6a39e5
diff --git a/analyze_matrix/hals_for_release.py b/analyze_matrix/hals_for_release.py
index 14c214b..e0dbd66 100755
--- a/analyze_matrix/hals_for_release.py
+++ b/analyze_matrix/hals_for_release.py
@@ -184,7 +184,7 @@
logger.debug("Ignoring file %s", file)
continue
action = "--instances" if args.instances else "--interfaces"
- instances = Analyze(args.analyze_matrix, file, [action, "--requirement"]).split("\n")
+ instances = Analyze(args.analyze_matrix, file, [action,]).split("\n")
instances = set(map(str.strip, instances)) - {""}
if level in matrices:
logger.warning("Found duplicated matrix for level %s, ignoring: %s", level, file)
@@ -390,13 +390,13 @@
desc = lambda fmt, instance: fmt.format(GetHalFormat(instance).name,
*SplitInstance(instance))
if self.args.deprecated:
- package_report += [desc("- {0} {2} can no longer be used", instance)
+ package_report += [desc("- {0} {2} {3} can no longer be used", instance)
for instance in deprecated]
if self.args.unchanged:
- package_report += [desc(" {0} {2}", instance) for instance in
+ package_report += [desc(" {0} {2} {3}", instance) for instance in
unchanged]
if self.args.introduced:
- package_report += [desc("+ {0} {2}", instance) for instance in
+ package_report += [desc("+ {0} {2} {3}", instance) for instance in
introduced]
return package_report