Allow generation of the host executable for brotli

Bug: 34220646
Test: Generate the executable for both host and device.
Change-Id: I8173694f4a6613c2e24806bf28793d3615851d67
diff --git a/Android.bp b/Android.bp
index 59bb2b5..cba9ff6 100755
--- a/Android.bp
+++ b/Android.bp
@@ -1,10 +1,10 @@
 cc_library {
     name: "libbrotli",
+    host_supported: true,
     cflags: [
         "-Werror",
         "-O2",
     ],
-    defaults: ["linux_bionic_supported"],
     export_include_dirs: ["include/"],
     local_include_dirs: ["include/"],
     srcs: [
@@ -12,13 +12,24 @@
         "dec/*.c",
         "enc/*.c",
     ],
+    target: {
+        linux_bionic: {
+            enabled: true,
+        },
+    },
+    host_ldlibs: ["-lm"],
     stl: "none",
 }
 
 cc_binary {
     name: "bro",
+    host_supported: true,
     cflags: ["-Werror"],
-    defaults: ["linux_bionic_supported"],
     srcs: ["tools/bro.c"],
+    target: {
+        linux_bionic: {
+            enabled: true,
+        },
+    },
     shared_libs: ["libbrotli"],
 }