From b9f27bbdad487631bb8566c971d87fc78fb15fde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Gaffie?= Date: Tue, 15 Oct 2019 10:52:37 +0200 Subject: Makefile change to allow VTS testing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- Android.bp | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/Android.bp b/Android.bp index a1fb36f..6da0bbf 100644 --- a/Android.bp +++ b/Android.bp @@ -57,7 +57,7 @@ cc_library_static { ], } -cc_library_shared { +cc_library { name: "libremote-processor", defaults: ["pfw_defaults"], export_include_dirs: [ @@ -82,7 +82,7 @@ cc_library_shared { static_libs: ["libpfw_utility"], } -cc_library_shared { +cc_library { name: "libparameter", defaults: ["pfw_defaults"], vendor_available: true, @@ -227,9 +227,26 @@ cc_binary_host { } // 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", -- cgit v1.2.3