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
(cherry picked from commit 4257fd9aba)
gugelfrei
Glenn Kasten 7 years ago committed by Dan Albert
parent 980796c318
commit 010d9bf811

@ -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",

Loading…
Cancel
Save