1/* 2 * Copyright 2021 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 */ 16package { 17 // http://go/android-license-faq 18 // A large-scale-change added 'default_applicable_licenses' to import 19 // the below license kinds from "test_mlts_benchmark_license": 20 // SPDX-license-identifier-Apache-2.0 21 default_applicable_licenses: ["test_mlts_benchmark_license"], 22} 23 24// Definition of NNAPI SL Libraries for QC distribution 25 26cc_prebuilt_library_shared { 27 name: "libnnapi_sl_driver", 28 check_elf_files: false, 29 target: { 30 android_arm64: { 31 srcs: [ "libnnapi_sl_driver.so"], 32 }, 33 }, 34} 35 36cc_prebuilt_library_shared { 37 name: "libQnnGpu", 38 check_elf_files: false, 39 target: { 40 android_arm64: { 41 srcs: [ "libQnnGpu.so" ], 42 }, 43 }, 44} 45 46cc_prebuilt_library_shared { 47 name: "libQnnHtp", 48 check_elf_files: false, 49 target: { 50 android_arm64: { 51 srcs: [ "libQnnHtp.so" ], 52 }, 53 }, 54} 55 56cc_prebuilt_library_shared { 57 name: "libQnnHtpPrepare", 58 check_elf_files: false, 59 target: { 60 android_arm64: { 61 srcs: [ "libQnnHtpPrepare.so" ], 62 }, 63 }, 64} 65 66cc_prebuilt_library_shared { 67 name: "libQnnHtpV68Skel", 68 check_elf_files: false, 69 target: { 70 android_arm64: { 71 srcs: [ "libQnnHtpV68Skel.so" ], 72 }, 73 }, 74 strip: { 75 none: true 76 }, 77} 78 79cc_prebuilt_library_shared { 80 name: "libQnnHtpV68Stub", 81 check_elf_files: false, 82 target: { 83 android_arm64: { 84 srcs: [ "libQnnHtpV68Stub.so" ], 85 }, 86 }, 87} 88 89cc_prebuilt_library_shared { 90 name: "libQnnHtpV69Skel", 91 check_elf_files: false, 92 target: { 93 android_arm64: { 94 srcs: [ "libQnnHtpV69Skel.so" ], 95 }, 96 }, 97 strip: { 98 none: true 99 }, 100} 101 102cc_prebuilt_library_shared { 103 name: "libQnnHtpV69Stub", 104 check_elf_files: false, 105 target: { 106 android_arm64: { 107 srcs: [ "libQnnHtpV69Stub.so" ], 108 }, 109 }, 110} 111 112cc_prebuilt_library_shared { 113 name: "libUnnhalAccGpu", 114 check_elf_files: false, 115 target: { 116 android_arm64: { 117 srcs: [ "libUnnhalAccGpu.so" ], 118 }, 119 }, 120} 121 122cc_prebuilt_library_shared { 123 name: "libUnnhalAccHtp", 124 check_elf_files: false, 125 target: { 126 android_arm64: { 127 srcs: [ "libUnnhalAccHtp.so" ], 128 }, 129 }, 130} 131 132 133