aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCole Faust <colefaust@google.com>2023-11-18 05:08:27 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2023-11-18 05:08:27 +0000
commit639a3c127700218a22dd81b591efc727bcf1428c (patch)
tree3669947f4b031e38aedd1fb64f9d9112d7cab4ed
parent3cfb63c58ad1dc9c2f139ad20137944ea89c2dc2 (diff)
parent837af61be30464a19f070b074a777cfdec1cc2f4 (diff)
downloadlibxml2-639a3c127700218a22dd81b591efc727bcf1428c.tar.gz
Merge "Sandbox libxml2 genrules" into main am: 837af61be3
Original change: https://android-review.googlesource.com/c/platform/external/libxml2/+/2835890 Change-Id: I746ab90252e5b2deb1eaaece2e3bab98d6899281 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r--Android.bp10
1 files changed, 9 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp
index a5d103da..28f4af04 100644
--- a/Android.bp
+++ b/Android.bp
@@ -238,11 +238,13 @@ genrule {
tools: ["libxml2_genseed"],
srcs: [
"test/schemas/*.xsd",
+ "test/schemas/*.inc",
+ "test/schemas/*.imp",
],
// The genseed tool only writes under its current directory.
// We move outputs to the correct location after generation..
cmd: "mkdir -p seed/schema && " +
- "$(location libxml2_genseed) schema $(in) && " +
+ "$(location libxml2_genseed) schema $(locations test/schemas/*.xsd) && " +
"mkdir -p $(genDir)/fuzz/seed/schema && " +
"mv -f seed/schema/* $(genDir)/fuzz/seed/schema",
out: [
@@ -429,13 +431,19 @@ genrule {
tools: ["libxml2_genseed"],
srcs: [
"test/*",
+ "test/dtds/*.dtd",
+ "test/errors/rec_ext.ent",
"test/errors/*.xml",
"test/errors10/*.xml",
"test/namespaces/*",
"test/valid/*.xml",
+ "test/valid/*.dtd",
+ "test/valid/dtds/*",
"test/VC/*",
+ "test/VC/dtds/*.dtd",
"test/VCM/*",
"test/XInclude/docs/*",
+ "test/XInclude/ents/*",
"test/XInclude/without-reader/*",
"test/xmlid/*",
],