1// 2// Copyright (C) 2019 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 17cc_library_static { 18 name: "VtsHalNeuralNetworksV1_3_utils", 19 defaults: ["neuralnetworks_vts_functional_defaults"], 20 export_include_dirs: ["include"], 21 srcs: [ 22 "Callbacks.cpp", 23 "Utils.cpp", 24 ], 25 static_libs: [ 26 "android.hardware.neuralnetworks@1.0", 27 "android.hardware.neuralnetworks@1.1", 28 "android.hardware.neuralnetworks@1.2", 29 "android.hardware.neuralnetworks@1.3", 30 ], 31 header_libs: [ 32 "libbase_headers", 33 ], 34} 35 36cc_test { 37 name: "VtsHalNeuralnetworksV1_3TargetTest", 38 defaults: ["neuralnetworks_vts_functional_defaults"], 39 srcs: [ 40 "BasicTests.cpp", 41 "CompilationCachingTests.cpp", 42 "GeneratedTestHarness.cpp", 43 "MemoryDomainTests.cpp", 44 "QualityOfServiceTests.cpp", 45 "TestAssertions.cpp", 46 "TestMain.cpp", 47 "ValidateBurst.cpp", 48 "ValidateModel.cpp", 49 "ValidateRequest.cpp", 50 "VtsHalNeuralnetworks.cpp", 51 ], 52 shared_libs: [ 53 "libfmq", 54 "libnativewindow", 55 ], 56 static_libs: [ 57 "VtsHalNeuralNetworksV1_0_utils", 58 "VtsHalNeuralNetworksV1_2_utils", 59 "VtsHalNeuralNetworksV1_3_utils", 60 "android.hardware.neuralnetworks@1.0", 61 "android.hardware.neuralnetworks@1.1", 62 "android.hardware.neuralnetworks@1.2", 63 "android.hardware.neuralnetworks@1.3", 64 "android.hidl.allocator@1.0", 65 "android.hidl.memory@1.0", 66 "libgmock", 67 "libhidlmemory", 68 "libneuralnetworks_generated_test_harness", 69 "libneuralnetworks_utils", 70 "libsync", 71 ], 72 whole_static_libs: [ 73 "neuralnetworks_generated_V1_0_example", 74 "neuralnetworks_generated_V1_1_example", 75 "neuralnetworks_generated_V1_2_example", 76 "neuralnetworks_generated_V1_3_example", 77 ], 78 header_libs: [ 79 "libneuralnetworks_headers", 80 ], 81 test_suites: ["general-tests"], 82} 83