Rollback of commit
*** Reason for rollback ***
rules_closure needs to set go/be#java_plugin.generates_api to 1 for dagger
*** Original change description ***
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
MOS_MIGRATED_REVID=148132758
@@ -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/' $< > $@",
+ 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' $< > $@",
)
filegroup(
@@ -113,7 +113,7 @@ java_toolchain(
bootclasspath = [":bootclasspath"],
encoding = "UTF-8",
extclasspath = [":extclasspath"],
- forcibly_disable_header_compilation = 1,
+ forcibly_disable_header_compilation = 0,
genclass = ["//tools/jdk:GenClass_deploy.jar"],
header_compiler = ["//tools/jdk:turbine_deploy.jar"],
ijar = ["@bazel_tools//tools/jdk:ijar"],
