telsoa01 | 5307bc1 | 2018-03-09 13:51:08 +0000 | [diff] [blame] | 1 | # |
| 2 | # Copyright © 2017 ARM Ltd. All rights reserved. |
David Beck | 93e4898 | 2018-09-05 13:05:09 +0100 | [diff] [blame] | 3 | # SPDX-License-Identifier: MIT |
telsoa01 | 5307bc1 | 2018-03-09 13:51:08 +0000 | [diff] [blame] | 4 | # |
| 5 | |
| 6 | ANDROID_NN_DRIVER_LOCAL_PATH := $(call my-dir) |
| 7 | LOCAL_PATH := $(ANDROID_NN_DRIVER_LOCAL_PATH) |
| 8 | |
| 9 | # Configure these paths if you move the source or Khronos headers |
surmeh01 | deb3bdb | 2018-07-05 12:06:04 +0100 | [diff] [blame] | 10 | ARMNN_HEADER_PATH := $(LOCAL_PATH)/armnn/include |
| 11 | ARMNN_UTILS_HEADER_PATH := $(LOCAL_PATH)/armnn/src/armnnUtils |
surmeh01 | 49b9e10 | 2018-05-17 14:11:25 +0100 | [diff] [blame] | 12 | OPENCL_HEADER_PATH := $(LOCAL_PATH)/clframework/include |
telsoa01 | 5307bc1 | 2018-03-09 13:51:08 +0000 | [diff] [blame] | 13 | NN_HEADER_PATH := $(LOCAL_PATH)/../../../frameworks/ml/nn/runtime/include |
| 14 | |
Matteo Martincigh | 01c9151 | 2019-01-31 15:40:08 +0000 | [diff] [blame] | 15 | # Variables to control CL/NEON backend support |
| 16 | # Set them to '0' to disable support for a specific backend |
| 17 | ARMNN_COMPUTE_CL_ENABLED := 1 |
| 18 | ARMNN_COMPUTE_NEON_ENABLED := 1 |
| 19 | |
telsoa01 | ce3e84a | 2018-08-31 09:31:35 +0100 | [diff] [blame] | 20 | ####################### |
| 21 | # libarmnn-driver@1.0 # |
| 22 | ####################### |
telsoa01 | 5307bc1 | 2018-03-09 13:51:08 +0000 | [diff] [blame] | 23 | include $(CLEAR_VARS) |
| 24 | |
telsoa01 | ce3e84a | 2018-08-31 09:31:35 +0100 | [diff] [blame] | 25 | LOCAL_MODULE := libarmnn-driver@1.0 |
telsoa01 | 5307bc1 | 2018-03-09 13:51:08 +0000 | [diff] [blame] | 26 | LOCAL_MODULE_TAGS := eng optional |
| 27 | LOCAL_ARM_MODE := arm |
surmeh01 | 49b9e10 | 2018-05-17 14:11:25 +0100 | [diff] [blame] | 28 | LOCAL_PROPRIETARY_MODULE := true |
telsoa01 | 5307bc1 | 2018-03-09 13:51:08 +0000 | [diff] [blame] | 29 | # Mark source files as dependent on Android.mk |
| 30 | LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk |
| 31 | |
surmeh01 | deb3bdb | 2018-07-05 12:06:04 +0100 | [diff] [blame] | 32 | LOCAL_C_INCLUDES := \ |
telsoa01 | ce3e84a | 2018-08-31 09:31:35 +0100 | [diff] [blame] | 33 | $(ARMNN_HEADER_PATH) \ |
| 34 | $(ARMNN_UTILS_HEADER_PATH) \ |
| 35 | $(OPENCL_HEADER_PATH) \ |
| 36 | $(NN_HEADER_PATH) |
telsoa01 | 5307bc1 | 2018-03-09 13:51:08 +0000 | [diff] [blame] | 37 | |
| 38 | LOCAL_CFLAGS := \ |
telsoa01 | ce3e84a | 2018-08-31 09:31:35 +0100 | [diff] [blame] | 39 | -std=c++14 \ |
| 40 | -fexceptions \ |
| 41 | -Werror \ |
| 42 | -Wno-format-security |
surmeh01 | deb3bdb | 2018-07-05 12:06:04 +0100 | [diff] [blame] | 43 | ifeq ($(PLATFORM_VERSION),9) |
| 44 | # Required to build with the changes made to the Android ML framework starting from Android P, |
| 45 | # regardless of the HAL version used for the build. |
| 46 | LOCAL_CFLAGS+= \ |
| 47 | -DARMNN_ANDROID_P |
Matteo Martincigh | 69558df | 2018-08-31 16:18:19 +0100 | [diff] [blame] | 48 | endif # PLATFORM_VERSION == 9 |
telsoa01 | 5307bc1 | 2018-03-09 13:51:08 +0000 | [diff] [blame] | 49 | ifeq ($(ARMNN_DRIVER_DEBUG),1) |
telsoa01 | ce3e84a | 2018-08-31 09:31:35 +0100 | [diff] [blame] | 50 | LOCAL_CFLAGS+= \ |
| 51 | -UNDEBUG |
Matteo Martincigh | 69558df | 2018-08-31 16:18:19 +0100 | [diff] [blame] | 52 | endif # ARMNN_DRIVER_DEBUG == 1 |
Matteo Martincigh | 01c9151 | 2019-01-31 15:40:08 +0000 | [diff] [blame] | 53 | ifeq ($(ARMNN_COMPUTE_CL_ENABLED),1) |
| 54 | LOCAL_CFLAGS += \ |
| 55 | -DARMCOMPUTECL_ENABLED |
| 56 | endif # ARMNN_COMPUTE_CL_ENABLED == 1 |
| 57 | ifeq ($(ARMNN_COMPUTE_NEON_ENABLED),1) |
| 58 | LOCAL_CFLAGS += \ |
| 59 | -DARMCOMPUTENEON_ENABLED |
| 60 | endif # ARMNN_COMPUTE_NEON_ENABLED == 1 |
telsoa01 | 5307bc1 | 2018-03-09 13:51:08 +0000 | [diff] [blame] | 61 | |
surmeh01 | deb3bdb | 2018-07-05 12:06:04 +0100 | [diff] [blame] | 62 | LOCAL_SRC_FILES := \ |
Matteo Martincigh | 79250ab | 2018-09-04 16:28:10 +0100 | [diff] [blame] | 63 | 1.0/ArmnnDriverImpl.cpp \ |
arovir01 | b0717b5 | 2018-09-05 17:03:25 +0100 | [diff] [blame] | 64 | 1.0/HalPolicy.cpp \ |
Matteo Martincigh | e48bdff | 2018-09-03 13:50:50 +0100 | [diff] [blame] | 65 | ArmnnDriverImpl.cpp \ |
telsoa01 | ce3e84a | 2018-08-31 09:31:35 +0100 | [diff] [blame] | 66 | DriverOptions.cpp \ |
| 67 | ArmnnDevice.cpp \ |
| 68 | ArmnnPreparedModel.cpp \ |
| 69 | ModelToINetworkConverter.cpp \ |
| 70 | RequestThread.cpp \ |
arovir01 | b0717b5 | 2018-09-05 17:03:25 +0100 | [diff] [blame] | 71 | Utils.cpp \ |
| 72 | ConversionUtils.cpp |
telsoa01 | 5307bc1 | 2018-03-09 13:51:08 +0000 | [diff] [blame] | 73 | |
| 74 | LOCAL_STATIC_LIBRARIES := \ |
telsoa01 | ce3e84a | 2018-08-31 09:31:35 +0100 | [diff] [blame] | 75 | libneuralnetworks_common \ |
telsoa01 | ce3e84a | 2018-08-31 09:31:35 +0100 | [diff] [blame] | 76 | libboost_log \ |
| 77 | libboost_program_options \ |
| 78 | libboost_system \ |
| 79 | libboost_thread \ |
| 80 | armnn-arm_compute |
telsoa01 | 5307bc1 | 2018-03-09 13:51:08 +0000 | [diff] [blame] | 81 | |
David Beck | c965f3c | 2018-10-12 17:23:16 +0100 | [diff] [blame] | 82 | LOCAL_WHOLE_STATIC_LIBRARIES := libarmnn |
| 83 | |
surmeh01 | deb3bdb | 2018-07-05 12:06:04 +0100 | [diff] [blame] | 84 | LOCAL_SHARED_LIBRARIES := \ |
telsoa01 | ce3e84a | 2018-08-31 09:31:35 +0100 | [diff] [blame] | 85 | libbase \ |
| 86 | libhidlbase \ |
| 87 | libhidltransport \ |
| 88 | libhidlmemory \ |
| 89 | liblog \ |
| 90 | libutils \ |
| 91 | android.hardware.neuralnetworks@1.0 \ |
| 92 | android.hidl.allocator@1.0 \ |
| 93 | android.hidl.memory@1.0 \ |
| 94 | libOpenCL |
surmeh01 | deb3bdb | 2018-07-05 12:06:04 +0100 | [diff] [blame] | 95 | ifeq ($(PLATFORM_VERSION),9) |
| 96 | # Required to build the 1.0 version of the NN Driver on Android P and later versions, |
| 97 | # as the 1.0 version of the NN API needs the 1.1 HAL headers to be included regardless. |
| 98 | LOCAL_SHARED_LIBRARIES+= \ |
telsoa01 | ce3e84a | 2018-08-31 09:31:35 +0100 | [diff] [blame] | 99 | android.hardware.neuralnetworks@1.1 |
Matteo Martincigh | 69558df | 2018-08-31 16:18:19 +0100 | [diff] [blame] | 100 | endif # PLATFORM_VERSION == 9 |
telsoa01 | 5307bc1 | 2018-03-09 13:51:08 +0000 | [diff] [blame] | 101 | |
| 102 | include $(BUILD_STATIC_LIBRARY) |
| 103 | |
Matteo Martincigh | 69558df | 2018-08-31 16:18:19 +0100 | [diff] [blame] | 104 | ifeq ($(PLATFORM_VERSION),9) |
| 105 | # The following target is available starting from Android P |
| 106 | |
telsoa01 | ce3e84a | 2018-08-31 09:31:35 +0100 | [diff] [blame] | 107 | ####################### |
| 108 | # libarmnn-driver@1.1 # |
| 109 | ####################### |
| 110 | include $(CLEAR_VARS) |
| 111 | |
| 112 | LOCAL_MODULE := libarmnn-driver@1.1 |
| 113 | LOCAL_MODULE_TAGS := eng optional |
| 114 | LOCAL_ARM_MODE := arm |
| 115 | LOCAL_PROPRIETARY_MODULE := true |
| 116 | # Mark source files as dependent on Android.mk |
| 117 | LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk |
| 118 | |
| 119 | LOCAL_C_INCLUDES := \ |
| 120 | $(ARMNN_HEADER_PATH) \ |
| 121 | $(ARMNN_UTILS_HEADER_PATH) \ |
| 122 | $(OPENCL_HEADER_PATH) \ |
| 123 | $(NN_HEADER_PATH) |
| 124 | |
| 125 | LOCAL_CFLAGS := \ |
| 126 | -std=c++14 \ |
| 127 | -fexceptions \ |
| 128 | -Werror \ |
| 129 | -Wno-format-security \ |
| 130 | -DARMNN_ANDROID_P \ |
| 131 | -DARMNN_ANDROID_NN_V1_1 |
| 132 | ifeq ($(ARMNN_DRIVER_DEBUG),1) |
| 133 | LOCAL_CFLAGS+= \ |
| 134 | -UNDEBUG |
Matteo Martincigh | 69558df | 2018-08-31 16:18:19 +0100 | [diff] [blame] | 135 | endif # ARMNN_DRIVER_DEBUG == 1 |
Matteo Martincigh | 01c9151 | 2019-01-31 15:40:08 +0000 | [diff] [blame] | 136 | ifeq ($(ARMNN_COMPUTE_CL_ENABLED),1) |
| 137 | LOCAL_CFLAGS += \ |
| 138 | -DARMCOMPUTECL_ENABLED |
| 139 | endif # ARMNN_COMPUTE_CL_ENABLED == 1 |
| 140 | ifeq ($(ARMNN_COMPUTE_NEON_ENABLED),1) |
| 141 | LOCAL_CFLAGS += \ |
| 142 | -DARMCOMPUTENEON_ENABLED |
| 143 | endif # ARMNN_COMPUTE_NEON_ENABLED == 1 |
telsoa01 | ce3e84a | 2018-08-31 09:31:35 +0100 | [diff] [blame] | 144 | |
| 145 | LOCAL_SRC_FILES := \ |
Matteo Martincigh | 79250ab | 2018-09-04 16:28:10 +0100 | [diff] [blame] | 146 | 1.0/ArmnnDriverImpl.cpp \ |
arovir01 | b0717b5 | 2018-09-05 17:03:25 +0100 | [diff] [blame] | 147 | 1.0/HalPolicy.cpp \ |
Matteo Martincigh | 79250ab | 2018-09-04 16:28:10 +0100 | [diff] [blame] | 148 | 1.1/ArmnnDriverImpl.cpp \ |
arovir01 | b0717b5 | 2018-09-05 17:03:25 +0100 | [diff] [blame] | 149 | 1.1/HalPolicy.cpp \ |
Matteo Martincigh | e48bdff | 2018-09-03 13:50:50 +0100 | [diff] [blame] | 150 | ArmnnDriverImpl.cpp \ |
telsoa01 | ce3e84a | 2018-08-31 09:31:35 +0100 | [diff] [blame] | 151 | DriverOptions.cpp \ |
| 152 | ArmnnDevice.cpp \ |
| 153 | ArmnnPreparedModel.cpp \ |
| 154 | ModelToINetworkConverter.cpp \ |
| 155 | RequestThread.cpp \ |
arovir01 | b0717b5 | 2018-09-05 17:03:25 +0100 | [diff] [blame] | 156 | Utils.cpp \ |
| 157 | ConversionUtils.cpp |
telsoa01 | ce3e84a | 2018-08-31 09:31:35 +0100 | [diff] [blame] | 158 | |
| 159 | LOCAL_STATIC_LIBRARIES := \ |
| 160 | libneuralnetworks_common \ |
telsoa01 | ce3e84a | 2018-08-31 09:31:35 +0100 | [diff] [blame] | 161 | libboost_log \ |
| 162 | libboost_program_options \ |
| 163 | libboost_system \ |
| 164 | libboost_thread \ |
| 165 | armnn-arm_compute |
| 166 | |
David Beck | c965f3c | 2018-10-12 17:23:16 +0100 | [diff] [blame] | 167 | LOCAL_WHOLE_STATIC_LIBRARIES := libarmnn |
| 168 | |
telsoa01 | ce3e84a | 2018-08-31 09:31:35 +0100 | [diff] [blame] | 169 | LOCAL_SHARED_LIBRARIES := \ |
| 170 | libbase \ |
| 171 | libhidlbase \ |
| 172 | libhidltransport \ |
| 173 | libhidlmemory \ |
| 174 | liblog \ |
| 175 | libutils \ |
| 176 | android.hardware.neuralnetworks@1.0 \ |
| 177 | android.hardware.neuralnetworks@1.1 \ |
| 178 | android.hidl.allocator@1.0 \ |
| 179 | android.hidl.memory@1.0 \ |
| 180 | libOpenCL |
| 181 | |
| 182 | include $(BUILD_STATIC_LIBRARY) |
| 183 | |
Matteo Martincigh | 69558df | 2018-08-31 16:18:19 +0100 | [diff] [blame] | 184 | endif # PLATFORM_VERSION == 9 |
| 185 | |
telsoa01 | 5307bc1 | 2018-03-09 13:51:08 +0000 | [diff] [blame] | 186 | ##################################################### |
| 187 | # android.hardware.neuralnetworks@1.0-service-armnn # |
| 188 | ##################################################### |
| 189 | include $(CLEAR_VARS) |
| 190 | |
| 191 | LOCAL_MODULE := android.hardware.neuralnetworks@1.0-service-armnn |
| 192 | LOCAL_INIT_RC := android.hardware.neuralnetworks@1.0-service-armnn.rc |
| 193 | LOCAL_MODULE_TAGS := eng optional |
| 194 | LOCAL_ARM_MODE := arm |
| 195 | LOCAL_MODULE_RELATIVE_PATH := hw |
| 196 | LOCAL_PROPRIETARY_MODULE := true |
| 197 | # Mark source files as dependent on Android.mk |
| 198 | LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk |
| 199 | |
telsoa01 | ce3e84a | 2018-08-31 09:31:35 +0100 | [diff] [blame] | 200 | LOCAL_C_INCLUDES := \ |
| 201 | $(ARMNN_HEADER_PATH) \ |
| 202 | $(NN_HEADER_PATH) |
telsoa01 | 5307bc1 | 2018-03-09 13:51:08 +0000 | [diff] [blame] | 203 | |
| 204 | LOCAL_CFLAGS := \ |
telsoa01 | ce3e84a | 2018-08-31 09:31:35 +0100 | [diff] [blame] | 205 | -std=c++14 \ |
| 206 | -fexceptions |
telsoa01 | 5307bc1 | 2018-03-09 13:51:08 +0000 | [diff] [blame] | 207 | ifeq ($(ARMNN_DRIVER_DEBUG),1) |
telsoa01 | ce3e84a | 2018-08-31 09:31:35 +0100 | [diff] [blame] | 208 | LOCAL_CFLAGS += \ |
| 209 | -UNDEBUG |
Matteo Martincigh | 69558df | 2018-08-31 16:18:19 +0100 | [diff] [blame] | 210 | endif # ARMNN_DRIVER_DEBUG == 1 |
telsoa01 | 5307bc1 | 2018-03-09 13:51:08 +0000 | [diff] [blame] | 211 | |
surmeh01 | deb3bdb | 2018-07-05 12:06:04 +0100 | [diff] [blame] | 212 | LOCAL_SRC_FILES := \ |
telsoa01 | ce3e84a | 2018-08-31 09:31:35 +0100 | [diff] [blame] | 213 | service.cpp |
telsoa01 | 5307bc1 | 2018-03-09 13:51:08 +0000 | [diff] [blame] | 214 | |
| 215 | LOCAL_STATIC_LIBRARIES := \ |
telsoa01 | ce3e84a | 2018-08-31 09:31:35 +0100 | [diff] [blame] | 216 | libneuralnetworks_common \ |
telsoa01 | ce3e84a | 2018-08-31 09:31:35 +0100 | [diff] [blame] | 217 | libboost_log \ |
| 218 | libboost_program_options \ |
| 219 | libboost_system \ |
| 220 | libboost_thread \ |
| 221 | armnn-arm_compute |
telsoa01 | 5307bc1 | 2018-03-09 13:51:08 +0000 | [diff] [blame] | 222 | |
David Beck | beb3e1f | 2018-10-15 14:15:42 +0100 | [diff] [blame] | 223 | LOCAL_WHOLE_STATIC_LIBRARIES := \ |
| 224 | libarmnn-driver@1.0 |
David Beck | c965f3c | 2018-10-12 17:23:16 +0100 | [diff] [blame] | 225 | |
surmeh01 | deb3bdb | 2018-07-05 12:06:04 +0100 | [diff] [blame] | 226 | LOCAL_SHARED_LIBRARIES := \ |
telsoa01 | ce3e84a | 2018-08-31 09:31:35 +0100 | [diff] [blame] | 227 | libbase \ |
| 228 | libhidlbase \ |
| 229 | libhidltransport \ |
| 230 | libhidlmemory \ |
| 231 | libdl \ |
| 232 | libhardware \ |
| 233 | liblog \ |
| 234 | libtextclassifier_hash \ |
| 235 | libutils \ |
| 236 | android.hardware.neuralnetworks@1.0 \ |
| 237 | android.hidl.allocator@1.0 \ |
| 238 | android.hidl.memory@1.0 \ |
| 239 | libOpenCL |
surmeh01 | deb3bdb | 2018-07-05 12:06:04 +0100 | [diff] [blame] | 240 | ifeq ($(PLATFORM_VERSION),9) |
| 241 | # Required to build the 1.0 version of the NN Driver on Android P and later versions, |
| 242 | # as the 1.0 version of the NN API needs the 1.1 HAL headers to be included regardless. |
| 243 | LOCAL_SHARED_LIBRARIES+= \ |
telsoa01 | ce3e84a | 2018-08-31 09:31:35 +0100 | [diff] [blame] | 244 | android.hardware.neuralnetworks@1.1 |
Matteo Martincigh | 69558df | 2018-08-31 16:18:19 +0100 | [diff] [blame] | 245 | endif # PLATFORM_VERSION == 9 |
telsoa01 | 5307bc1 | 2018-03-09 13:51:08 +0000 | [diff] [blame] | 246 | |
| 247 | include $(BUILD_EXECUTABLE) |
| 248 | |
Matteo Martincigh | 69558df | 2018-08-31 16:18:19 +0100 | [diff] [blame] | 249 | ifeq ($(PLATFORM_VERSION),9) |
| 250 | # The following target is available starting from Android P |
| 251 | |
telsoa01 | ce3e84a | 2018-08-31 09:31:35 +0100 | [diff] [blame] | 252 | ##################################################### |
| 253 | # android.hardware.neuralnetworks@1.1-service-armnn # |
| 254 | ##################################################### |
| 255 | include $(CLEAR_VARS) |
| 256 | |
| 257 | LOCAL_MODULE := android.hardware.neuralnetworks@1.1-service-armnn |
| 258 | LOCAL_INIT_RC := android.hardware.neuralnetworks@1.1-service-armnn.rc |
| 259 | LOCAL_MODULE_TAGS := eng optional |
| 260 | LOCAL_ARM_MODE := arm |
| 261 | LOCAL_MODULE_RELATIVE_PATH := hw |
| 262 | LOCAL_PROPRIETARY_MODULE := true |
| 263 | # Mark source files as dependent on Android.mk |
| 264 | LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk |
| 265 | |
| 266 | LOCAL_C_INCLUDES := \ |
| 267 | $(ARMNN_HEADER_PATH) \ |
| 268 | $(NN_HEADER_PATH) |
| 269 | |
| 270 | LOCAL_CFLAGS := \ |
| 271 | -std=c++14 \ |
| 272 | -fexceptions \ |
| 273 | -DARMNN_ANDROID_NN_V1_1 |
| 274 | ifeq ($(ARMNN_DRIVER_DEBUG),1) |
| 275 | LOCAL_CFLAGS += \ |
| 276 | -UNDEBUG |
Matteo Martincigh | 69558df | 2018-08-31 16:18:19 +0100 | [diff] [blame] | 277 | endif # ARMNN_DRIVER_DEBUG == 1 |
telsoa01 | ce3e84a | 2018-08-31 09:31:35 +0100 | [diff] [blame] | 278 | |
| 279 | LOCAL_SRC_FILES := \ |
| 280 | service.cpp |
| 281 | |
| 282 | LOCAL_STATIC_LIBRARIES := \ |
telsoa01 | ce3e84a | 2018-08-31 09:31:35 +0100 | [diff] [blame] | 283 | libneuralnetworks_common \ |
telsoa01 | ce3e84a | 2018-08-31 09:31:35 +0100 | [diff] [blame] | 284 | libboost_log \ |
| 285 | libboost_program_options \ |
| 286 | libboost_system \ |
| 287 | libboost_thread \ |
| 288 | armnn-arm_compute |
| 289 | |
David Beck | beb3e1f | 2018-10-15 14:15:42 +0100 | [diff] [blame] | 290 | LOCAL_WHOLE_STATIC_LIBRARIES := \ |
| 291 | libarmnn-driver@1.1 |
David Beck | c965f3c | 2018-10-12 17:23:16 +0100 | [diff] [blame] | 292 | |
telsoa01 | ce3e84a | 2018-08-31 09:31:35 +0100 | [diff] [blame] | 293 | LOCAL_SHARED_LIBRARIES := \ |
| 294 | libbase \ |
| 295 | libhidlbase \ |
| 296 | libhidltransport \ |
| 297 | libhidlmemory \ |
| 298 | libdl \ |
| 299 | libhardware \ |
| 300 | liblog \ |
| 301 | libtextclassifier_hash \ |
| 302 | libutils \ |
| 303 | android.hardware.neuralnetworks@1.0 \ |
| 304 | android.hardware.neuralnetworks@1.1 \ |
| 305 | android.hidl.allocator@1.0 \ |
| 306 | android.hidl.memory@1.0 \ |
| 307 | libOpenCL |
| 308 | |
| 309 | include $(BUILD_EXECUTABLE) |
| 310 | |
Matteo Martincigh | 69558df | 2018-08-31 16:18:19 +0100 | [diff] [blame] | 311 | endif # PLATFORM_VERSION == 9 |
| 312 | |
telsoa01 | 5307bc1 | 2018-03-09 13:51:08 +0000 | [diff] [blame] | 313 | ########################## |
| 314 | # armnn module and tests # |
| 315 | ########################## |
| 316 | # Note we use ANDROID_NN_DRIVER_LOCAL_PATH rather than LOCAL_PATH because LOCAL_PATH will be overwritten |
| 317 | # when including other .mk files that set it. |
| 318 | include $(ANDROID_NN_DRIVER_LOCAL_PATH)/armnn/Android.mk |
surmeh01 | 49b9e10 | 2018-05-17 14:11:25 +0100 | [diff] [blame] | 319 | include $(ANDROID_NN_DRIVER_LOCAL_PATH)/test/Android.mk |