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
44
44
# running bazelisk with the --migrate flag and filtering out all flags that
45
45
# default to true or are deprecated.
46
46
build --incompatible_check_sharding_support
47
+ build --incompatible_config_setting_private_default_visibility
47
48
build --incompatible_default_to_explicit_init_py
48
49
build --incompatible_disable_native_android_rules
49
50
build --incompatible_disable_target_provider_fields
@@ -59,7 +60,6 @@ build --incompatible_use_cc_configure_from_rules_cc
59
60
60
61
# We cannot yet build successfully with the following flags:
61
62
# --incompatible_check_testonly_for_output_files
62
- # --incompatible_config_setting_private_default_visibility
63
63
# --incompatible_disable_starlark_host_transitions
64
64
# --incompatible_disallow_struct_provider_syntax
65
65
# --incompatible_no_implicit_file_export
@@ -82,4 +82,4 @@ build --verbose_failures
82
82
# check.
83
83
build --features=layering_check
84
84
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(
130
130
":osx_x86_64_release" ,
131
131
":osx_x86_64_local" ,
132
132
],
133
+ visibility = ["//python:__subpackages__" ],
133
134
)
134
135
135
136
config_setting (
@@ -157,6 +158,7 @@ selects.config_setting_group(
157
158
":osx_aarch64_release" ,
158
159
":osx_aarch64_local" ,
159
160
],
161
+ visibility = ["//python:__subpackages__" ],
160
162
)
161
163
162
164
config_setting (
@@ -189,6 +191,7 @@ selects.config_setting_group(
189
191
":windows_x86_32_release" ,
190
192
":windows_x86_32_local" ,
191
193
],
194
+ visibility = ["//python:__subpackages__" ],
192
195
)
193
196
194
197
config_setting (
Original file line number Diff line number Diff line change @@ -29,13 +29,15 @@ config_setting(
29
29
flag_values = {
30
30
":ffi" : "enabled" ,
31
31
},
32
+ visibility = ["//ruby:__subpackages__" ],
32
33
)
33
34
34
35
config_setting (
35
36
name = "ffi_disabled" ,
36
37
flag_values = {
37
38
":ffi" : "disabled" ,
38
39
},
40
+ visibility = ["//ruby:__subpackages__" ],
39
41
)
40
42
41
43
selects .config_setting_group (
@@ -76,6 +78,7 @@ selects.config_setting_group(
76
78
":ffi_enabled" ,
77
79
"@platforms//os:osx" ,
78
80
],
81
+ visibility = ["//ruby:__subpackages__" ],
79
82
)
80
83
81
84
selects .config_setting_group (
@@ -84,6 +87,7 @@ selects.config_setting_group(
84
87
":ffi_enabled" ,
85
88
"@platforms//os:linux" ,
86
89
],
90
+ visibility = ["//ruby:__subpackages__" ],
87
91
)
88
92
89
93
internal_copy_files (
Original file line number Diff line number Diff line change @@ -28,6 +28,12 @@ exports_files(
28
28
config_setting (
29
29
name = "windows" ,
30
30
constraint_values = ["@platforms//os:windows" ],
31
+ visibility = [
32
+ "//lua:__pkg__" ,
33
+ "//python:__pkg__" ,
34
+ "//upb:__subpackages__" ,
35
+ "//upb_generator:__subpackages__" ,
36
+ ],
31
37
)
32
38
33
39
bool_flag (
@@ -39,6 +45,12 @@ bool_flag(
39
45
config_setting (
40
46
name = "fasttable_enabled_setting" ,
41
47
flag_values = {"//upb:fasttable_enabled" : "true" },
48
+ visibility = [
49
+ "//lua:__pkg__" ,
50
+ "//python:__pkg__" ,
51
+ "//upb:__subpackages__" ,
52
+ "//upb_generator:__subpackages__" ,
53
+ ],
42
54
)
43
55
44
56
upb_proto_library_copts (
You can’t perform that action at this time.
0 commit comments