OSDN Git Service

Don't apply clang flag to gcc builds.
authorDan Albert <danalbert@google.com>
Thu, 5 Nov 2015 08:59:09 +0000 (00:59 -0800)
committerDan Albert <danalbert@google.com>
Thu, 5 Nov 2015 08:59:09 +0000 (00:59 -0800)
commit0eadf57cadf2f39db1923c25767e4a00e7f00135
tree8bd9a6bf3a9e9a7cb37a8a7fb937ab139923ed61
parent82eeb2f20c934ddc97380032b3c8ecacc21d9a04
Don't apply clang flag to gcc builds.

For whatever reason GCC doesn't fail the build on unknown flags unless
there is also a warning emitted. Since we're now deprecating
UniquePtr, the warning is thrown here and the build fails (despite not
being -Werror).

Bug: http://b/22403888
Change-Id: I4af7911a51f7af9aa47a596a76f3e9d79535585b
core/jni/Android.mk