1LOCAL_MODULE_CLASS := ETC 2LOCAL_MODULE_TAGS := optional 3LOCAL_ADDITIONAL_DEPENDENCIES += \ 4 $(HOST_OUT_EXECUTABLES)/buildStrategiesStructureFile.py \ 5 $(STRATEGIES_STRUCTURE_FILE) $(AUDIO_POLICY_ENGINE_CONFIGURATION_FILE) 6 7include $(BUILD_SYSTEM)/base_rules.mk 8 9$(LOCAL_BUILT_MODULE): MY_STRATEGIES_STRUCTURE_FILE := $(STRATEGIES_STRUCTURE_FILE) 10$(LOCAL_BUILT_MODULE): MY_AUDIO_POLICY_ENGINE_CONFIGURATION_FILE := $(AUDIO_POLICY_ENGINE_CONFIGURATION_FILE) 11$(LOCAL_BUILT_MODULE): MY_PROVISION_TOOL := $(HOST_OUT_EXECUTABLES)/buildStrategiesStructureFile.py 12$(LOCAL_BUILT_MODULE): $(LOCAL_ADDITIONAL_DEPENDENCIES) 13 14 "$(MY_PROVISION_TOOL)" \ 15 --audiopolicyengineconfigurationfile "$(MY_AUDIO_POLICY_ENGINE_CONFIGURATION_FILE)" \ 16 --productstrategiesstructurefile "$(MY_STRATEGIES_STRUCTURE_FILE)" \ 17 --outputfile "$(@)" 18 19# Clear variables for further use 20STRATEGIES_STRUCTURE_FILE := 21AUDIO_POLICY_ENGINE_CONFIGURATION_FILE := 22