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

Add ndk_compat target to BUILD.bazel

This commit is contained in:
Guillaume Chatelet 2023-06-02 06:16:15 +00:00
parent 41e206e435
commit c672eb403c

View File

@ -327,3 +327,18 @@ cc_binary(
":cpuinfo",
],
)
cc_library(
name = "ndk_compat",
srcs = ["ndk_compat/cpu-features.c"],
copts = C99_FLAGS,
includes = INCLUDES,
textual_hdrs = ["ndk_compat/cpu-features.h"],
deps = [
":cpu_features_macros",
":cpuinfo",
":filesystem",
":stack_line_reader",
":string_view",
],
)