summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYifan Hong <elsk@google.com>2024-03-27 13:18:41 -0700
committerYifan Hong <elsk@google.com>2024-03-27 13:18:41 -0700
commit0fe2e000716b3152e4b26d0f3b5523bb517ba9a7 (patch)
treeb32f9364ee2af1ca451d2f1602649e44be1fc116
parentbe9c729ed5f2c69d98ca1711652121f7ff7cfb5b (diff)
downloadzlib-0fe2e000716b3152e4b26d0f3b5523bb517ba9a7.tar.gz
kleaf: Add pkg_files for TEST_MAPPING.
This is so that it can be included in test_mappings.zip. Test: TH Bug: 330775243 Change-Id: Ie255ae76e0a90c5778e79824f3d8d4b6c59bfb54
-rw-r--r--BUILD.bazel22
1 files changed, 22 insertions, 0 deletions
diff --git a/BUILD.bazel b/BUILD.bazel
new file mode 100644
index 0000000..f0fc0f9
--- /dev/null
+++ b/BUILD.bazel
@@ -0,0 +1,22 @@
+# Copyright (C) 2024 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+load("@rules_pkg//pkg:mappings.bzl", "pkg_files")
+
+pkg_files(
+ name = "test_mappings",
+ srcs = ["TEST_MAPPING"],
+ prefix = package_name(),
+ visibility = ["//kernel/tests/test_mappings:__pkg__"],
+)