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

Commit 56157524 authored by Henri Chataing's avatar Henri Chataing
Browse files

system: Remove unused soong declarations

Bug: 331817295
Test: m com.android.btservices
Flag: EXEMPT, dead code removal
Change-Id: I3c41d85d890301ae0b6043d3d380e302e5dc95bd
parent 61be53f0
Loading
Loading
Loading
Loading
+0 −36
Original line number Diff line number Diff line
@@ -145,24 +145,6 @@ genrule {
    out: ["blueberry_facade_generated_py.zip"],
}

rust_protobuf {
    name: "libbt_facade_proto",
    crate_name: "bt_facade_proto",
    protos: ["blueberry/facade/common.proto"],
    grpc_protos: [
        "blueberry/facade/hal/hal_facade.proto",
        "blueberry/facade/hci/controller_facade.proto",
        "blueberry/facade/hci/hci_facade.proto",
        "blueberry/facade/rootservice.proto",
    ],
    source_stem: "facade",
    host_supported: true,
    apex_available: [
        "com.android.btservices",
    ],
    min_sdk_version: "30",
}

rust_protobuf {
    name: "libbt_topshim_facade_protobuf",
    crate_name: "bt_topshim_facade_protobuf",
@@ -171,24 +153,6 @@ rust_protobuf {
    grpc_protos: ["blueberry/facade/topshim/facade.proto"],
}

genrule {
    name: "libbt_topshim_facade_py_proto",
    tools: [
        "aprotoc",
        "protoc-gen-grpc-python-plugin",
        "soong_zip",
    ],
    cmd: "$(location aprotoc) --plugin=protoc-gen-grpc=$(location protoc-gen-grpc-python-plugin) -Iexternal/protobuf/src -Ipackages/modules/Bluetooth/system $(location blueberry/facade/topshim/facade.proto) --grpc_out=$(genDir) --python_out=$(genDir)",
    srcs: [
        ":libprotobuf-internal-protos",
        "blueberry/facade/topshim/facade.proto",
    ],
    out: [
        "blueberry/facade/topshim/facade_pb2.py",
        "blueberry/facade/topshim/facade_pb2_grpc.py",
    ],
}

// Export system headers for rules that can't simply use `include_dirs`
cc_library_headers {
    name: "libbluetooth_system_headers",