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

Commit 878cadcf authored by Chris Manton's avatar Chris Manton
Browse files

Replace source files with static library

Bug: 147316415
Test: Passes presubmit tests

Change-Id: I1a318a476f80f3cc372d30274ab86971418a9793
parent c4f49c5e
Loading
Loading
Loading
Loading
+34 −4
Original line number Diff line number Diff line
@@ -12,11 +12,9 @@ filegroup {
    ]
}

cc_library_shared {
    name: "libbluetooth",
cc_library_static {
    name: "libbte",
    defaults: ["fluoride_defaults"],
    header_libs: ["libbluetooth_headers"],
    export_header_lib_headers: ["libbluetooth_headers"],
    srcs: [
        ":LibBluetoothSources",
        ":LibBluetoothShimSources",
@@ -44,6 +42,37 @@ cc_library_shared {
        "system/security/keystore/include",
        "hardware/interfaces/keymaster/4.0/support/include",
    ],
    host_supported: true,
}

cc_library_shared {
    name: "libbluetooth",
    defaults: ["fluoride_defaults"],
    header_libs: ["libbluetooth_headers"],
    export_header_lib_headers: ["libbluetooth_headers"],
    include_dirs: [
        "packages/modules/Bluetooth/system",
        "packages/modules/Bluetooth/system/bta/include",
        "packages/modules/Bluetooth/system/bta/sys",
        "packages/modules/Bluetooth/system/bta/dm",
        "packages/modules/Bluetooth/system/btcore/include",
        "packages/modules/Bluetooth/system/internal_include",
        "packages/modules/Bluetooth/system/stack/include",
        "packages/modules/Bluetooth/system/stack/l2cap",
        "packages/modules/Bluetooth/system/stack/a2dp",
        "packages/modules/Bluetooth/system/stack/btm",
        "packages/modules/Bluetooth/system/stack/avdt",
        "packages/modules/Bluetooth/system/udrv/include",
        "packages/modules/Bluetooth/system/btif/include",
        "packages/modules/Bluetooth/system/btif/co",
        "packages/modules/Bluetooth/system/hci/include",
        "packages/modules/Bluetooth/system/vnd/include",
        "packages/modules/Bluetooth/system/embdrv/sbc/encoder/include",
        "packages/modules/Bluetooth/system/embdrv/sbc/decoder/include",
        "packages/modules/Bluetooth/system/utils/include",
        "system/security/keystore/include",
        "hardware/interfaces/keymaster/4.0/support/include",
    ],
    logtags: ["../../EventLogTags.logtags"],
    shared_libs: [
        "android.hardware.bluetooth@1.0",
@@ -67,6 +96,7 @@ cc_library_shared {
        //"libkeystore_binder",
    ],
    static_libs: [
        "libbte",
        "libbt-sbc-decoder",
        "libbt-sbc-encoder",
        "libFraunhoferAAC",