1
0
mirror of https://github.com/google/cpu_features.git synced 2025-04-27 15:12:30 +02:00

bazel: disable ndk_compat on windows

This commit is contained in:
Corentin Le Molgat 2024-12-11 11:49:57 +01:00
parent 6ae01f1e85
commit b790d198f9

View File

@ -393,6 +393,10 @@ cc_library(
srcs = ["ndk_compat/cpu-features.c"],
copts = C99_FLAGS,
includes = INCLUDES + ["ndk_compat"],
target_compatible_with = select({
"@platforms//os:windows": ["@platforms//:incompatible"],
"//conditions:default": [],
}),
textual_hdrs = ["ndk_compat/cpu-features.h"],
deps = [
":cpu_features_macros",