t_repository(
    name   = "com_github_gflags_gflags",
    commit = "&lt;INSERT COMMIT SHA HERE&gt;",
    remote = "https://github.com/gflags/gflags.git",
)

bind(
    name = "gflags",
    actual = "@com_github_gflags_gflags//:gflags",
)

bind(
    name = "gflags_nothreads",
    actual = "@com_github_gflags_gflags//:gflags_nothreads",
)
</pre>

<p>You can then add <code>//external:gflags</code> to the <code>deps</code> section of a <code>cc_binary</code>
or <code>cc_library</code> rule, and <code>#include "