Update vibrator example extension aidl_interface with versions_with_info

This info is needed to know when the imports change between versions.
Set a good example.

Test: m
Bug: 273585373
Change-Id: I3f34711e99b09b611d68af522e2103a7cf768d63
This commit is contained in:
Devin Moore 2023-03-20 23:55:26 +00:00
parent 777a0bc5f7
commit caca1dbc80
2 changed files with 8 additions and 2 deletions

View file

@ -38,5 +38,11 @@ aidl_interface {
enabled: false,
},
},
versions: ["1"],
frozen: true,
versions_with_info: [
{
version: "1",
imports: ["android.hardware.vibrator-V2"],
},
],
}

View file

@ -29,6 +29,6 @@ cc_binary {
"libbase",
"libbinder_ndk",
"android.hardware.vibrator-V2-ndk",
"android.hardware.tests.extension.vibrator-V2-ndk",
"android.hardware.tests.extension.vibrator-V1-ndk",
],
}