From 4d9b6ece11b779d64a56dc96303e2e6f284eee60 Mon Sep 17 00:00:00 2001 From: garyschulte Date: Tue, 11 Feb 2020 07:08:38 +0000 Subject: [PATCH] add arm64 jni gcc include rules --- src/main/java/com/google/devtools/build/lib/syntax/BUILD | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/com/google/devtools/build/lib/syntax/BUILD b/src/main/java/com/google/devtools/build/lib/syntax/BUILD index 2aac73bf7a45f3..d6ac96d02966bc 100644 --- a/src/main/java/com/google/devtools/build/lib/syntax/BUILD +++ b/src/main/java/com/google/devtools/build/lib/syntax/BUILD @@ -164,6 +164,7 @@ 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": [], @@ -171,6 +172,7 @@ cc_library( 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": [],