From 15a92dad5dcd78dba7bc5207925cbc844b6e2c83 Mon Sep 17 00:00:00 2001 From: Steven Moreland Date: Mon, 30 Aug 2021 18:02:43 -0700 Subject: [PATCH] neuralnetworks: use versions for imports This makes sure that when developers add a new version of an interface, or when interfaces are being frozen, the runtime/buildtime situation of clients depending on those interfaces remains the same. This is required for AIDL to continue working at scale. Bug: 188871598 Test: build Change-Id: Ib4c6e8f5bf34cc333675201dca4eab08dd88628d --- neuralnetworks/aidl/Android.bp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/neuralnetworks/aidl/Android.bp b/neuralnetworks/aidl/Android.bp index 81252c7337..4316c3127c 100644 --- a/neuralnetworks/aidl/Android.bp +++ b/neuralnetworks/aidl/Android.bp @@ -16,8 +16,8 @@ aidl_interface { ], stability: "vintf", imports: [ - "android.hardware.common", - "android.hardware.graphics.common", + "android.hardware.common-V2", + "android.hardware.graphics.common-V2", ], backend: { java: {