Temporarily disable pw_kvs on Windows
pw_kvs does not currently build on Windows due to compiler issues. As it
is in the process of a complete rehaul, this change temporarily removes
it from the build.
Change-Id: If6b9ebdded6250b215802200a2ece98b8c7d0de9
diff --git a/BUILD.gn b/BUILD.gn
index 355b961..951129b 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -53,8 +53,6 @@
"$dir_pigweed/docs",
"$dir_pw_base64",
"$dir_pw_checksum",
- "$dir_pw_kvs",
- "$dir_pw_minimal_cpp_stdlib",
"$dir_pw_polyfill",
"$dir_pw_preprocessor",
"$dir_pw_protobuf",
@@ -65,6 +63,14 @@
"$dir_pw_unit_test",
"$dir_pw_varint",
]
+
+ # TODO(frolv): Remove this when new KVS is ready.
+ if (host_os != "win") {
+ deps += [
+ "$dir_pw_kvs",
+ "$dir_pw_minimal_cpp_stdlib",
+ ]
+ }
}
# Targets for all module unit test groups.
@@ -72,9 +78,7 @@
group_deps = [
"$dir_pw_base64:tests",
"$dir_pw_checksum:tests",
- "$dir_pw_kvs:tests",
"$dir_pw_log:tests",
- "$dir_pw_minimal_cpp_stdlib:tests",
"$dir_pw_polyfill:tests",
"$dir_pw_preprocessor:tests",
"$dir_pw_protobuf:tests",
@@ -90,4 +94,12 @@
if (dir_pw_cpu_exception_backend == dir_pw_cpu_exception_armv7m) {
group_deps += [ "$dir_pw_cpu_exception_armv7m:tests" ]
}
+
+ # TODO(frolv): Remove this when new KVS is ready.
+ if (host_os != "win") {
+ group_deps += [
+ "$dir_pw_kvs:tests",
+ "$dir_pw_minimal_cpp_stdlib:tests",
+ ]
+ }
}