summaryrefslogtreecommitdiff
path: root/common/support/Android.bp
diff options
context:
space:
mode:
authorMichael Butler <butlermichael@google.com>2021-03-25 15:27:38 -0700
committerMichael Butler <butlermichael@google.com>2021-04-09 02:10:37 +0000
commitbed23d9c3310c1e9a00fa0f49a9b6209b83e23b0 (patch)
tree70b885b6474f0f99710645ef66443b44d2e2c714 /common/support/Android.bp
parent8c4f0fcfc0387b73ee78b88a82fbec405d011a0a (diff)
Update NN utility code and VTS tests with new Memory type
This CL fixes the compiler errors that arose of changing the Memory representation of the NN AIDL HAL, and updates the conversion and utility code to work with the new Memory type. This change also makes libaidlcommonsupport available to apex modules at min sdk level 29. Bug: 183118727 Test: mma Test: VtsHalNeuralnetworksTargetTest Change-Id: Ief565473b4d82e0bb43785fc3b8275b16bd26cf6 Merged-In: Ief565473b4d82e0bb43785fc3b8275b16bd26cf6 (cherry picked from commit b0fcb3927d848e9721f05a458b5d6d4d2cb8079d)
Diffstat (limited to 'common/support/Android.bp')
-rw-r--r--common/support/Android.bp5
1 files changed, 5 insertions, 0 deletions
diff --git a/common/support/Android.bp b/common/support/Android.bp
index 8aea306dae..730798d840 100644
--- a/common/support/Android.bp
+++ b/common/support/Android.bp
@@ -18,6 +18,11 @@ cc_library_static {
"android.hardware.common-V2-ndk_platform",
"libcutils",
],
+ apex_available: [
+ "//apex_available:platform",
+ "com.android.neuralnetworks",
+ ],
+ min_sdk_version: "29",
}
cc_test {