When I update bazel to master (rev 43b2ea7274fe11f0d5c9f3363110da72c37da923), I now get this error when building my projects:
% bazel build //...
.......
ERROR: Loading of target '//tools/jdk:jdk' failed; build aborted: no such package 'tools/jdk': BUILD file not found on package path.
ERROR: Loading failed; build aborted.
INFO: Elapsed time: 0.335s
In another project, I get:
every rule of type java_binary implicitly depends upon the target '//tools/defaults:java_toolchain', but this target could not be found.
% echo $JAVA_HOME
/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home
It seems related to this issue, but slightly different:
https://github.com/google/bazel/issues/245. Or maybe I need to change something about my BUILD files now?