diff options
author | Lukacs Berki <lberki@google.com> | 2015-12-16 11:25:36 +0000 |
---|---|---|
committer | Dmitry Lomov <dslomov@google.com> | 2015-12-16 11:40:28 +0000 |
commit | de2183d20b39db8e9e21a006b6b2fae761dde8a6 (patch) | |
tree | 9715034b643a5f64f4893a35762e69676aa94c8f /third_party/guava | |
parent | 60f6cf6f1d7708ac46982d190dfe03f04160e5ac (diff) |
Only depend on the WORKSPACE file for external files that are under the external/ directory, i.e. were created by Bazel.
This avoids a cycle that arose when a file is load()ed from the WORKSPACE file that is reached through a symlink to an external directory:
* The WORKSPACE file depends on the package lookup node of the .bzl file
* The package lookup node (transitively) depends on wherever the symlink points
* The target of the symlink is an external file and as such, it depends on the WORKSPACE file
This will probably be, erm, interesting to solve when we get as far as to load stuff from external repositories in the WORKSPACE file, but we are just not there yet.
--
MOS_MIGRATED_REVID=110344658
Diffstat (limited to 'third_party/guava')
0 files changed, 0 insertions, 0 deletions