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 17package { 18 default_team: "trendy_team_renderscript_nnapi", 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_3_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 "[email protected]", 40 ], 41 header_libs: [ 42 "libbase_headers", 43 ], 44} 45 46cc_test { 47 name: "VtsHalNeuralnetworksV1_3TargetTest", 48 defaults: ["neuralnetworks_vts_functional_defaults"], 49 tidy_timeout_srcs: [ 50 "CompilationCachingTests.cpp", 51 "MemoryDomainTests.cpp", 52 ], 53 srcs: [ 54 "BasicTests.cpp", 55 "CompilationCachingTests.cpp", 56 "GeneratedTestHarness.cpp", 57 "MemoryDomainTests.cpp", 58 "QualityOfServiceTests.cpp", 59 "TestAssertions.cpp", 60 "TestMain.cpp", 61 "ValidateBurst.cpp", 62 "ValidateModel.cpp", 63 "ValidateRequest.cpp", 64 "VtsHalNeuralnetworks.cpp", 65 ], 66 shared_libs: [ 67 "libfmq", 68 "libnativewindow", 69 ], 70 static_libs: [ 71 "VtsHalNeuralNetworksV1_0_utils", 72 "VtsHalNeuralNetworksV1_2_utils", 73 "VtsHalNeuralNetworksV1_3_utils", 74 "[email protected]", 75 "[email protected]", 76 "[email protected]", 77 "[email protected]", 78 "[email protected]", 79 "[email protected]", 80 "libgmock", 81 "libhidlmemory", 82 "libneuralnetworks_generated_test_harness", 83 "libneuralnetworks_common", 84 "libsync", 85 ], 86 whole_static_libs: [ 87 "neuralnetworks_generated_V1_0_example", 88 "neuralnetworks_generated_V1_1_example", 89 "neuralnetworks_generated_V1_2_example", 90 "neuralnetworks_generated_V1_3_example", 91 ], 92 header_libs: [ 93 "libneuralnetworks_headers", 94 ], 95 test_suites: [ 96 "vts", 97 ], 98} 99