Skip to content

Commit

Permalink
Added platform_compat_config to enable target sdk check
Browse files Browse the repository at this point in the history
Bug: 232351962
Tag: #feature
Test: atest CtsBluetoothTests
Ignore-AOSP-First: change only in internal
Change-Id: I66c0a83554d81f8a6a6956ec0a8a324be6b11033
(cherry picked from commit a82b0872e85476c9a96ef91b0556ac241352bac2)
Merged-In: I66c0a83554d81f8a6a6956ec0a8a324be6b11033
  • Loading branch information
Etienne Ruffieux authored and Android Build Coastguard Worker committed Jul 8, 2022
1 parent 5fc8a1d commit cea8f23
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apex/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ apex {
manifest: "apex_manifest.json",
bootclasspath_fragments: ["com.android.btservices-bootclasspath-fragment"],
systemserverclasspath_fragments: ["com.android.btservices-systemserverclasspath-fragment"],
compat_configs: ["bluetooth-compat-config"],
apps: ["Bluetooth"],

multilib: {
Expand Down Expand Up @@ -55,6 +56,7 @@ apex {
manifest: "apex_manifest.json",
bootclasspath_fragments: ["com.android.btservices-bootclasspath-fragment"],
systemserverclasspath_fragments: ["com.android.btservices-systemserverclasspath-fragment"],
compat_configs: ["bluetooth-compat-config"],
apps: ["Bluetooth"],

multilib: {
Expand Down
6 changes: 6 additions & 0 deletions service/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -134,3 +134,9 @@ gensrcs {
],
output_extension: "srcjar",
}

platform_compat_config
{
name: "bluetooth-compat-config",
src: ":service-bluetooth-pre-jarjar",
}

0 comments on commit cea8f23

Please sign in to comment.