From 59384ddee429ca363022c2a03b62a5a9a43c31c4 Mon Sep 17 00:00:00 2001 From: Brentley Jones Date: Wed, 16 Feb 2022 10:01:43 -0600 Subject: [PATCH] Ignore missing include directory in JDK distribution. (#14832) Fixes https://github.com/bazelbuild/bazel/issues/14646 Closes #14687. PiperOrigin-RevId: 426080540 (cherry picked from commit c2ddbd1954af5baab63b93f2b055a410a27832c8) Co-authored-by: Ivo List --- tools/jdk/jdk.BUILD | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/tools/jdk/jdk.BUILD b/tools/jdk/jdk.BUILD index 42acd3d723aa27..6a95e85b09dca1 100644 --- a/tools/jdk/jdk.BUILD +++ b/tools/jdk/jdk.BUILD @@ -165,15 +165,12 @@ filegroup( #This folder holds security policies filegroup( name = "jdk-conf", - srcs = glob( - ["conf/**"], - allow_empty = True, - ), + srcs = glob(["conf/**"], allow_empty = True), ) filegroup( name = "jdk-include", - srcs = glob(["include/**"]), + srcs = glob(["include/**"], allow_empty = True), ) filegroup(