From a5f9e76b991d9d69d3242b26be137956d0f4d0a8 Mon Sep 17 00:00:00 2001 From: Matteo Martincigh Date: Mon, 17 Jun 2019 13:26:34 +0100 Subject: IVGCVSW-2779 Fix Android Q build * Included required functions to the Android Q build by using macro ARMNN_ANDROID_NN_V1_2 Signed-off-by: Matteo Martincigh Change-Id: I3ea99ba4bebd85f0e8e69c72a90e1a7def4f9b35 --- test/DriverTestHelpers.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/DriverTestHelpers.hpp') diff --git a/test/DriverTestHelpers.hpp b/test/DriverTestHelpers.hpp index 428359e2..980b3a72 100644 --- a/test/DriverTestHelpers.hpp +++ b/test/DriverTestHelpers.hpp @@ -242,12 +242,12 @@ android::sp PrepareModelWithStatus(const V1_0::Model& mode ErrorStatus& prepareStatus, ErrorStatus expectedStatus = ErrorStatus::NONE); -#ifdef ARMNN_ANDROID_NN_V1_1 +#if defined(ARMNN_ANDROID_NN_V1_1) || defined(ARMNN_ANDROID_NN_V1_2) android::sp PrepareModelWithStatus(const V1_1::Model& model, - armnn_driver::ArmnnDriver& driver, - ErrorStatus& prepareStatus, - ErrorStatus expectedStatus = ErrorStatus::NONE); + armnn_driver::ArmnnDriver& driver, + ErrorStatus& prepareStatus, + ErrorStatus expectedStatus = ErrorStatus::NONE); #endif -- cgit v1.2.1