summaryrefslogtreecommitdiffstats
path: root/Schemas
diff options
context:
space:
mode:
authorMattijs Korpershoek <mattijsx.korpershoek@intel.com>2014-04-17 16:02:07 +0200
committerMattijs Korpershoek <mattijsx.korpershoek@intel.com>2014-06-25 10:52:24 +0200
commitdcbc3ecc3ac9dbf1065161422467658a3cc5dc4e (patch)
tree6d62c983b414feab7234f2cbca47cbd7334942ad /Schemas
parent0b3ff885d8b82405e20476f2248523b806af9740 (diff)
downloadexternal_parameter-framework-dcbc3ecc3ac9dbf1065161422467658a3cc5dc4e.zip
external_parameter-framework-dcbc3ecc3ac9dbf1065161422467658a3cc5dc4e.tar.gz
external_parameter-framework-dcbc3ecc3ac9dbf1065161422467658a3cc5dc4e.tar.bz2
Added copying of xsd files to host build output
BZ: 188323 In order to validate the .xml parameter framework files, we use XSDs. Those must be in the same directory as the .xml files when they are validated. This patch copies the .xsd files towards a directory that hostDomainGenerator knows, so that he can use the files and copy them towards /tmp. Change-Id: I938fc3791006777ff65c96d4259596111f93d7b8 Signed-off-by: Mattijs Korpershoek <mattijsx.korpershoek@intel.com>
Diffstat (limited to 'Schemas')
-rw-r--r--Schemas/Android.mk132
1 files changed, 132 insertions, 0 deletions
diff --git a/Schemas/Android.mk b/Schemas/Android.mk
new file mode 100644
index 0000000..c7d7dca
--- /dev/null
+++ b/Schemas/Android.mk
@@ -0,0 +1,132 @@
+# INTEL CONFIDENTIAL
+# Copyright (c) 2014 Intel
+# Corporation All Rights Reserved.
+#
+# The source code contained or described herein and all documents related to
+# the source code ("Material") are owned by Intel Corporation or its suppliers
+# or licensors. Title to the Material remains with Intel Corporation or its
+# suppliers and licensors. The Material contains trade secrets and proprietary
+# and confidential information of Intel or its suppliers and licensors. The
+# Material is protected by worldwide copyright and trade secret laws and
+# treaty provisions. No part of the Material may be used, copied, reproduced,
+# modified, published, uploaded, posted, transmitted, distributed, or
+# disclosed in any way without Intel's prior express written permission.
+#
+# No license under any patent, copyright, trade secret or other intellectual
+# property right is granted to or conferred upon you by disclosure or delivery
+# of the Materials, either expressly, by implication, inducement, estoppel or
+# otherwise. Any license under such intellectual property rights must be
+# express and approved by Intel in writing.
+
+LOCAL_PATH := $(call my-dir)
+
+# Phony package containing XSD files
+##################################################
+
+include $(CLEAR_VARS)
+LOCAL_MODULE := parameter-framework.schemas
+LOCAL_IS_HOST_MODULE := true
+LOCAL_MODULE_PATH := $(HOST_OUT)/etc/parameter-framework/Schemas
+LOCAL_REQUIRED_MODULES := \
+ ParameterFrameworkConfiguration.xsd \
+ ConfigurableDomains.xsd \
+ SystemClass.xsd
+include $(BUILD_PHONY_PACKAGE)
+
+# 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
+##################################################
+
+include $(CLEAR_VARS)
+LOCAL_MODULE := ParameterFrameworkConfiguration.xsd
+LOCAL_SRC_FILES := ParameterFrameworkConfiguration.xsd
+LOCAL_MODULE_PATH := $(HOST_OUT)/etc/parameter-framework/Schemas
+LOCAL_IS_HOST_MODULE := true
+LOCAL_MODULE_CLASS = ETC
+include $(BUILD_PREBUILT)
+
+include $(CLEAR_VARS)
+LOCAL_MODULE := ConfigurableDomains.xsd
+LOCAL_SRC_FILES := ConfigurableDomains.xsd
+LOCAL_MODULE_PATH := $(HOST_OUT)/etc/parameter-framework/Schemas
+LOCAL_IS_HOST_MODULE := true
+LOCAL_MODULE_CLASS = ETC
+LOCAL_REQUIRED_MODULES := \
+ ParameterSettings.xsd
+include $(BUILD_PREBUILT)
+
+include $(CLEAR_VARS)
+LOCAL_MODULE := SystemClass.xsd
+LOCAL_SRC_FILES := SystemClass.xsd
+LOCAL_MODULE_PATH := $(HOST_OUT)/etc/parameter-framework/Schemas
+LOCAL_IS_HOST_MODULE := true
+LOCAL_MODULE_CLASS = ETC
+LOCAL_REQUIRED_MODULES := \
+ FileIncluder.xsd \
+ Subsystem.xsd
+include $(BUILD_PREBUILT)
+
+include $(CLEAR_VARS)
+LOCAL_MODULE := ParameterSettings.xsd
+LOCAL_SRC_FILES := ParameterSettings.xsd
+LOCAL_MODULE_PATH := $(HOST_OUT)/etc/parameter-framework/Schemas
+LOCAL_IS_HOST_MODULE := true
+LOCAL_MODULE_CLASS = ETC
+include $(BUILD_PREBUILT)
+
+include $(CLEAR_VARS)
+LOCAL_MODULE := FileIncluder.xsd
+LOCAL_SRC_FILES := FileIncluder.xsd
+LOCAL_MODULE_PATH := $(HOST_OUT)/etc/parameter-framework/Schemas
+LOCAL_IS_HOST_MODULE := true
+LOCAL_MODULE_CLASS = ETC
+include $(BUILD_PREBUILT)
+
+include $(CLEAR_VARS)
+LOCAL_MODULE := Subsystem.xsd
+LOCAL_SRC_FILES := Subsystem.xsd
+LOCAL_MODULE_PATH := $(HOST_OUT)/etc/parameter-framework/Schemas
+LOCAL_IS_HOST_MODULE := true
+LOCAL_MODULE_CLASS = ETC
+LOCAL_REQUIRED_MODULES := \
+ ComponentLibrary.xsd
+include $(BUILD_PREBUILT)
+
+include $(CLEAR_VARS)
+LOCAL_MODULE := ComponentLibrary.xsd
+LOCAL_SRC_FILES := ComponentLibrary.xsd
+LOCAL_MODULE_PATH := $(HOST_OUT)/etc/parameter-framework/Schemas
+LOCAL_IS_HOST_MODULE := true
+LOCAL_MODULE_CLASS = ETC
+LOCAL_REQUIRED_MODULES := \
+ ComponentTypeSet.xsd \
+ W3cXmlAttributes.xsd
+include $(BUILD_PREBUILT)
+
+include $(CLEAR_VARS)
+LOCAL_MODULE := ComponentTypeSet.xsd
+LOCAL_SRC_FILES := ComponentTypeSet.xsd
+LOCAL_MODULE_PATH := $(HOST_OUT)/etc/parameter-framework/Schemas
+LOCAL_IS_HOST_MODULE := true
+LOCAL_MODULE_CLASS = ETC
+LOCAL_REQUIRED_MODULES := \
+ Parameter.xsd \
+ W3cXmlAttributes.xsd
+include $(BUILD_PREBUILT)
+
+include $(CLEAR_VARS)
+LOCAL_MODULE := W3cXmlAttributes.xsd
+LOCAL_SRC_FILES := W3cXmlAttributes.xsd
+LOCAL_MODULE_PATH := $(HOST_OUT)/etc/parameter-framework/Schemas
+LOCAL_IS_HOST_MODULE := true
+LOCAL_MODULE_CLASS = ETC
+include $(BUILD_PREBUILT)
+
+include $(CLEAR_VARS)
+LOCAL_MODULE := Parameter.xsd
+LOCAL_SRC_FILES := Parameter.xsd
+LOCAL_MODULE_PATH := $(HOST_OUT)/etc/parameter-framework/Schemas
+LOCAL_IS_HOST_MODULE := true
+LOCAL_MODULE_CLASS = ETC
+include $(BUILD_PREBUILT)
+##################################################