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 17package { 18 default_team: "trendy_team_android_kernel", 19 // See: http://go/android-license-faq 20 // A large-scale-change added 'default_applicable_licenses' to import 21 // all of the 'license_kinds' from "hardware_interfaces_license" 22 // to get the below license kinds: 23 // SPDX-license-identifier-Apache-2.0 24 default_applicable_licenses: ["hardware_interfaces_license"], 25} 26 27cc_library_static { 28 name: "VtsHalNeuralNetworksV1_2_utils", 29 defaults: ["neuralnetworks_vts_functional_defaults"], 30 export_include_dirs: ["include"], 31 srcs: [ 32 "Callbacks.cpp", 33 "Utils.cpp", 34 ], 35 static_libs: [ 36 "[email protected]", 37 "[email protected]", 38 "[email protected]", 39 ], 40 header_libs: [ 41 "libbase_headers", 42 ], 43} 44 45cc_test { 46 name: "VtsHalNeuralnetworksV1_2TargetTest", 47 defaults: ["neuralnetworks_vts_functional_defaults"], 48 tidy_timeout_srcs: [ 49 "CompilationCachingTests.cpp", 50 ], 51 srcs: [ 52 "BasicTests.cpp", 53 "CompilationCachingTests.cpp", 54 "GeneratedTestHarness.cpp", 55 "TestAssertions.cpp", 56 "TestMain.cpp", 57 "ValidateBurst.cpp", 58 "ValidateModel.cpp", 59 "ValidateRequest.cpp", 60 "VtsHalNeuralnetworks.cpp", 61 ], 62 local_include_dirs: ["include"], 63 shared_libs: [ 64 "libfmq", 65 "libnativewindow", 66 ], 67 static_libs: [ 68 "VtsHalNeuralNetworksV1_0_utils", 69 "VtsHalNeuralNetworksV1_2_utils", 70 "[email protected]", 71 "[email protected]", 72 "[email protected]", 73 "[email protected]", 74 "[email protected]", 75 "libgmock", 76 "libhidlmemory", 77 "libneuralnetworks_generated_test_harness", 78 "libneuralnetworks_common", 79 ], 80 whole_static_libs: [ 81 "neuralnetworks_generated_V1_0_example", 82 "neuralnetworks_generated_V1_1_example", 83 "neuralnetworks_generated_V1_2_example", 84 ], 85 header_libs: [ 86 "libneuralnetworks_headers", 87 ], 88 test_suites: [ 89 "vts", 90 ], 91} 92