adb: start building windows test again.

Test: mma
Change-Id: Iea2a3055cc3642905a1bbdd18550a9fc12702da8
diff --git a/adb/Android.bp b/adb/Android.bp
index 63c4d96..d81bb4b 100644
--- a/adb/Android.bp
+++ b/adb/Android.bp
@@ -78,6 +78,12 @@
                 // MinGW hides some things behind _POSIX_SOURCE.
                 "-D_POSIX_SOURCE",
             ],
+
+            host_ldlibs: [
+                "-lws2_32",
+                "-lgdi32",
+                "-luserenv",
+            ],
         },
     },
 }
@@ -176,6 +182,13 @@
         "libdiagnose_usb",
         "libusb",
     ],
+
+    target: {
+        windows: {
+            enabled: true,
+            shared_libs: ["AdbWinApi"],
+        },
+    },
 }
 
 cc_binary_host {
@@ -223,11 +236,6 @@
         windows: {
             enabled: true,
             ldflags: ["-municode"],
-            host_ldlibs: [
-                "-lws2_32",
-                "-lgdi32",
-            ],
-
             shared_libs: ["AdbWinApi"],
             required: [
                 "AdbWinUsbApi",