Enable serialization_fuzzer to be built for the host
Bug: 170243740
Test: Builds and runs on host
Change-Id: Ic547e18baf92150877763a8298ea56d6719b6744
diff --git a/libs/vr/libpdx/Android.bp b/libs/vr/libpdx/Android.bp
index 24ba830..db9704d 100644
--- a/libs/vr/libpdx/Android.bp
+++ b/libs/vr/libpdx/Android.bp
@@ -1,5 +1,6 @@
cc_library_headers {
name: "libpdx_headers",
+ host_supported: true,
export_include_dirs: ["private"],
vendor_available: true,
min_sdk_version: "29",
@@ -7,6 +8,7 @@
cc_library_static {
name: "libpdx",
+ host_supported: true,
clang: true,
cflags: [
"-Wall",
diff --git a/libs/vr/libpdx/fuzz/Android.bp b/libs/vr/libpdx/fuzz/Android.bp
index b36e0de..114cec9 100644
--- a/libs/vr/libpdx/fuzz/Android.bp
+++ b/libs/vr/libpdx/fuzz/Android.bp
@@ -42,6 +42,7 @@
cc_fuzz {
name: "libpdx_serialization_fuzzer",
+ host_supported: true,
clang: true,
srcs: [
"serialization_fuzzer.cpp",