Android patch: Add tests for javax.xml.transform

It adds coverage to methods, e.g.
javax.xml.transform.sax.SAXSource(InputSource)

Bug: 119393918
Test: atest CtsLibcoreOjTestCases:test.javax.xml.jaxp.transform
Change-Id: I975d3751e3bfccae2593fe29aeda3351182344e2
diff --git a/JavaLibrary.bp b/JavaLibrary.bp
index 2623a51..3e5273c 100644
--- a/JavaLibrary.bp
+++ b/JavaLibrary.bp
@@ -531,6 +531,14 @@
     tools: ["smali"],
 }
 
+filegroup {
+    name: "core-ojtests-javax-resources",
+    // Set path to keep the resources and .class files in the same directory in the jar file.
+    path: "ojluni/src",
+    srcs: ["ojluni/src/test/javax/**/*"],
+    exclude_srcs: ["ojluni/src/test/javax/**/*.java"],
+}
+
 // Builds the core-tests library.
 java_test {
     name: "core-tests",
@@ -565,6 +573,7 @@
     ],
     exclude_java_resource_dirs: [
         "ojluni/src/test/java",
+        "ojluni/src/test/javax",
         "ojluni/src/test/resources",
     ],
 
@@ -650,12 +659,17 @@
 
     srcs: [
         "ojluni/src/test/java/**/*.java",
+        "ojluni/src/test/javax/**/*.java",
     ],
     java_resource_dirs: [
         "ojluni/src/test/java",
         "ojluni/src/test/resources",
     ],
 
+    java_resources: [
+        ":core-ojtests-javax-resources",
+    ],
+
     sdk_version: "none",
     system_modules: "core-all-system-modules",
     libs: [
@@ -693,6 +707,7 @@
     defaults: ["libcore_java_defaults"],
     srcs: [
         "ojluni/src/test/java/**/*.java",
+        "ojluni/src/test/javax/**/*.java",
     ],
     // Filter out the following:
     // 1.) DeserializeMethodTest and SerializedLambdaTest, because they depends on stub classes
@@ -711,6 +726,10 @@
         "ojluni/src/test/dist",
     ],
 
+    java_resources: [
+        ":core-ojtests-javax-resources",
+    ],
+
     sdk_version: "none",
     system_modules: "core-all-system-modules",
     libs: [