commit | 160172d92d83338bd80c4996c0237ca866bc20ae | [log] [tgz] |
---|---|---|
author | Vinh Tran <vinhdaitran@google.com> | Mon Apr 18 21:53:39 2022 +0000 |
committer | Vinh Tran <vinhdaitran@google.com> | Wed Apr 27 11:23:53 2022 -0400 |
tree | 2a3b451d8de932f1f69229b17a6bb89028431dd4 | |
parent | 2a3aa26b06b1c49c95862c5d533ebb643cf6dc07 [diff] |
Remove sdk_version if platform_apis is set This CL is to make `android_test` and `android_test_helper_app` more consistent with documentation which suggests sdk_version must be empty if platform_apis is set. https://cs.android.com/android/platform/superproject/+/master:build/soong/java/base.go;bpv=1;bpt=1;l=211?gsn=Platform_apis&gs=kythe%3A%2F%2Fandroid.googlesource.com%2Fplatform%2Fsuperproject%3Flang%3Dgo%3Fpath%3Dbuild%2Fsoong%2Fjava%23field%2520DeviceProperties.Platform_apis Next step: * Add validation to error when both `sdk_version` and `platform_apis` are set. WIP: aosp/2065270 Test: The affected test modules are FramefworksCoreTests, BugreportManagerTestCases, FrameworksCorePackageInstallerSessionsTests , and PackageManagerServiceHostTests. Some tests in FrameworksCorePackageInstallerSessionsTests and PackageManagerServiceHostTests fail but this CL doesn't produce any regression from the last known build. In other words, the last known build also has the same test failures. Bug: 219755537 Change-Id: I50405b37b7454a78f1dbd240380d2e98b8bb34b2