isl: add support for Android libmesa_isl static library
authorMauro Rossi <issor.oruam@gmail.com>
Thu, 2 Jun 2016 19:15:35 +0000 (21:15 +0200)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 2 Jun 2016 21:31:44 +0000 (22:31 +0100)
commit278c2212ac137c19438a84072c8d3150b5a5b4f6
tree9f14b2b894eb3cb34824b086c755d5809679fde3
parent4143245c23c25a8b81c4ab6ca3d9211593edf542
isl: add support for Android libmesa_isl static library

isl library is needed to build i965, libmesa_isl static library is added
to fix related Android building errors.

Any attempt to build libmesa_genxml as phony package module failed to deliver
gen{7,75,8,9}_pack.h generated headers, needed for libmesa_isl_gen{7,75,8,9}

Due to constraints in Android Build System, libmesa_genxml is built as static,
at least one source is needed, so dummy.c is autogenerated for this scope,
libmesa_genxml dependency is declared using LOCAL_WHOLE_STATIC_LIBRARIES,
to avoid building errors due to missing genxml/gen{7,75,8,9}_pack.h headers.

Cc: <mesa-stable@lists.freedesktop.org>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Android.mk
src/intel/genxml/Android.mk [new file with mode: 0644]
src/intel/isl/Android.mk [new file with mode: 0644]
src/mesa/drivers/dri/i965/Android.mk