blob: 201e56f64659bb6de600ee510d2902265d673f1e [file] [log] [blame]
# Copyright 2022 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
load(":providers.bzl", "FuchsiaConnectivityWlanConfigInfo")
def _fuchsia_platform_connectivity_wlan_configuration_impl(ctx):
return [
FuchsiaConnectivityWlanConfigInfo(
legacy_privacy_support = ctx.attr.legacy_privacy_support,
include_wlan_aibs = ctx.attr.include_wlan_aibs,
),
]
fuchsia_platform_connectivity_wlan_configuration = rule(
doc = """Generates an connectivity configuration.""",
implementation = _fuchsia_platform_connectivity_wlan_configuration_impl,
provides = [FuchsiaConnectivityWlanConfigInfo],
attrs = {
"legacy_privacy_support": attr.bool(
doc = "A bool value for legacy_privacy_support of wlan",
),
"include_wlan_aibs": attr.bool(
doc = "A bool value for include_wlan_aibs of wlan",
),
},
)