This is an archive of the discontinued LLVM Phabricator instance.

Revert "Define __ANDROID_API__ for all Android builds."
ClosedPublic

Authored by srhines on Nov 8 2016, 2:03 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

srhines updated this revision to Diff 77254.Nov 8 2016, 2:03 PM
srhines retitled this revision from to Revert "Define __ANDROID_API__ for all Android builds.".
srhines updated this object.
srhines added subscribers: danalbert, eugenis, pirama, cfe-commits.
This revision was automatically updated to reflect the committed changes.

Reverted because this broke builds:

clang-hexagon-elf
llvm-clang-lld-x86_64-scei-ps4-ubuntu-fast
clang-ppc64be-linux-multistage
llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast

It isn't clear from the logs why these builds failed, since I did a general build, but perhaps there is something that is stripping out Android-specific targets there.

cfe/trunk/lib/Basic/Targets.cpp