From 9bf9c30fbf79c25fd1eabefc75d68e0d0dcbd5fd Mon Sep 17 00:00:00 2001 From: Mattijs Korpershoek Date: Tue, 13 May 2014 15:14:36 +0200 Subject: Removed phony package to copy .xsd files BZ: 192861 When hostDomainGenerator.sh is called by the build system, it needs to copy schema files to /tmp/tmp.XXXXXXX. This is because parameter-framework needs to have the schema files next to the .xml files in order to apply validation. In order to do that, hostDomainGenerator.sh needs to know where he can copy the .xsd files from. Currently, the .xsd files are copied from $HOST_OUT/etc/parameter-framework/Schemas via a dedicated makefile. This used a phony package to group all the files that have to be copied. The problem is that phony packages the phony package is not calling the prebuildt rules we need. So the files we want to export to /etc/parameter-framework/Schemas are not copied. This patch removes the phony package in order to produce the expected behaviour. Change-Id: I96da56f85a8c3d512fcfb97244181dc6c1cb9401 Signed-off-by: Mattijs Korpershoek --- tools/xmlGenerator/Android.mk | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'tools/xmlGenerator') diff --git a/tools/xmlGenerator/Android.mk b/tools/xmlGenerator/Android.mk index 2ca8fe0..452668e 100644 --- a/tools/xmlGenerator/Android.mk +++ b/tools/xmlGenerator/Android.mk @@ -61,7 +61,17 @@ LOCAL_REQUIRED_MODULES := \ hostConfig.py \ portAllocator.py \ test-platform_host \ - remote-process_host + remote-process_host \ + ParameterFrameworkConfiguration.xsd \ + ConfigurableDomains.xsd \ + SystemClass.xsd \ + ParameterSettings.xsd \ + FileIncluder.xsd \ + Subsystem.xsd \ + ComponentLibrary.xsd \ + ComponentTypeSet.xsd \ + W3cXmlAttributes.xsd \ + Parameter.xsd LOCAL_MODULE_CLASS := EXECUTABLES LOCAL_IS_HOST_MODULE := true include $(BUILD_PREBUILT) -- cgit v1.1