Extend ART/Runtime APEX checker build rules to flattened APEXes.

Flattened APEX packages are only built when APEX flattening is
enabled (whereas non-flattened APEXes are always built). Only enable
these build-time checks when APEX flattening is enabled.

Test: m art-check-release-flattened-apex-gen-fakebin (with flattening enabled)
Test: m art-check-debug-flattened-apex-gen-fakebin (with flattening enabled)
Test: m art-check-testing-flattened-apex-gen-fakebin (with flattening enabled)
Bug: 139277987
Change-Id: I30073e964caec377014baf6e1f69dcb1bb7f90e6
Merged-In: I30073e964caec377014baf6e1f69dcb1bb7f90e6
1 file changed