blob: 747348fcd82b870e4768343dfd6c02d75c47410e [file] [log] [blame] [edit]
--- upbc/bootstrap_compiler.bzl
+++ upbc/bootstrap_compiler.bzl
@@ -20,7 +20,7 @@ _upbc_base = "//upbc:protoc-gen-upb"
# begin:github_only
_is_google3 = False
-_extra_proto_path = "-Iexternal/com_google_protobuf/src "
+_extra_proto_path = "-Isrc "
# end:github_only
def _upbc(stage):
--- bazel/system_python.bzl
+++ bazel/system_python.bzl
@@ -195,6 +195,10 @@ def _populate_package(ctx, path, python3, python_version):
if int(python_version[idx]) < int(v):
supported = False
break
+ if "win" in ctx.os.name:
+ # buildifier: disable=print
+ print("WARNING: python is not supported on Windows")
+ supported = False
build_file = _build_file.format(
interpreter = python3,