cabal-buck2-0.6.0.0: buck2/prelude/decls/third_party_common.bzl
# Copyright (c) Meta Platforms, Inc. and affiliates.
#
# This source code is dual-licensed under either the MIT license found in the
# LICENSE-MIT file in the root directory of this source tree or the Apache
# License, Version 2.0 found in the LICENSE-APACHE file in the root directory
# of this source tree. You may select, at your option, one of the
# above-listed licenses.
def _create_third_party_build_root_attr():
return (
"_create_third_party_build_root",
attrs.default_only(attrs.exec_dep(default = "prelude//third-party/tools:create_build")),
)
def _create_third_party_build_root_attrs():
key, val = _create_third_party_build_root_attr()
return {key: val}
third_party_common = struct(
create_third_party_build_root_attr = _create_third_party_build_root_attr,
create_third_party_build_root_attrs = _create_third_party_build_root_attrs,
)