{"push_id":1077069081,"size":1,"distinct_size":1,"ref":"refs/heads/marshmallow","head":"d5587fea5b0e9454a101bfca92d427c0085035be","before":"f8608e0d737aacb7d68187ea0b5d0723a5430ebf","commits":[{"sha":"d5587fea5b0e9454a101bfca92d427c0085035be","author":{"email":"edf364a75c4b4832aaec57fdd95813976020b515@linaro.org","name":"Bilyan Borisov"},"message":"Refactor use of __ANDROID__ macro\n\nWe use the __ANDROID__ macro, which is provided by the toolchain, in\nnumerous places. This patch refactors the usage of this by defining a\nnew macro, ART_TARGET_ANDROID, that is being passed during build to\nART_TARGET_CFLAGS in Android.common_build.mk on the same line as\nART_TARGET. The codebase currently assumes that the existence of the\n__ANDROID__ macro implies that we are compiling art for an android\ntarget device. This is because, currently, target builds are compiled\nwith target toolchains that provide the macro, while host toolchains\ndo not.  With this change this assumption is still preserved. However,\nin a future patch we will add the ability to compile art for a linux\ntarget, and in that case the ART_TARGET_ANDROID macro won't be passed\nanymore.\n\nChange-Id:  I1f3a811aa735c87087d812da27fc6b08f01bad51","distinct":true,"url":"https://api.github.com/repos/BenzoRom64/art/commits/d5587fea5b0e9454a101bfca92d427c0085035be"}]}