diff options
author | Guillaume Chatelet <gchatelet@google.com> | 2023-06-02 06:16:15 +0000 |
---|---|---|
committer | Guillaume Chatelet <gchatelet@google.com> | 2023-06-02 06:16:15 +0000 |
commit | c672eb403c85993b120c4b74d6280b7a73c6cfff (patch) | |
tree | 800df3ec68a92e77f392d1e6b702ccfe1bd5391e | |
parent | 41e206e435b3c84a6fdd937dfe2a07e8ee73e611 (diff) | |
download | cpu_features-c672eb403c85993b120c4b74d6280b7a73c6cfff.tar.gz |
Add ndk_compat target to BUILD.bazel
-rw-r--r-- | BUILD.bazel | 15 |
1 files changed, 15 insertions, 0 deletions
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", + ], +) |