Skip to content
Snippets Groups Projects
Commit efd6d6e0 authored by Stephen Smalley's avatar Stephen Smalley
Browse files

Apply m4 to file_contexts and property_contexts to support includes.

parent 4e856333
No related branches found
No related tags found
No related merge requests found
...@@ -53,7 +53,7 @@ include $(BUILD_SYSTEM)/base_rules.mk ...@@ -53,7 +53,7 @@ include $(BUILD_SYSTEM)/base_rules.mk
file_contexts := $(intermediates)/file_contexts file_contexts := $(intermediates)/file_contexts
$(file_contexts): $(LOCAL_PATH)/file_contexts $(LOCAL_POLICY_FC) $(file_contexts): $(LOCAL_PATH)/file_contexts $(LOCAL_POLICY_FC)
@mkdir -p $(dir $@) @mkdir -p $(dir $@)
$(hide) cat $^ > $@ $(hide) m4 -s $^ > $@
file_contexts := file_contexts :=
################################## ##################################
...@@ -80,7 +80,7 @@ include $(BUILD_SYSTEM)/base_rules.mk ...@@ -80,7 +80,7 @@ include $(BUILD_SYSTEM)/base_rules.mk
property_contexts := $(intermediates)/property_contexts property_contexts := $(intermediates)/property_contexts
$(property_contexts): $(LOCAL_PATH)/property_contexts $(LOCAL_POLICY_PC) $(property_contexts): $(LOCAL_PATH)/property_contexts $(LOCAL_POLICY_PC)
@mkdir -p $(dir $@) @mkdir -p $(dir $@)
$(hide) cat $^ > $@ $(hide) m4 -s $^ > $@
property_contexts := property_contexts :=
################################## ##################################
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment