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

Commit 4257fd9a authored by Glenn Kasten's avatar Glenn Kasten
Browse files

Remove AAudioTesting.h from headers to be exported to NDK

but include the associated names in the global symbol export list, so
that apps that receive AAudioTesting.h outside of NDK can access the
symbols without dlsym().

Test: builds OK
Change-Id: If68f35145d68f359ebb7995ffcf9c9b8f9be6eb1
parent 12852bd1
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -16,12 +16,14 @@ ndk_headers {
    name: "libAAudio_headers",
    from: "include",
    to: "",
    srcs: ["include/aaudio/*.h"],
    // omit AAudioTesting.h; supplied separately to those who need it
    srcs: ["include/aaudio/AAudio.h"],
    license: "include/aaudio/NOTICE",
}

ndk_library {
    name: "libaaudio",
    // deliberately includes symbols from AAudioTesting.h
    symbol_file: "libaaudio.map.txt",
    first_version: "26",
    unversioned_until: "current",