Allow modules that don't run verify_uses_libraries to have nonempty CLC.
There are modules that would have passed verify_uses_library check, but don't run it for some reason (the check gets enabled either with an explicit setting, or if the module has nonempty <ues-library> lists in the build properties). Previously all such modules were assumed to have empty CLC, which is not always true. In particular, compatibility libraries are ignored, which affected e.g. Calendar and messaging apps. This CL gives such apps a chance to have correct CLC. The goal for the future is to enforce verify_library_check by default. Bug: 132357300 Test: lunch aosp_cf_x86_64_phone-userdebug && m Change-Id: Iea3be0fc9d7775c52950848b5a3fd3b7fcd36c53
This commit is contained in:
@@ -66,9 +66,9 @@ def main():
|
||||
if not args.sdk:
|
||||
raise SystemExit('target sdk version is not set')
|
||||
if not args.host_contexts:
|
||||
raise SystemExit('host context is not set')
|
||||
args.host_contexts = []
|
||||
if not args.target_contexts:
|
||||
raise SystemExit('target context is not set')
|
||||
args.target_contexts = []
|
||||
|
||||
print(construct_contexts(args))
|
||||
|
||||
|
Reference in New Issue
Block a user