Make r10c toolchain compile flags more Android-ish
authorPyry Haulos <phaulos@google.com>
Tue, 28 Oct 2014 23:50:11 +0000 (16:50 -0700)
committerPyry Haulos <phaulos@google.com>
Tue, 11 Nov 2014 16:50:09 +0000 (16:50 +0000)
commitfed851df8a7114d4d9a1f5bab635d0507d553080
tree085a5dc1e2a0bf540534b1a761bf8d08144b9a41
parent366985e9a897a50439ac0d95d67660d2e4e376ee
Make r10c toolchain compile flags more Android-ish

 * Use -mandroid when building C/C++.

 * Enable exceptions and RTTI explicitly as -mandroid implies -fno-rtti
and -fno-exceptions.

 * Remove redundant -DANDROID and -D__ANDROID__ defines.

Bug: 18329517
Change-Id: I6c6c548e5e0082f369efcd1970d082ec73d67732
(cherry picked from commit 2002f4368917f738fbd0c8242515146599b442ea)
framework/delibs/cmake/toolchain-android-r10c.cmake