aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar Irina Iancu <elenairina@google.com>2017-02-21 15:21:09 +0000
committerGravatar Irina Iancu <elenairina@google.com>2017-02-21 16:08:51 +0000
commit3da16e3b4e8be4d4c4a6eae80365a85851e3253d (patch)
treec209e058492f88a90c38e2596c3b33b380b7b961 /tools
parent35a2a36e6c0e43eea0c899477f073f2ac4b1d787 (diff)
Disable Java header compilation by default in Bazel.
Enabling this by default broke rules_closure at HEAD: http://ci.bazel.io/view/Dashboard/job/rules_closure/BAZEL_VERSION=HEAD,PLATFORM_NAME=linux-x86_64/711/console -- PiperOrigin-RevId: 148092235 MOS_MIGRATED_REVID=148092235
Diffstat (limited to 'tools')
-rw-r--r--tools/jdk/BUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/jdk/BUILD b/tools/jdk/BUILD
index cbfe203cda..1fe912bc06 100644
--- a/tools/jdk/BUILD
+++ b/tools/jdk/BUILD
@@ -9,7 +9,7 @@ genrule(
name = "BUILD-jdk7",
srcs = [":BUILD"],
outs = ["BUILD.jdk7"],
- cmd = "sed -e 's/_version = \"8\"/_version = \"7\"/' -e 's/javac_supports_workers = 1/javac_supports_workers = 0/' -e 's/forcibly_disable_header_compilation = 0/forcibly_disable_header_compilation = 1/g' $< > $@",
+ cmd = "sed -e 's/_version = \"8\"/_version = \"7\"/' -e 's/javac_supports_workers = 1/javac_supports_workers = 0/' $< > $@",
)
filegroup(
@@ -113,7 +113,7 @@ java_toolchain(
bootclasspath = [":bootclasspath"],
encoding = "UTF-8",
extclasspath = [":extclasspath"],
- forcibly_disable_header_compilation = 0,
+ forcibly_disable_header_compilation = 1,
genclass = ["//tools/jdk:GenClass_deploy.jar"],
header_compiler = ["//tools/jdk:turbine_deploy.jar"],
ijar = ["@bazel_tools//tools/jdk:ijar"],