1/* 2 * Copyright (C) 2017 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_binary { 18 name: "android.hardware.neuralnetworks@1.0-service-hvx", 19 owner: "google", 20 defaults: ["hidl_defaults"], 21 relative_install_path: "hw", 22 proprietary: true, 23 init_rc: ["android.hardware.neuralnetworks@1.0-service-hvx.rc"], 24 enabled: false, 25 srcs: [ 26 "Device.cpp", 27 "HexagonController.cpp", 28 "HexagonModel.cpp", 29 "HexagonOperationsCheck.cpp", 30 "HexagonOperationsPrepare.cpp", 31 "HexagonUtils.cpp", 32 "PreparedModel.cpp", 33 "Service.cpp", 34 ], 35 header_libs: [ 36 "libneuralnetworks_headers", 37 ], 38 shared_libs: [ 39 "libbase", 40 "libcutils", 41 "libdl", 42 "libhardware", 43 "libhidlbase", 44 "libhidlmemory", 45 "libhidltransport", 46 "liblog", 47 "libutils", 48 "android.hardware.neuralnetworks@1.0", 49 "android.hardware.neuralnetworks@1.1", 50 "android.hardware.neuralnetworks@1.2", 51 "android.hidl.allocator@1.0", 52 "android.hidl.memory@1.0", 53 ], 54 static_libs: [ 55 "libneuralnetworks_common", 56 ], 57} 58