File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed
examples/example_without_cc_toolchain Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -87,8 +87,3 @@ filegroup(
8787 "//bazel/private:__pkg__" ,
8888 ],
8989)
90-
91- alias (
92- name = "prefer_prebuilt_protoc" ,
93- actual = "//bazel/flags:prefer_prebuilt_protoc" ,
94- )
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 = ["//bazel:__pkg__" ],
44+ visibility = ["//bazel/toolchains :__pkg__" ],
4545)
4646
4747config_setting (
Original file line number Diff line number Diff line change @@ -41,3 +41,8 @@ filegroup(
4141 "//bazel:__pkg__" ,
4242 ],
4343)
44+
45+ alias (
46+ name = "prefer_prebuilt_protoc" ,
47+ actual = "//bazel/flags:prefer_prebuilt_protoc" ,
48+ )
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:prefer_prebuilt_protoc
6+ common --@com_google_protobuf//bazel/toolchains :prefer_prebuilt_protoc
You can’t perform that action at this time.
0 commit comments