Remove local flag. (#63)
* Local always results in true.
* Unclear why the flag is useful in this case.
* Currently impedes builds using bazel RBEs.
diff --git a/python_configure.bzl b/python_configure.bzl
index 8994a22..3cff92d 100644
--- a/python_configure.bzl
+++ b/python_configure.bzl
@@ -89,7 +89,7 @@
result = find_result.stdout
return result
-def _genrule(src_dir, genrule_name, command, outs, local):
+def _genrule(src_dir, genrule_name, command, outs):
"""Returns a string with a genrule.
Genrule executes the given command and produces the given outputs.
@@ -97,8 +97,7 @@
return (
"genrule(\n" +
' name = "' +
- genrule_name + '",\n' + (
- " local = 1,\n" if local else "") +
+ genrule_name + '",\n' +
" outs = [\n" +
outs +
"\n ],\n" +
@@ -152,7 +151,6 @@
genrule_name,
" && ".join(command),
"\n".join(outs),
- local = True,
)
return genrule