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 srcs: [ 25 "Device.cpp", 26 "HexagonController.cpp", 27 "HexagonModel.cpp", 28 "HexagonOperationsCheck.cpp", 29 "HexagonOperationsPrepare.cpp", 30 "HexagonUtils.cpp", 31 "PreparedModel.cpp", 32 "Service.cpp", 33 ], 34 header_libs: [ 35 "libneuralnetworks_headers", 36 ], 37 shared_libs: [ 38 "libbase", 39 "libdl", 40 "libhardware", 41 "libhidlbase", 42 "libhidlmemory", 43 "libhidltransport", 44 "liblog", 45 "libutils", 46 "android.hardware.neuralnetworks@1.0", 47 "android.hardware.neuralnetworks@1.1", 48 "android.hidl.allocator@1.0", 49 "android.hidl.memory@1.0", 50 ], 51 static_libs: [ 52 "libneuralnetworks_common", 53 ], 54} 55