From c672eb403c85993b120c4b74d6280b7a73c6cfff Mon Sep 17 00:00:00 2001 From: Guillaume Chatelet Date: Fri, 2 Jun 2023 06:16:15 +0000 Subject: [PATCH] Add ndk_compat target to BUILD.bazel --- BUILD.bazel | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/BUILD.bazel b/BUILD.bazel index 116ef6a..d370bcc 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -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", + ], +)