Declare supported ABIs in dEQP test descriptors.

Add "abis" attribute to dEQP test case descriptor XMLs during the
CTS build by creating a dummy dEQP project under cts from which
the test descriptors depend on. Declaring supported ABIs prevents
dEQP tests from being run on an unsupported ABI.

Supported ABIs are queried by generating a test descriptor xml for
a dummy test list using the cts-xml-generator and then parsing the
result. The dEQP test descriptor XML templates are then patched
with the current ABIs.

Bug: 17956011
Change-Id: I3761c61d197523e0e9033dbe57e49e21ca2ad435
diff --git a/CtsBuild.mk b/CtsBuild.mk
index 86ecde8..12a9047 100644
--- a/CtsBuild.mk
+++ b/CtsBuild.mk
@@ -61,3 +61,7 @@
 define cts-get-executable-paths
 	$(foreach executable,$(1),$(CTS_TESTCASES_OUT)/$(executable))
 endef
+
+define cts-get-deqp-test-xmls
+	$(foreach api,$(1),$(CTS_TESTCASES_OUT)/com.drawelements.deqp.$(api).xml)
+endef