This is an archive of the discontinued LLVM Phabricator instance.

Define __ANDROID_API__ when specified as part of an Android target.
ClosedPublic

Authored by srhines on Nov 9 2016, 9:40 PM.

Details

Summary

This macro should be defined only when the user directly specifies an
API level as part of an Android target. For any regular Android target,
we leave this macro undefined.

Bug: https://llvm.org/bugs/show_bug.cgi?id=30940

Diff Detail

Repository
rL LLVM

Event Timeline

srhines updated this revision to Diff 77445.Nov 9 2016, 9:40 PM
srhines retitled this revision from to Define __ANDROID_API__ when specified as part of an Android target..
srhines updated this object.
srhines added subscribers: danalbert, eugenis, pirama, cfe-commits.
srhines updated this revision to Diff 77446.Nov 9 2016, 9:41 PM

Added bug link to commit message.

srhines updated this object.Nov 9 2016, 9:43 PM
pirama accepted this revision.EditedNov 10 2016, 11:01 AM
pirama added a reviewer: pirama.

The "Bug" line points back to this Phab page instead of a bug. LGTM otherwise.

This revision is now accepted and ready to land.Nov 10 2016, 11:01 AM
eugenis accepted this revision.Nov 10 2016, 11:44 AM
eugenis added a reviewer: eugenis.

Looks great!

srhines updated this object.Nov 10 2016, 4:09 PM
srhines edited edge metadata.
This revision was automatically updated to reflect the committed changes.