Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4d695dfc authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Remove unused library libbluetooth-binder"

parents 20d6bf9f fe3533c5
Loading
Loading
Loading
Loading
+0 −84
Original line number Diff line number Diff line
@@ -7,90 +7,6 @@ package {
    default_applicable_licenses: ["system_bt_license"],
}

cc_library_shared {
    name: "libbluetooth-binder",
    product_variables: {
        pdk: {
            enabled: false,
        },
    },
    srcs: [
        "android/bluetooth/bluetooth_device.cc",
        "android/bluetooth/IBluetoothSocketManager.aidl",
        "android/os/parcel_uuid.cc",
        /* TODO: Uncomment this files as they get converted one-by-one into native implementation
        "android/bluetooth/IBluetooth.aidl",
        "android/bluetooth/IBluetoothA2dp.aidl",
        "android/bluetooth/IBluetoothA2dpSink.aidl",
        "android/bluetooth/IBluetoothAvrcpController.aidl",
        "android/bluetooth/IBluetoothAvrcpTarget.aidl",
        "android/bluetooth/IBluetoothCallback.aidl",
        "android/bluetooth/IBluetoothProfileServiceConnection.aidl",
        "android/bluetooth/IBluetoothHeadset.aidl",
        "android/bluetooth/IBluetoothHearingAid.aidl",
        "android/bluetooth/IBluetoothVolumeControl.aidl",
        "android/bluetooth/IBluetoothHidHost.aidl",
        "android/bluetooth/IBluetoothPan.aidl",
        "android/bluetooth/IBluetoothManager.aidl",
        "android/bluetooth/IBluetoothManagerCallback.aidl",
        "android/bluetooth/IBluetoothMap.aidl",
        "android/bluetooth/IBluetoothMapClient.aidl",
        "android/bluetooth/IBluetoothPbap.aidl",
        "android/bluetooth/IBluetoothPbapClient.aidl",
        "android/bluetooth/IBluetoothSap.aidl",
        "android/bluetooth/IBluetoothStateChangeCallback.aidl",
        "android/bluetooth/IBluetoothHeadsetClient.aidl",
        "android/bluetooth/IBluetoothHidDevice.aidl",
        "android/bluetooth/IBluetoothHidDeviceCallback.aidl",
        "android/bluetooth/IBluetoothGatt.aidl",
        "android/bluetooth/IBluetoothGattCallback.aidl",
        "android/bluetooth/IBluetoothMetadataListener.aidl",
        "android/bluetooth/IBluetoothGattServerCallback.aidl",
        "android/bluetooth/IBluetoothOobDataCallback.aidl",
        "android/bluetooth/le/IAdvertisingSetCallback.aidl",
        "android/bluetooth/le/IPeriodicAdvertisingCallback.aidl",
        "android/bluetooth/le/IScannerCallback.aidl"
        "android/bluetooth/IBluetoothConnectionCallback.aidl",
        */
    ],
    export_include_dirs: ["./"],
    aidl: {
        export_aidl_headers: true,
        include_dirs: [
            "frameworks/native/aidl/binder",

            /* required for android.os.ParcelUuid, and android.os.ParcelFileDescriptor */
            "frameworks/base/core/java",
            "packages/modules/Bluetooth/system/binder",
        ],
    },
    include_dirs: [
        "packages/modules/Bluetooth/system/types",
    ],
    shared_libs: [
        "libandroid_runtime",
        "libbinder",
        "libchrome",
        "libnativehelper",
        "libcutils",
        "libutils",
        "liblog",
    ],

    static_libs: [
        "libbluetooth-types",
    ],
    cflags: [
        "-Wall",
        "-Werror",
        "-Wextra",
        "-Wno-unused-parameter",
    ],
    sanitize: {
        scs: true,
    },
}

// AIDL interface between libbluetooth-binder and framework.jar
filegroup {
    name: "libbluetooth-binder-aidl",