summaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
authorOystein Eftevaag <oysteine@google.com>2023-02-01 23:54:49 +0000
committerOystein Eftevaag <oysteine@google.com>2023-02-02 03:08:40 +0000
commit55b287d6bfba2f31f7d1ee404e88dff4af688c8d (patch)
tree7d28bf56751f90c7e3a1b598b382c4b3f9559903 /Android.bp
parentba74d516e952fba28d3252d8b6eeca5e0de4f184 (diff)
downloadgatekeeper-55b287d6bfba2f31f7d1ee404e88dff4af688c8d.tar.gz
Enable Windows host compilation of gatekeeper
Bug: 261908998 Test: gatekeeper builds using MinGW Change-Id: I123cb4d16c72233d95221e48d45241a359c6b68c
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp9
1 files changed, 8 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp
index 790b4a5..a8be361 100644
--- a/Android.bp
+++ b/Android.bp
@@ -38,7 +38,14 @@ cc_library_shared {
header_libs: [
"libhardware_headers",
],
-
+ target: {
+ windows: {
+ enabled: true,
+ host_ldlibs: [
+ "-lws2_32",
+ ],
+ },
+ },
export_include_dirs: ["include"],
}