title: Up-level references ("..") in Bazel
body: <p>In my bazel <code>BUILD</code> file, I have a line:</p>
  
  <pre><code>srcs = glob([&lt;pattern1&gt;, &lt;pattern2&gt;, ...])
  </code></pre>
  
  <p>I tried to have one of my patterns be <code>"../dir/*.cc"</code> but I get an error that I'm not allowed to use the <code>..</code> sequence here.</p>
  
  <p>Checking the <a href="https://docs.bazel.build/versions/master/build-ref.html#name" rel="noreferrer">documentation</a>, I have found that it's not permitted, but I'm not sure what the expected substitute is.</p>
  
  <blockquote>
    <p>Similarly, up-level references (..) and current-directory references (./) are forbidden.</p>
  </blockquote>
  
  <p>How can I include these other source files in my <code>srcs</code> list given my current file structure?  If I can't reference the up-level directory, is there a way to use the package name of the other directory instead?</p>