Skip to content

Commit

Permalink
add arm64 jni gcc include rules
Browse files Browse the repository at this point in the history
  • Loading branch information
SuburbanDad committed Feb 11, 2020
1 parent 72bd870 commit 4d9b6ec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/com/google/devtools/build/lib/syntax/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -164,13 +164,15 @@ cc_library(
name = "jni",
hdrs = ["@bazel_tools//tools/jdk:jni_header"] + select({
"//src/conditions:linux_x86_64": ["@bazel_tools//tools/jdk:jni_md_header-linux"],
"//src/conditions:linux_aarch64": ["@bazel_tools//tools/jdk:jni_md_header-linux"],
"//src/conditions:darwin": ["@bazel_tools//tools/jdk:jni_md_header-darwin"],
"//src/conditions:windows": ["@bazel_tools//tools/jdk:jni_md_header-windows"],
"//conditions:default": [],
}),
includes = ["../../../../../../../../../external/bazel_tools/tools/jdk/include"] + select({
# Remove these crazy prefixes when we move this rule.
"//src/conditions:linux_x86_64": ["../../../../../../../../../external/bazel_tools/tools/jdk/include/linux"],
"//src/conditions:linux_aarch64": ["../../../../../../../../../external/bazel_tools/tools/jdk/include/linux"],
"//src/conditions:darwin": ["../../../../../../../../../external/bazel_tools/tools/jdk/include/darwin"],
"//src/conditions:windows": ["../../../../../../../../../external/bazel_tools/tools/jdk/include/win32"],
"//conditions:default": [],
Expand Down

0 comments on commit 4d9b6ec

Please sign in to comment.