Remove service-art exception to build latest api targets.

The service-art java_sdk_library was not generating the latest api
targets as mentioned in the bug - b/235330409.
Hence an exception was added to avoid building latest api targets for
service-art java_sdk_library.

The bug has been fixed now and this exception can be safely removed.

Bug: 235330409
Test: built mainline_modules_sdks.py successfully.
mainline_modules_sdks_test.py passes
The .info files corresponding to art module has latest api fields
populated for service-art java_sdk_library.

Change-Id: Idd13df1410cb3ced8c347a78a48d8524923f3da5
Merged-In: Ib4dd01b64e4e8edc90c8cb992cc3e65681da39bc
This commit is contained in:
Gurpreet Singh
2022-06-28 17:24:12 +00:00
parent 898dd8159e
commit 113e7e63a9

View File

@@ -441,10 +441,7 @@ java_sdk_library_import {{
@staticmethod
def does_sdk_library_support_latest_api(sdk_library):
# TODO(b/235330409): remove service art from the exception list once
# this bug is fixed.
if sdk_library == "service-art" or \
sdk_library == "conscrypt.module.platform.api":
if sdk_library == "conscrypt.module.platform.api":
return False
return True