fix circular dependency libnativewindow <-> libui

Bug: 37647680
Bug: 37648355
Test: compile, manual
Change-Id: I9631beea52e23ebb519411f943c6f5062aedd2e5
diff --git a/opengl/tests/hwc/Android.bp b/opengl/tests/hwc/Android.bp
index b6e6f0e..425f374 100644
--- a/opengl/tests/hwc/Android.bp
+++ b/opengl/tests/hwc/Android.bp
@@ -34,6 +34,10 @@
         "libglTest",
         "libtestUtil",
     ],
+    shared_libs: [
+        "libui",
+        "libnativewindow"
+    ],
     defaults: ["hwc_tests_defaults"],
 }
 
@@ -48,6 +52,7 @@
         "liblog",
         "libui",
         "libutils",
+        "libnativewindow"
     ],
 
     static_libs: [