Apply m4 to file_contexts and property_contexts to support includes.

This commit is contained in:
Stephen Smalley 2012-05-18 08:24:25 -04:00
parent 4e85633384
commit efd6d6e0da

View file

@ -53,7 +53,7 @@ include $(BUILD_SYSTEM)/base_rules.mk
file_contexts := $(intermediates)/file_contexts
$(file_contexts): $(LOCAL_PATH)/file_contexts $(LOCAL_POLICY_FC)
@mkdir -p $(dir $@)
$(hide) cat $^ > $@
$(hide) m4 -s $^ > $@
file_contexts :=
##################################
@ -80,7 +80,7 @@ include $(BUILD_SYSTEM)/base_rules.mk
property_contexts := $(intermediates)/property_contexts
$(property_contexts): $(LOCAL_PATH)/property_contexts $(LOCAL_POLICY_PC)
@mkdir -p $(dir $@)
$(hide) cat $^ > $@
$(hide) m4 -s $^ > $@
property_contexts :=
##################################