e class="code-container">
    <!-- prettier-ignore -->
    <code data-lang="plz">
    genrule(
        name = "jdk",
        cmd = "unzip jdk.zip -o $OUT"
        outs = ["out"],
        entry_points = {
          "java": "jdk/bin/java",
          "javac": "jdk/bin/javac",
        },
    )
    </code>
  </pre>

  <p>
    These entry points can then be used as tools by other rules, follwing a
    similar syntax to named outputs:
  </p>

  <pre class="code-container">
    <!-- prettier-ignore -->
    <code da