Propagate aidl_interface's min_sdk_version downstream for apex deps validation
Summary:
1. Replace cc_aidl_code_gen's aidl_flags attr with min_sdk_version attr
2. Propagate aidl_interface's min_sdk_version attr to downstream cc_library_shared, cc_library_static, and cc_aidl_code_gen targets
3. Update apex_deps_validation aspect to strip _aidl_code_gen suffix to validate the aidl code gen dep against allowed_deps.txt
The bazel test ensures that when we converts apex_available in aidl_interface to Bazel (b/260694842), apex deps validation works correctly with min_sdk_version.
Test: bazel test
Bug: 264578520
Change-Id: I3d17eb580a4f5ef6a6f8006688647fc345fb698c
4 files changed