blob: 3e74c2112904480e8d9d7583a5880090412a18a3 [file] [log] [blame]
# 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 = [
"**/.git",
"**/.git/**",
"BUILD.bazel",
"BUILD",
"WORKSPACE.bazel",
"WORKSPACE",
],
),
attributes = pkg_attributes(
mode = "0755",
),
renames = {
},
strip_prefix = strip_prefix.from_pkg(),
visibility = ["//visibility:private"],
)
pkg_filegroup(
name = "__files__",
srcs = [
":__files_regular__",
],
prefix = "/mnt/host/source/src/platform2",
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__",
],
)