From 54abb6703e187245ba0e4261ebe7784153950e24 Mon Sep 17 00:00:00 2001 From: Ryan Northey Date: Fri, 13 Dec 2024 18:38:11 +0000 Subject: [PATCH] mobile/ Signed-off-by: Ryan Northey --- mobile/library/jni/BUILD | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mobile/library/jni/BUILD b/mobile/library/jni/BUILD index 991f12f8637a0..6fe0b4017c73e 100644 --- a/mobile/library/jni/BUILD +++ b/mobile/library/jni/BUILD @@ -15,7 +15,8 @@ genrule( genrule( name = "jni_md_h", srcs = select({ - "//conditions:default": ["@bazel_tools//tools/jdk:jni_md_header-linux"], + "//conditions:default": [], + "@platforms//os:linux": ["@bazel_tools//tools/jdk:jni_md_header-linux"], "@platforms//os:windows": ["@bazel_tools//tools/jdk:jni_md_header-windows"], "@platforms//os:macos": ["@bazel_tools//tools/jdk:jni_md_header-darwin"], }), @@ -30,6 +31,8 @@ envoy_cc_library( ], hdrs = [ "jni_utility.h", + ":jni_h", + ":jni_md_h", ], repository = "@envoy", deps = [