diff options
author | Mattijs Korpershoek <mattijsx.korpershoek@intel.com> | 2014-05-20 09:18:33 +0200 |
---|---|---|
committer | Mattijs Korpershoek <mattijsx.korpershoek@intel.com> | 2014-06-25 10:52:32 +0200 |
commit | d4dbc9b147f2fbcd06b0fbc5e3af45e4aff669b2 (patch) | |
tree | 08500dbaa9dcd8ab35117285489c6636e9e8bc0f /Schemas | |
parent | fcce1cc05609bb70be328c57d5a39dbf422b5eec (diff) | |
download | external_parameter-framework-d4dbc9b147f2fbcd06b0fbc5e3af45e4aff669b2.zip external_parameter-framework-d4dbc9b147f2fbcd06b0fbc5e3af45e4aff669b2.tar.gz external_parameter-framework-d4dbc9b147f2fbcd06b0fbc5e3af45e4aff669b2.tar.bz2 |
Refactored schema export makefile
BZ: 192861
The makefile contained a lot of redundancy regarding the source files.
This patch reorders some variables and uses a less error prone way to
declare the LOCAL_SRC_FILES variable by avoiding the repeat of the source files.
Change-Id: Idfff93ef4a9d4aff91d2bc864abf38bf904df685
Signed-off-by: Mattijs Korpershoek <mattijsx.korpershoek@intel.com>
Diffstat (limited to 'Schemas')
-rw-r--r-- | Schemas/Android.mk | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/Schemas/Android.mk b/Schemas/Android.mk index c7d7dca..a9346c4 100644 --- a/Schemas/Android.mk +++ b/Schemas/Android.mk @@ -39,28 +39,28 @@ include $(BUILD_PHONY_PACKAGE) include $(CLEAR_VARS) LOCAL_MODULE := ParameterFrameworkConfiguration.xsd -LOCAL_SRC_FILES := ParameterFrameworkConfiguration.xsd +LOCAL_SRC_FILES := $(LOCAL_MODULE) +LOCAL_MODULE_CLASS = ETC 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_SRC_FILES := $(LOCAL_MODULE) +LOCAL_MODULE_CLASS = ETC 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_SRC_FILES := $(LOCAL_MODULE) +LOCAL_MODULE_CLASS = ETC 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 @@ -68,36 +68,36 @@ include $(BUILD_PREBUILT) include $(CLEAR_VARS) LOCAL_MODULE := ParameterSettings.xsd -LOCAL_SRC_FILES := ParameterSettings.xsd +LOCAL_SRC_FILES := $(LOCAL_MODULE) +LOCAL_MODULE_CLASS = ETC 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_SRC_FILES := $(LOCAL_MODULE) +LOCAL_MODULE_CLASS = ETC 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_SRC_FILES := $(LOCAL_MODULE) +LOCAL_MODULE_CLASS = ETC 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_SRC_FILES := $(LOCAL_MODULE) +LOCAL_MODULE_CLASS = ETC 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 @@ -105,10 +105,10 @@ include $(BUILD_PREBUILT) include $(CLEAR_VARS) LOCAL_MODULE := ComponentTypeSet.xsd -LOCAL_SRC_FILES := ComponentTypeSet.xsd +LOCAL_SRC_FILES := $(LOCAL_MODULE) +LOCAL_MODULE_CLASS = ETC 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 @@ -116,17 +116,17 @@ include $(BUILD_PREBUILT) include $(CLEAR_VARS) LOCAL_MODULE := W3cXmlAttributes.xsd -LOCAL_SRC_FILES := W3cXmlAttributes.xsd +LOCAL_SRC_FILES := $(LOCAL_MODULE) +LOCAL_MODULE_CLASS = ETC 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_SRC_FILES := $(LOCAL_MODULE) +LOCAL_MODULE_CLASS = ETC LOCAL_MODULE_PATH := $(HOST_OUT)/etc/parameter-framework/Schemas LOCAL_IS_HOST_MODULE := true -LOCAL_MODULE_CLASS = ETC include $(BUILD_PREBUILT) ################################################## |