From 6fe75d22ab422ecddbff96638112569ab4a8494d Mon Sep 17 00:00:00 2001 From: Prashanth Swaminathan <40780424+prashanthswami@users.noreply.github.com> Date: Fri, 2 Jun 2023 14:41:23 -0700 Subject: [PATCH] Add 'ndk_compat' include directory to 'ndk_compat' target (#309) Add 'ndk_compat' to the 'includes' directive of the 'ndk_compat' target, so that targets that include this library can directly reference 'cpu-features.h' like they did with the legacy Android NDK library. --- BUILD.bazel | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BUILD.bazel b/BUILD.bazel index d370bcc..661fe02 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -332,7 +332,7 @@ cc_library( name = "ndk_compat", srcs = ["ndk_compat/cpu-features.c"], copts = C99_FLAGS, - includes = INCLUDES, + includes = INCLUDES + ["ndk_compat"], textual_hdrs = ["ndk_compat/cpu-features.h"], deps = [ ":cpu_features_macros",