1 // 2 // Copyright (C) 2018 The Android Open Source Project 3 // 4 // Licensed under the Apache License, Version 2.0 (the "License"); 5 // you may not use this file except in compliance with the License. 6 // You may obtain a copy of the License at 7 // 8 // http://www.apache.org/licenses/LICENSE-2.0 9 // 10 // Unless required by applicable law or agreed to in writing, software 11 // distributed under the License is distributed on an "AS IS" BASIS, 12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 // See the License for the specific language governing permissions and 14 // limitations under the License. 15 // 16 17 cc_test { 18 name: "VtsHalNeuralnetworksV1_1TargetTest", 19 srcs: [ 20 "BasicTests.cpp", 21 "GeneratedTests.cpp", 22 "ValidateModel.cpp", 23 "ValidateRequest.cpp", 24 "ValidationTests.cpp", 25 "VtsHalNeuralnetworks.cpp", 26 ], 27 defaults: ["VtsHalTargetTestDefaults"], 28 static_libs: [ 29 "android.hardware.neuralnetworks (a] 1.0", 30 "android.hardware.neuralnetworks (a] 1.1", 31 "android.hidl.allocator (a] 1.0", 32 "android.hidl.memory (a] 1.0", 33 "libhidlmemory", 34 "libneuralnetworks_utils", 35 "VtsHalNeuralnetworksTest_utils", 36 ], 37 header_libs: [ 38 "libneuralnetworks_headers", 39 "libneuralnetworks_generated_test_harness_headers", 40 "libneuralnetworks_generated_tests", 41 ], 42 // Bug: http://b/74200014 - Disable arm32 asan since it triggers internal 43 // error in ld.gold. 44 arch: { 45 arm: { 46 sanitize: { 47 never: true, 48 }, 49 }, 50 }, 51 } 52