hdmi_in_test: Add support for Android

Add support for Android make file.
Fixed compiler warnings.

Change-Id: I7781cc16dc35f9b3498d02a3f60763cdd59b7e6f
diff --git a/Makefile.am b/Makefile.am
index bd08211..d4aef58 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,7 +1,11 @@
 SUBDIRS = hal post_proc
 
 if QAHW_SUPPORT
-SUBDIRS += qahw_api qahw_api/test hdmi_in_test
+SUBDIRS += qahw_api qahw_api/test
+endif
+
+if AUDIO_HW_LOOPBACK
+SUBDIRS += hdmi_in_test
 endif
 
 ACLOCAL_AMFLAGS = -I m4