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

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

RootCanal: Move the sim bluetooth HAL from system/test/rootcanal to

tools/rootcanal

This is in order to limit dependencies from the HAL to system/gd.
Ideally the HAL would depend only on rootcanal source.

Bug: 279665786
Test: m android.hardware.bluetooth@1.1-impl-sim
Change-Id: Ib18af01aec9c6aa39163122b98b51dd55dec40c3
parent d93d9841
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -48,7 +48,6 @@ cc_defaults {
    ],
    include_dirs: [
        "packages/modules/Bluetooth/tools/rootcanal/include",
        "packages/modules/Bluetooth/system/gd",
    ],
    header_libs: [
        "libbase_headers",
+2 −22
Original line number Diff line number Diff line
@@ -24,9 +24,7 @@ package {

cc_binary {
    name: "android.hardware.bluetooth@1.1-service.sim",
    defaults: [
        "gd_defaults",
    ],
    defaults: ["rootcanal_defaults"],
    proprietary: true,
    relative_install_path: "hw",
    srcs: [
@@ -36,7 +34,6 @@ cc_binary {
    visibility: [
        "//platform_testing/libraries/sts-common-util/host-side/rootcanal",
    ],
    header_libs: ["libbluetooth_headers"],
    shared_libs: [
        "android.hardware.bluetooth@1.0",
        "android.hardware.bluetooth@1.1",
@@ -59,21 +56,12 @@ cc_binary {
        "android.hardware.bluetooth-hci",
        "libscriptedbeaconpayload-protos-lite",
    ],
    include_dirs: [
        "packages/modules/Bluetooth/tools/rootcanal/include",
        "packages/modules/Bluetooth/system",
        "packages/modules/Bluetooth/system/gd",
        "packages/modules/Bluetooth/system/internal_include",
        "packages/modules/Bluetooth/system/stack/include",
    ],
    init_rc: ["android.hardware.bluetooth@1.1-service.sim.rc"],
}

cc_library_shared {
    name: "android.hardware.bluetooth@1.1-impl-sim",
    defaults: [
        "gd_defaults",
    ],
    defaults: ["rootcanal_defaults"],
    proprietary: true,
    relative_install_path: "hw",
    srcs: [
@@ -82,7 +70,6 @@ cc_library_shared {
    visibility: [
        "//platform_testing/libraries/sts-common-util/host-side/rootcanal",
    ],
    header_libs: ["libbluetooth_headers"],
    shared_libs: [
        "android.hardware.bluetooth@1.0",
        "android.hardware.bluetooth@1.1",
@@ -102,11 +89,4 @@ cc_library_shared {
        "android.hardware.bluetooth-hci",
        "libscriptedbeaconpayload-protos-lite",
    ],
    include_dirs: [
        "packages/modules/Bluetooth/tools/rootcanal/include",
        "packages/modules/Bluetooth/system",
        "packages/modules/Bluetooth/system/gd",
        "packages/modules/Bluetooth/system/internal_include",
        "packages/modules/Bluetooth/system/stack/include",
    ],
}
Loading