f8ef834ef5
Previously, the __ANDROID_API__ macro was provided by <android/api-level.h>. With unified headers (expected to become the default in the next NDK release and the sole option in the subsequent release), this macro is not set properly by headers. When building with Clang, the standalone toolchain’s clang and clang++ wrappers set the macro properly. GCC isn’t accounted for in this way, so the build system must assume the responsibility of setting it. This change fishes the value of __ANDROID_API__ out of the standalone toolchain’s clang wrapper and sets the android_api_level GYP variable appropriately. From there, it will be picked up by common.gypi in mini_chromium and used to define __ANDROID_API__. This updates mini_chromium to 62e6015f633dd4acb1610db15a064889315cadaa which understands this new GYP variable. 62e6015f633d android: Support “unified headers” with GCC build https://android.googlesource.com/platform/ndk/+/master/docs/UnifiedHeaders.md https://android.googlesource.com/platform/ndk/+/ndk-r14/CHANGELOG.md Bug: crashpad:30 Change-Id: I33e66eba8394e32ced8dca80c8226b85e0e786f3 Reviewed-on: https://chromium-review.googlesource.com/458021 Commit-Queue: Mark Mentovai <mark@chromium.org> Reviewed-by: Scott Graham <scottmg@chromium.org> |
||
---|---|---|
.. | ||
crashpad.gypi | ||
crashpad_dependencies.gypi | ||
gyp_crashpad.py | ||
gyp_crashpad_android.py | ||
run_tests.py |