android: make libbacktrace optional on USE_LIBBACKTRACE
authorTapani Pälli <tapani.palli@intel.com>
Tue, 26 Feb 2019 08:27:15 +0000 (10:27 +0200)
committerTapani Pälli <tapani.palli@intel.com>
Wed, 27 Feb 2019 06:56:46 +0000 (08:56 +0200)
commit5e52184f722b70c024bec6dc0872cbf6553a1d82
tree889f84d02eec372116715aa5947d971f19757611
parenta3c366c4b22993731b5d39a8387f30a09de10e38
android: make libbacktrace optional on USE_LIBBACKTRACE

Otherwise with VNDK enabled we fail linking:
   src/gallium/targets/dri/Android.mk: error: gallium_dri (native:vendor)
   should not link to libbacktrace.vendor (native:vndk_private)

Option makes it possible to use libbacktrace only when VNDK is not
enabled.

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/gallium/auxiliary/Android.mk
src/gallium/targets/dri/Android.mk