File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed
examples/example_without_cc_toolchain Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -69,3 +69,8 @@ filegroup(
6969 "//bazel/private:__pkg__" ,
7070 ],
7171)
72+
73+ alias (
74+ name = "prefer_prebuilt_protoc" ,
75+ actual = "//bazel/flags:prefer_prebuilt_protoc" ,
76+ )
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ bool_flag(
4141 name = "prefer_prebuilt_protoc" ,
4242 # TODO: this should be True after the feature is vetted with some adoption
4343 build_setting_default = False ,
44- visibility = ["//visibility:private " ],
44+ visibility = ["//bazel:__pkg__ " ],
4545)
4646
4747config_setting (
Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ common --per_file_copt=external/.*protobuf.*/src/google/protobuf/compiler/main.c
33common --host_per_file_copt=external/.*protobuf.*/src/google/protobuf/compiler/main.cc@--THIS_CC_TOOLCHAIN_IS_BROKEN
44# But, users should be able to use pre-built protoc toolchains instead.
55common --incompatible_enable_proto_toolchain_resolution
6- common --@com_google_protobuf//bazel/flags :prefer_prebuilt_protoc
6+ common --@com_google_protobuf//bazel:prefer_prebuilt_protoc
You can’t perform that action at this time.
0 commit comments