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:
parent
6ae01f1e85
commit
b790d198f9
@ -393,6 +393,10 @@ cc_library(
|
|||||||
srcs = ["ndk_compat/cpu-features.c"],
|
srcs = ["ndk_compat/cpu-features.c"],
|
||||||
copts = C99_FLAGS,
|
copts = C99_FLAGS,
|
||||||
includes = INCLUDES + ["ndk_compat"],
|
includes = INCLUDES + ["ndk_compat"],
|
||||||
|
target_compatible_with = select({
|
||||||
|
"@platforms//os:windows": ["@platforms//:incompatible"],
|
||||||
|
"//conditions:default": [],
|
||||||
|
}),
|
||||||
textual_hdrs = ["ndk_compat/cpu-features.h"],
|
textual_hdrs = ["ndk_compat/cpu-features.h"],
|
||||||
deps = [
|
deps = [
|
||||||
":cpu_features_macros",
|
":cpu_features_macros",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user