test-hwc2: add client target support

Test: Add "#define HAVE_NO_SURFACE_FLINGER" to
      frameworks/native/libs/gui/BufferQueueCore.cpp.
      Recompile and flash.
      Run "mm" in frameworks/native/services/surfaceflinger/tests/hwc2.
      Push test-hwc2 to device.
      Run "adb root && adb shell stop".
      Run test case. Ex: "./test-hwc2"

Change-Id: I94c86795b2e334df0570c6c5a3cbbcb5a8ca2826
diff --git a/services/surfaceflinger/tests/hwc2/Android.mk b/services/surfaceflinger/tests/hwc2/Android.mk
index 79c3e92..329e124 100644
--- a/services/surfaceflinger/tests/hwc2/Android.mk
+++ b/services/surfaceflinger/tests/hwc2/Android.mk
@@ -45,6 +45,7 @@
     Hwc2TestProperties.cpp \
     Hwc2TestLayer.cpp \
     Hwc2TestLayers.cpp \
-    Hwc2TestBuffer.cpp
+    Hwc2TestBuffer.cpp \
+    Hwc2TestClientTarget.cpp
 
 include $(BUILD_NATIVE_TEST)