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

Commit b5c40271 authored by Hansong Zhang's avatar Hansong Zhang
Browse files

Export header library in btcore/

Bindings in topshim needs to include btcore/ headers, and we have to
explicitly export it.

Test: m libbluetooth_headers
Bug: 181590011
Tag: #refactor
Change-Id: Ic624bd2e423d0ddb93fa99b59fa6f1d29dd596f2
parent 9e49321f
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -35,6 +35,14 @@ cc_library_static {
    },
}

cc_library_headers {
    name: "libbtcore_headers",
    defaults: ["libchrome_support_defaults"],
    export_include_dirs: ["./"],
    vendor_available: true,
    host_supported: true,
}

// Note: It's good to get the tests compiled both for the host and the target so
// we get to test with both Bionic libc and glibc
// libbtcore unit tests for target and host
+2 −0
Original line number Diff line number Diff line
@@ -32,10 +32,12 @@ cc_library_headers {
    header_libs: [
        "avrcp_headers",
        "libbluetooth-types-header",
        "libbtcore_headers",
    ],
    export_header_lib_headers: [
        "avrcp_headers",
        "libbluetooth-types-header",
        "libbtcore_headers",
    ],
    export_include_dirs: ["./"],
    vendor_available: true,