aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/tools
diff options
context:
space:
mode:
authorGravatar Philipp Wollermann <philwo@google.com>2015-08-21 13:35:10 +0000
committerGravatar Han-Wen Nienhuys <hanwen@google.com>2015-08-24 14:01:46 +0000
commitc8db70c7bc8f9cf916daac42010a4886b825fc63 (patch)
tree380733a12ad64d39fa1e1656b9845631942668c2 /src/main/tools
parentf99bb1c2c0de9e5e3c7b16e7e7a982a7c0bad815 (diff)
Improve the JDK and JRE filegroups to include all the necessary parts. Then fix the Skylark rules and tests that so far failed to declare dependencies on the JVM.
-- MOS_MIGRATED_REVID=101215495
Diffstat (limited to 'src/main/tools')
-rw-r--r--src/main/tools/jdk.BUILD45
1 files changed, 44 insertions, 1 deletions
diff --git a/src/main/tools/jdk.BUILD b/src/main/tools/jdk.BUILD
index 871fd9e32a..f67ac2f838 100644
--- a/src/main/tools/jdk.BUILD
+++ b/src/main/tools/jdk.BUILD
@@ -49,8 +49,51 @@ filegroup(
)
filegroup(
+ name = "jre-bin",
+ srcs = glob(["jre/bin/**"]),
+)
+
+filegroup(
+ name = "jre-lib",
+ srcs = glob(["jre/lib/**"]),
+)
+
+filegroup(
+ name = "jre-default",
+ srcs = [
+ ":jre-bin",
+ ":jre-lib",
+ ],
+)
+
+filegroup(
+ name = "jdk-bin",
+ srcs = glob(["bin/**"]),
+)
+
+filegroup(
+ name = "jdk-include",
+ srcs = glob(["include/**"]),
+)
+
+filegroup(
+ name = "jdk-lib",
+ srcs = glob(
+ ["lib/**"],
+ exclude= [
+ "lib/missioncontrol/**",
+ "lib/visualvm/**",
+ ]),
+)
+
+filegroup(
name = "jdk-default",
- srcs = glob(["bin/*"]),
+ srcs = [
+ ":jdk-bin",
+ ":jdk-include",
+ ":jdk-lib",
+ ":jre-default",
+ ],
)
filegroup(