File tree Expand file tree Collapse file tree 2 files changed +10
-15
lines changed Expand file tree Collapse file tree 2 files changed +10
-15
lines changed Original file line number Diff line number Diff line change 1414#
1515# SPDX-License-Identifier: Apache-2.0
1616
17+ load ("@bazel_skylib//rules:common_settings.bzl" , "string_flag" )
1718load ("@buildifier_prebuilt//:rules.bzl" , "buildifier" )
1819
1920exports_files (["LICENSE" ])
2021
2122exports_files (["VERSION" ])
2223
24+ # values: auto, on, off
25+ string_flag (
26+ name = "feature_acl" ,
27+ build_setting_default = "auto" ,
28+ visibility = ["//visibility:public" ],
29+ )
30+
2331alias (
2432 name = "iceoryx_hoofs" ,
2533 actual = "//iceoryx_hoofs" ,
@@ -44,12 +52,6 @@ alias(
4452 visibility = ["//visibility:public" ],
4553)
4654
47- alias (
48- name = "feature_acl" ,
49- actual = "//iceoryx_platform:feature_acl" ,
50- visibility = ["//visibility:public" ],
51- )
52-
5355# Execute `bazel run //:buildifier` to fix formating of all starlark files in the workspace
5456buildifier (
5557 name = "buildifier" ,
Original file line number Diff line number Diff line change 1515# SPDX-License-Identifier: Apache-2.0
1616
1717load ("@bazel_skylib//lib:selects.bzl" , "selects" )
18- load ("@bazel_skylib//rules:common_settings.bzl" , "string_flag" )
1918load ("@rules_cc//cc:defs.bzl" , "cc_library" )
2019load ("//bazel:configure_file.bzl" , "configure_file" )
2120load ("//bazel:configure_version.bzl" , "configure_version" )
@@ -67,23 +66,17 @@ configure_version(
6766 version_from = "//:VERSION" ,
6867)
6968
70- string_flag (
71- name = "feature_acl" ,
72- build_setting_default = "auto" ,
73- visibility = ["//visibility:public" ],
74- )
75-
7669config_setting (
7770 name = "acl_auto" ,
7871 flag_values = {
79- ":feature_acl" : "auto" ,
72+ "// :feature_acl" : "auto" ,
8073 },
8174)
8275
8376config_setting (
8477 name = "acl_enabled" ,
8578 flag_values = {
86- ":feature_acl" : "on" ,
79+ "// :feature_acl" : "on" ,
8780 },
8881)
8982
You can’t perform that action at this time.
0 commit comments