mirror of
https://github.com/bazel-contrib/rules_foreign_cc
synced 2024-12-01 22:16:27 +00:00
497d929ec5
* Added support for replacing sandbox paths in build artifacts * Added examples
52 lines
2.2 KiB
Python
52 lines
2.2 KiB
Python
"""A centralized module defining all repositories required for third party examples of rules_foreign_cc"""
|
|
|
|
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
|
load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
|
|
load("//apr:apr_repositories.bzl", "apr_repositories")
|
|
load("//apr_util:apr_util_repositories.bzl", "apr_util_repositories")
|
|
load("//bison:bison_repositories.bzl", "bison_repositories")
|
|
load("//cares:cares_repositories.bzl", "cares_repositories")
|
|
load("//curl:curl_repositories.bzl", "curl_repositories")
|
|
load("//gn:gn_repositories.bzl", "gn_repositories")
|
|
load("//gperftools:gperftools_repositories.bzl", "gperftools_repositories")
|
|
load("//iconv:iconv_repositories.bzl", "iconv_repositories")
|
|
load("//libgit2:libgit2_repositories.bzl", "libgit2_repositories")
|
|
load("//libjpeg_turbo:libjpeg_turbo_repositories.bzl", "libjpeg_turbo_repositories")
|
|
load("//libpng:libpng_repositories.bzl", "libpng_repositories")
|
|
load("//libssh2:libssh2_repositories.bzl", "libssh2_repositories")
|
|
load("//openssl:openssl_repositories.bzl", "openssl_repositories")
|
|
load("//pcre:pcre_repositories.bzl", "pcre_repositories")
|
|
load("//sqlite:sqlite_repositories.bzl", "sqlite_repositories")
|
|
load("//subversion:subversion_repositories.bzl", "subversion_repositories")
|
|
load("//zlib:zlib_repositories.bzl", "zlib_repositories")
|
|
|
|
# buildifier: disable=unnamed-macro
|
|
def repositories():
|
|
"""Load all repositories needed for the targets of rules_foreign_cc_examples_third_party"""
|
|
apr_repositories()
|
|
apr_util_repositories()
|
|
bison_repositories()
|
|
cares_repositories()
|
|
curl_repositories()
|
|
gn_repositories()
|
|
gperftools_repositories()
|
|
iconv_repositories()
|
|
libgit2_repositories()
|
|
libjpeg_turbo_repositories()
|
|
libpng_repositories()
|
|
libssh2_repositories()
|
|
openssl_repositories()
|
|
pcre_repositories()
|
|
sqlite_repositories()
|
|
subversion_repositories()
|
|
zlib_repositories()
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "rules_cc",
|
|
strip_prefix = "rules_cc-b1c40e1de81913a3c40e5948f78719c28152486d",
|
|
url = "https://github.com/bazelbuild/rules_cc/archive/b1c40e1de81913a3c40e5948f78719c28152486d.zip",
|
|
sha256 = "d0c573b94a6ef20ef6ff20154a23d0efcb409fb0e1ff0979cec318dfe42f0cdd",
|
|
type = "zip",
|
|
)
|