aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrashanth Swaminathan <40780424+prashanthswami@users.noreply.github.com>2023-06-02 14:41:23 -0700
committerGitHub <noreply@github.com>2023-06-02 23:41:23 +0200
commit6fe75d22ab422ecddbff96638112569ab4a8494d (patch)
treed7d0a67ebd37d9927605e7420068e9434e2877c4
parentc672eb403c85993b120c4b74d6280b7a73c6cfff (diff)
downloadcpu_features-6fe75d22ab422ecddbff96638112569ab4a8494d.tar.gz
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.
-rw-r--r--BUILD.bazel2
1 files changed, 1 insertions, 1 deletions
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",