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 17cc_library_static { 18 name: "VtsHalNeuralNetworksV1_2_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 ], 30 header_libs: [ 31 "libbase_headers", 32 ], 33} 34 35cc_test { 36 name: "VtsHalNeuralnetworksV1_2TargetTest", 37 defaults: ["neuralnetworks_vts_functional_defaults"], 38 srcs: [ 39 "BasicTests.cpp", 40 "CompilationCachingTests.cpp", 41 "GeneratedTestHarness.cpp", 42 "TestAssertions.cpp", 43 "TestMain.cpp", 44 "ValidateBurst.cpp", 45 "ValidateModel.cpp", 46 "ValidateRequest.cpp", 47 "VtsHalNeuralnetworks.cpp", 48 ], 49 local_include_dirs: ["include"], 50 shared_libs: [ 51 "libfmq", 52 "libnativewindow", 53 ], 54 static_libs: [ 55 "VtsHalNeuralNetworksV1_0_utils", 56 "VtsHalNeuralNetworksV1_2_utils", 57 "android.hardware.neuralnetworks@1.0", 58 "android.hardware.neuralnetworks@1.1", 59 "android.hardware.neuralnetworks@1.2", 60 "android.hidl.allocator@1.0", 61 "android.hidl.memory@1.0", 62 "libgmock", 63 "libhidlmemory", 64 "libneuralnetworks_generated_test_harness", 65 "libneuralnetworks_utils", 66 ], 67 whole_static_libs: [ 68 "neuralnetworks_generated_V1_0_example", 69 "neuralnetworks_generated_V1_1_example", 70 "neuralnetworks_generated_V1_2_example", 71 ], 72 header_libs: [ 73 "libneuralnetworks_headers", 74 ], 75 test_suites: [ 76 "general-tests", 77 "vts", 78 ], 79} 80