blob: 09ed7c297d2d3c258d209c0a96fadbaa70a02895 [file] [log] [blame] [edit]
# AUTO-GENERATED FILE. DO NOT EDIT.
# Copyright 2023 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
load("@rules_pkg//pkg:mappings.bzl", "pkg_attributes", "pkg_filegroup", "pkg_files", "pkg_mkdirs", "pkg_mklink", "strip_prefix")
load("@rules_pkg//pkg:tar.bzl", "pkg_tar")
pkg_files(
name = "__files_regular__",
srcs = glob(
["**"],
exclude = [
"BUILD.bazel",
"BUILD",
"WORKSPACE.bazel",
"WORKSPACE",
],
),
attributes = pkg_attributes(
mode = "0755",
),
renames = {
},
strip_prefix = strip_prefix.from_pkg(),
visibility = ["//visibility:private"],
)
pkg_mkdirs(
name = "__dirs__",
dirs = [
"empty dir",
"empty_dir",
"nested",
"nested/empty dir",
"nested/empty_dir",
],
)
pkg_filegroup(
name = "__files__",
srcs = [
":__files_regular__",
":__dirs__",
],
prefix = "/mnt/host/source/",
visibility = ["//visibility:private"],
)
pkg_tar(
name = "__tarball__",
srcs = [
":__files__",
],
compressor = "@//bazel/portage/repo_defs/zstd",
compressor_args = "--threads=0",
extension = "tar.zst",
visibility = ["//visibility:private"],
)
filegroup(
name = "__tarballs__",
srcs = [
":__tarball__",
],
visibility = [
"//internal/packages:__subpackages__",
"//internal/sources:__subpackages__",
],
)