aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCole Faust <colefaust@google.com>2023-12-11 15:53:24 -0800
committerCole Faust <colefaust@google.com>2023-12-11 15:54:57 -0800
commitf92e531cd0812d9f38b93e9a40ef53950d1a3540 (patch)
tree78740859e91718b76bc5cefb6bc9e7d6d681ef3f
parent1dfb4e3fdef3fad048bf0b6c5683dca5273fb601 (diff)
downloadpyyaml-f92e531cd0812d9f38b93e9a40ef53950d1a3540.tar.gz
Add pyyaml_filegroup
An internal genrule repackages pyyaml source files, so with sandboxing it needs this filegroup to access the files. Bug: 307824623 Test: Presubmits Change-Id: I94b48b8dbb0419b40d301f406b279126ca3e13aa
-rw-r--r--lib/yaml/Android.bp11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/yaml/Android.bp b/lib/yaml/Android.bp
index 0970da4..1e75cfd 100644
--- a/lib/yaml/Android.bp
+++ b/lib/yaml/Android.bp
@@ -23,3 +23,14 @@ python_library {
],
pkg_path: "yaml",
}
+
+filegroup {
+ name: "pyyaml_filegroup",
+ srcs: [
+ "*.py",
+ ],
+ // This filegroup is needed for a google-internal module
+ visibility: [
+ "//vendor:__subpackages__",
+ ],
+}