aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCole Faust <colefaust@google.com>2023-11-18 05:40:37 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2023-11-18 05:40:37 +0000
commit7d4b8ec92282674e8415a92f7d0f678a28f9cea4 (patch)
tree3669947f4b031e38aedd1fb64f9d9112d7cab4ed
parent69dad0dd322e989e216224970cd43b30ef948d0a (diff)
parent639a3c127700218a22dd81b591efc727bcf1428c (diff)
downloadlibxml2-7d4b8ec92282674e8415a92f7d0f678a28f9cea4.tar.gz
Merge "Sandbox libxml2 genrules" into main am: 837af61be3 am: 639a3c1277
Original change: https://android-review.googlesource.com/c/platform/external/libxml2/+/2835890 Change-Id: I00b24b58e1826ba27aee2b6fe1025b9d362cd3a1 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/*",
],