Consider the following hierarchy:
WORKSPACE foo/ BUILD foo.sh bar/ BUILD bar.sh
Where, e.g., foo/BUILD contains
foo/BUILD