File tree Expand file tree Collapse file tree 4 files changed +21
-2
lines changed Expand file tree Collapse file tree 4 files changed +21
-2
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ build --remote_download_outputs=all
4444# running bazelisk with the --migrate flag and filtering out all flags that
4545# default to true or are deprecated.
4646build --incompatible_check_sharding_support
47+ build --incompatible_config_setting_private_default_visibility
4748build --incompatible_default_to_explicit_init_py
4849build --incompatible_disable_native_android_rules
4950build --incompatible_disable_target_provider_fields
@@ -59,7 +60,6 @@ build --incompatible_use_cc_configure_from_rules_cc
5960
6061# We cannot yet build successfully with the following flags:
6162# --incompatible_check_testonly_for_output_files
62- # --incompatible_config_setting_private_default_visibility
6363# --incompatible_disable_starlark_host_transitions
6464# --incompatible_disallow_struct_provider_syntax
6565# --incompatible_no_implicit_file_export
@@ -82,4 +82,4 @@ build --verbose_failures
8282# check.
8383build --features=layering_check
8484
85- build --enable_platform_specific_config
85+ build --enable_platform_specific_config
Original file line number Diff line number Diff line change @@ -130,6 +130,7 @@ selects.config_setting_group(
130130 ":osx_x86_64_release" ,
131131 ":osx_x86_64_local" ,
132132 ],
133+ visibility = ["//python:__subpackages__" ],
133134)
134135
135136config_setting (
@@ -157,6 +158,7 @@ selects.config_setting_group(
157158 ":osx_aarch64_release" ,
158159 ":osx_aarch64_local" ,
159160 ],
161+ visibility = ["//python:__subpackages__" ],
160162)
161163
162164config_setting (
@@ -189,6 +191,7 @@ selects.config_setting_group(
189191 ":windows_x86_32_release" ,
190192 ":windows_x86_32_local" ,
191193 ],
194+ visibility = ["//python:__subpackages__" ],
192195)
193196
194197config_setting (
Original file line number Diff line number Diff line change @@ -29,13 +29,15 @@ config_setting(
2929 flag_values = {
3030 ":ffi" : "enabled" ,
3131 },
32+ visibility = ["//ruby:__subpackages__" ],
3233)
3334
3435config_setting (
3536 name = "ffi_disabled" ,
3637 flag_values = {
3738 ":ffi" : "disabled" ,
3839 },
40+ visibility = ["//ruby:__subpackages__" ],
3941)
4042
4143selects .config_setting_group (
@@ -76,6 +78,7 @@ selects.config_setting_group(
7678 ":ffi_enabled" ,
7779 "@platforms//os:osx" ,
7880 ],
81+ visibility = ["//ruby:__subpackages__" ],
7982)
8083
8184selects .config_setting_group (
@@ -84,6 +87,7 @@ selects.config_setting_group(
8487 ":ffi_enabled" ,
8588 "@platforms//os:linux" ,
8689 ],
90+ visibility = ["//ruby:__subpackages__" ],
8791)
8892
8993internal_copy_files (
Original file line number Diff line number Diff line change @@ -28,6 +28,12 @@ exports_files(
2828config_setting (
2929 name = "windows" ,
3030 constraint_values = ["@platforms//os:windows" ],
31+ visibility = [
32+ "//lua:__pkg__" ,
33+ "//python:__pkg__" ,
34+ "//upb:__subpackages__" ,
35+ "//upb_generator:__subpackages__" ,
36+ ],
3137)
3238
3339bool_flag (
@@ -39,6 +45,12 @@ bool_flag(
3945config_setting (
4046 name = "fasttable_enabled_setting" ,
4147 flag_values = {"//upb:fasttable_enabled" : "true" },
48+ visibility = [
49+ "//lua:__pkg__" ,
50+ "//python:__pkg__" ,
51+ "//upb:__subpackages__" ,
52+ "//upb_generator:__subpackages__" ,
53+ ],
4254)
4355
4456upb_proto_library_copts (
You can’t perform that action at this time.
0 commit comments