mirror of
https://github.com/chromium/crashpad.git
synced 2024-12-28 07:48:14 +08:00
08f070325e
NDK r20 provides a declaration of android_get_device_api_level() at API level 29, and an inline definition at older API levels. The latter conflicts with crashpad's definition, so stop defining it if the NDK is new enough. Bug: chromium:891999 Change-Id: If58542c9d6b5315f823f2509f168f2cb79141e3f Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/1739512 Reviewed-by: Mark Mentovai <mark@chromium.org> Reviewed-by: Joshua Peraza <jperaza@chromium.org>