Vendor dependencies
Let's see how I like this workflow.
This commit is contained in:
parent
34d1830413
commit
9c435dc440
7500 changed files with 1665121 additions and 99 deletions
29
vendor/cxx/tools/buck/prelude/user/all.bzl
vendored
Normal file
29
vendor/cxx/tools/buck/prelude/user/all.bzl
vendored
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
#
|
||||
# This source code is licensed under both the MIT license found in the
|
||||
# LICENSE-MIT file in the root directory of this source tree and the Apache
|
||||
# License, Version 2.0 found in the LICENSE-APACHE file in the root directory
|
||||
# of this source tree.
|
||||
|
||||
load("@prelude//apple/user:apple_resource_bundle.bzl", _apple_resource_bundle_spec = "registration_spec")
|
||||
load("@prelude//apple/user:apple_toolchain_override.bzl", _apple_toolchain_override_spec = "registration_spec")
|
||||
load("@prelude//apple/user:apple_tools.bzl", _apple_tools_spec = "registration_spec")
|
||||
load("@prelude//apple/user:apple_watchos_bundle.bzl", _apple_watchos_bundle_spec = "registration_spec")
|
||||
load("@prelude//apple/user:resource_group_map.bzl", _resource_group_map_spec = "registration_spec")
|
||||
load("@prelude//cxx/user:link_group_map.bzl", _link_group_map_spec = "registration_spec")
|
||||
load(":extract_archive.bzl", _extract_archive_spec = "registration_spec")
|
||||
|
||||
_all_specs = [
|
||||
_extract_archive_spec,
|
||||
_apple_tools_spec,
|
||||
_apple_resource_bundle_spec,
|
||||
_link_group_map_spec,
|
||||
_resource_group_map_spec,
|
||||
_apple_watchos_bundle_spec,
|
||||
_apple_toolchain_override_spec,
|
||||
]
|
||||
|
||||
rules = {s.name: rule(impl = s.impl, attrs = s.attrs, **{k: v for k, v in {"cfg": s.cfg}.items() if v != None}) for s in _all_specs}
|
||||
|
||||
# The rules are accessed by doing module.name, so we have to put them on the correct module.
|
||||
load_symbols(rules)
|
||||
Loading…
Add table
Add a link
Reference in a new issue