// Copyright (C) 2020 The Android Open Source Project // Copyright (C) 2024 KonstaKANG // // SPDX-License-Identifier: Apache-2.0 cc_binary { name: "android.hardware.bluetooth-service.rpi", relative_install_path: "hw", vendor: true, srcs: [ "BluetoothHci.cpp", "main.cpp", "net_bluetooth_mgmt.cpp", ], static_libs: [ "android.hardware.bluetooth.async", "android.hardware.bluetooth.hci", ], shared_libs: [ "android.hardware.bluetooth-V1-ndk", "libbase", "libbinder_ndk", "liblog", "libutils", ], installable: false, } prebuilt_etc { name: "android.hardware.bluetooth-service.rpi.rc", src: "android.hardware.bluetooth-service.rpi.rc", installable: false, } prebuilt_etc { name: "android.hardware.bluetooth-service.rpi.xml", src: "android.hardware.bluetooth-service.rpi.xml", sub_dir: "vintf", installable: false, } apex { name: "com.android.hardware.bluetooth.rpi5", manifest: "apex_manifest.json", file_contexts: "apex_file_contexts", key: "com.android.hardware.key", certificate: ":com.android.hardware.certificate", updatable: false, vendor: true, binaries: ["android.hardware.bluetooth-service.rpi"], prebuilts: [ "android.hardware.bluetooth-service.rpi.rc", "android.hardware.bluetooth-service.rpi.xml", ], }