Skip to content

Commit

Permalink
Remove some left over bits of Java 7 support
Browse files Browse the repository at this point in the history
Change-Id: I3fce66ec2e63d152aafc0cf9ea067d6dbf1245f7
PiperOrigin-RevId: 167484075
  • Loading branch information
cushon authored and meteorcloudy committed Sep 4, 2017
1 parent 9d8a5bd commit 791bef8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 36 deletions.
10 changes: 2 additions & 8 deletions scripts/packages/debian/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,8 @@ pkg_deb(
architecture = "amd64",
built_using = "bazel (HEAD)",
data = ":debian-data",
depends = select({
"//tools/jdk:jdk7": [
"java7-jdk | java7-sdk | oracle-java7-installer",
],
"//conditions:default": [
"google-jdk | java8-jdk | java8-sdk | oracle-java8-installer",
],
}) + [
depends = [
"google-jdk | java8-jdk | java8-sdk | oracle-java8-installer",
"g++",
"zlib1g-dev",
"bash-completion",
Expand Down
6 changes: 1 addition & 5 deletions src/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ py_binary(
"//src/java_tools/junitrunner/java/com/google/testing/coverage:embedded_tools",
"//third_party/ijar",
"//third_party/ijar:embedded_tools",
"//src/java_tools/buildjar/java/com/google/devtools/build/java/turbine:turbine_deploy.jar",
"//third_party/java/jacoco:srcs",
"//third_party/zlib:embedded_tools",
] + select({
Expand Down Expand Up @@ -199,11 +200,6 @@ py_binary(
"//conditions:default": [
"//src/tools/singlejar:singlejar",
],
}) + select({
"//tools/jdk:jdk7": [],
"//conditions:default": [
"//src/java_tools/buildjar/java/com/google/devtools/build/java/turbine:turbine_deploy.jar",
],
}) + (select({
":darwin": [
"@openjdk_macos//file",
Expand Down
24 changes: 1 addition & 23 deletions src/java_tools/buildjar/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,7 @@ java_binary(

filegroup(
name = "JavaBuilderDeploy",
srcs = select({
"//tools/jdk:jdk7": [":VanillaJavaBuilder_deploy.jar"],
"//conditions:default": [":JavaBuilder_deploy.jar"],
}),
srcs = [":JavaBuilder_deploy.jar"],
)

filegroup(
Expand Down Expand Up @@ -80,22 +77,3 @@ java_toolchain(
target_version = "8",
visibility = ["//visibility:public"],
)

java_toolchain(
name = "bootstrap_toolchain_jdk7",
bootclasspath = ["//tools/jdk:bootclasspath"],
encoding = "UTF-8",
extclasspath = ["//tools/jdk:extclasspath"],
genclass = ["bootstrap_genclass_deploy.jar"],
ijar = ["//third_party/ijar"],
javabuilder = [":bootstrap_VanillaJavaBuilder_deploy.jar"],
javac = ["//third_party/java/jdk/langtools:javac7_jar"],
jvm_opts = [
"-XX:+TieredCompilation",
"-XX:TieredStopAtLevel=1",
],
singlejar = ["//src/java_tools/singlejar:bootstrap_deploy.jar"],
source_version = "7",
target_version = "7",
visibility = ["//visibility:public"],
)

0 comments on commit 791bef8

Please sign in to comment.