Add stubs and headers for nl_types APIs.
We don't have message catalog APIs on Android until O. For releases prior to that, we build in stub APIs (as weak symbols so we use libc's on new API levels). We add these here instead of in libandroid_support because the driver (correctly) links libomp well after libandroid_support, which means libandroid_support won't be searched for resolving symbols in openmp. Since NDK r16 removed nl_types.h, also bundle a stub header. aosp/571945 Test: Build LLVM with NDK r16 Bug: https://github.com/android-ndk/ndk/issues/9 Change-Id: I3873738c5b9bc9966d6fbb1a324bf3f2938c7f89
Loading
Please sign in to comment