1################################################################################################ 2# 3# @NOTE: 4# Audio Policy Engine configurable example for generic device build 5# 6# Any vendor shall have its own configuration within the corresponding device folder 7# 8################################################################################################ 9 10ifeq ($(BUILD_AUDIO_POLICY_EXAMPLE_CONFIGURATION), automotive_configurable) 11LOCAL_PATH := $(call my-dir) 12 13PFW_CORE := external/parameter-framework 14PFW_DEFAULT_SCHEMAS_DIR := $(PFW_CORE)/upstream/schemas 15PFW_SCHEMAS_DIR := $(PFW_DEFAULT_SCHEMAS_DIR) 16 17TOOLS := frameworks/av/services/audiopolicy/engineconfigurable/tools 18BUILD_PFW_SETTINGS := $(TOOLS)/build_audio_pfw_settings.mk 19 20 21################################################################## 22# CONFIGURATION FILES 23################################################################## 24 25########## Policy PFW Structures ######### 26######### Policy PFW Settings ######### 27include $(CLEAR_VARS) 28LOCAL_MODULE := parameter-framework.policy 29LOCAL_MODULE_STEM := PolicyConfigurableDomains.xml 30LOCAL_MODULE_CLASS := ETC 31LOCAL_VENDOR_MODULE := true 32LOCAL_MODULE_RELATIVE_PATH := parameter-framework/Settings/Policy 33LOCAL_REQUIRED_MODULES := libpolicy-subsystem 34 35PFW_EDD_FILES := \ 36 $(LOCAL_PATH)/Settings/device_for_product_strategies.pfw \ 37 $(LOCAL_PATH)/../Settings/device_for_input_source.pfw \ 38 $(LOCAL_PATH)/../Settings/volumes.pfw 39 40PFW_CRITERION_TYPES_FILE := $(TARGET_OUT_VENDOR_ETC)/audio_policy_engine_criterion_types.xml 41PFW_CRITERIA_FILE := $(TARGET_OUT_VENDOR_ETC)/audio_policy_engine_criteria.xml 42PFW_TOPLEVEL_FILE := $(TARGET_OUT_VENDOR_ETC)/parameter-framework/ParameterFrameworkConfigurationPolicy.xml 43PFW_SCHEMAS_DIR := $(PFW_DEFAULT_SCHEMAS_DIR) 44 45include $(BUILD_PFW_SETTINGS) 46 47endif #ifeq ($(BUILD_AUDIO_POLICY_EXAMPLE_CONFIGURATION), automotive_configurable) 48