Makefile change to allow VTS testing

This CL updates makefile to allow static version compilation
to allow VTS test using the parameter-framework

Test: build
Bug: 141989952
Change-Id: I1b2dd68825af80095faf39aa7ebe0cfa0355f0ff
Merged-In: I1b2dd68825af80095faf39aa7ebe0cfa0355f0ff
Signed-off-by: Fran├žois Gaffie <francois.gaffie@renault.com>
diff --git a/Android.bp b/Android.bp
index a1fb36f..6da0bbf 100644
--- a/Android.bp
+++ b/Android.bp
@@ -57,7 +57,7 @@
     ],
 }
 
-cc_library_shared {
+cc_library {
     name: "libremote-processor",
     defaults: ["pfw_defaults"],
     export_include_dirs: [
@@ -82,7 +82,7 @@
     static_libs: ["libpfw_utility"],
 }
 
-cc_library_shared {
+cc_library {
     name: "libparameter",
     defaults: ["pfw_defaults"],
     vendor_available: true,
@@ -227,9 +227,26 @@
 }
 
 // Resources are not compiled so the prebuild mechanism is used to export them.
-// Schemas are only used by host, in order to validate xml files
 //////////////////////////////////////////////////
 
+filegroup {
+    name: "parameter_frameworks_configuration_schemas",
+    srcs: [
+        "upstream/schemas/ParameterFrameworkConfiguration.xsd",
+        "upstream/schemas/ConfigurableDomain.xsd",
+        "upstream/schemas/ConfigurableDomains.xsd",
+        "upstream/schemas/SystemClass.xsd",
+        "upstream/schemas/ParameterSettings.xsd",
+        "upstream/schemas/FileIncluder.xsd",
+        "upstream/schemas/Subsystem.xsd",
+        "upstream/schemas/ComponentLibrary.xsd",
+        "upstream/schemas/ComponentTypeSet.xsd",
+        "upstream/schemas/W3cXmlAttributes.xsd",
+        "upstream/schemas/Parameter.xsd",
+    ],
+    path: "upstream/",
+}
+
 prebuilt_etc_host {
     name: "ParameterFrameworkConfiguration.xsd",
     owner: "intel",