blob: 2da3e217390df74f7ca61d485baf87ff4ac88963 [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",
"WORKSPACE.bazel",
"hello world.txt",
"BUILD.bazel",
"BUILD",
"WORKSPACE.bazel",
"WORKSPACE",
],
),
attributes = pkg_attributes(
mode = "0755",
),
renames = {
"__rename__0": "BUILD.bazel",
"__rename__1": "WORKSPACE.bazel",
"__rename__2": "hello world.txt",
},
strip_prefix = strip_prefix.from_pkg(),
visibility = ["//visibility:private"],
)
pkg_filegroup(
name = "__files__",
srcs = [
":__files_regular__",
],
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__",
],
)