Merge "Allow redeclaring typeattributes" am: dcee57b8c2
am: 7242f16830
am: a08b925aea
Change-Id: Iadeb02947c4aefd1821b8e3294ad9fd801f8b0c1
This commit is contained in:
commit
5b322d4e4e
1 changed files with 7 additions and 7 deletions
14
Android.mk
14
Android.mk
|
@ -354,7 +354,7 @@ $(LOCAL_BUILT_MODULE): $(plat_policy.conf) $(HOST_OUT_EXECUTABLES)/checkpolicy \
|
||||||
$(hide) $(CHECKPOLICY_ASAN_OPTIONS) $(HOST_OUT_EXECUTABLES)/checkpolicy -M -C -c \
|
$(hide) $(CHECKPOLICY_ASAN_OPTIONS) $(HOST_OUT_EXECUTABLES)/checkpolicy -M -C -c \
|
||||||
$(POLICYVERS) -o $@ $<
|
$(POLICYVERS) -o $@ $<
|
||||||
$(hide) cat $(PRIVATE_ADDITIONAL_CIL_FILES) >> $@
|
$(hide) cat $(PRIVATE_ADDITIONAL_CIL_FILES) >> $@
|
||||||
$(hide) $(HOST_OUT_EXECUTABLES)/secilc -M true -G -c $(POLICYVERS) $@ -o /dev/null -f /dev/null
|
$(hide) $(HOST_OUT_EXECUTABLES)/secilc -m -M true -G -c $(POLICYVERS) $@ -o /dev/null -f /dev/null
|
||||||
|
|
||||||
built_plat_cil := $(LOCAL_BUILT_MODULE)
|
built_plat_cil := $(LOCAL_BUILT_MODULE)
|
||||||
plat_policy.conf :=
|
plat_policy.conf :=
|
||||||
|
@ -467,7 +467,7 @@ $(HOST_OUT_EXECUTABLES)/version_policy $(HOST_OUT_EXECUTABLES)/secilc \
|
||||||
$(built_plat_cil) $(built_mapping_cil)
|
$(built_plat_cil) $(built_mapping_cil)
|
||||||
@mkdir -p $(dir $@)
|
@mkdir -p $(dir $@)
|
||||||
$(HOST_OUT_EXECUTABLES)/version_policy -b $< -t $(PRIVATE_TGT_POL) -n $(PRIVATE_VERS) -o $@
|
$(HOST_OUT_EXECUTABLES)/version_policy -b $< -t $(PRIVATE_TGT_POL) -n $(PRIVATE_VERS) -o $@
|
||||||
$(hide) $(HOST_OUT_EXECUTABLES)/secilc -M true -G -N -c $(POLICYVERS) \
|
$(hide) $(HOST_OUT_EXECUTABLES)/secilc -m -M true -G -N -c $(POLICYVERS) \
|
||||||
$(PRIVATE_DEP_CIL_FILES) $@ -o /dev/null -f /dev/null
|
$(PRIVATE_DEP_CIL_FILES) $@ -o /dev/null -f /dev/null
|
||||||
|
|
||||||
built_nonplat_cil := $(LOCAL_BUILT_MODULE)
|
built_nonplat_cil := $(LOCAL_BUILT_MODULE)
|
||||||
|
@ -489,7 +489,7 @@ $(LOCAL_BUILT_MODULE): PRIVATE_CIL_FILES := \
|
||||||
$(built_plat_cil) $(built_mapping_cil) $(built_nonplat_cil)
|
$(built_plat_cil) $(built_mapping_cil) $(built_nonplat_cil)
|
||||||
$(LOCAL_BUILT_MODULE): $(HOST_OUT_EXECUTABLES)/secilc \
|
$(LOCAL_BUILT_MODULE): $(HOST_OUT_EXECUTABLES)/secilc \
|
||||||
$(built_plat_cil) $(built_mapping_cil) $(built_nonplat_cil)
|
$(built_plat_cil) $(built_mapping_cil) $(built_nonplat_cil)
|
||||||
$(hide) $(HOST_OUT_EXECUTABLES)/secilc -M true -G -c $(POLICYVERS) \
|
$(hide) $(HOST_OUT_EXECUTABLES)/secilc -m -M true -G -c $(POLICYVERS) \
|
||||||
$(PRIVATE_CIL_FILES) -o $@ -f /dev/null
|
$(PRIVATE_CIL_FILES) -o $@ -f /dev/null
|
||||||
|
|
||||||
built_precompiled_sepolicy := $(LOCAL_BUILT_MODULE)
|
built_precompiled_sepolicy := $(LOCAL_BUILT_MODULE)
|
||||||
|
@ -530,7 +530,7 @@ all_cil_files := \
|
||||||
$(LOCAL_BUILT_MODULE): PRIVATE_CIL_FILES := $(all_cil_files)
|
$(LOCAL_BUILT_MODULE): PRIVATE_CIL_FILES := $(all_cil_files)
|
||||||
$(LOCAL_BUILT_MODULE): $(HOST_OUT_EXECUTABLES)/secilc $(HOST_OUT_EXECUTABLES)/sepolicy-analyze $(all_cil_files)
|
$(LOCAL_BUILT_MODULE): $(HOST_OUT_EXECUTABLES)/secilc $(HOST_OUT_EXECUTABLES)/sepolicy-analyze $(all_cil_files)
|
||||||
@mkdir -p $(dir $@)
|
@mkdir -p $(dir $@)
|
||||||
$(hide) $< -M true -G -c $(POLICYVERS) $(PRIVATE_CIL_FILES) -o $@.tmp -f /dev/null
|
$(hide) $< -m -M true -G -c $(POLICYVERS) $(PRIVATE_CIL_FILES) -o $@.tmp -f /dev/null
|
||||||
$(hide) $(HOST_OUT_EXECUTABLES)/sepolicy-analyze $@.tmp permissive > $@.permissivedomains
|
$(hide) $(HOST_OUT_EXECUTABLES)/sepolicy-analyze $@.tmp permissive > $@.permissivedomains
|
||||||
$(hide) if [ "$(TARGET_BUILD_VARIANT)" = "user" -a -s $@.permissivedomains ]; then \
|
$(hide) if [ "$(TARGET_BUILD_VARIANT)" = "user" -a -s $@.permissivedomains ]; then \
|
||||||
echo "==========" 1>&2; \
|
echo "==========" 1>&2; \
|
||||||
|
@ -1239,7 +1239,7 @@ $(built_26.0_plat_sepolicy): $(26.0_plat_policy.conf) $(HOST_OUT_EXECUTABLES)/ch
|
||||||
$(hide) $(CHECKPOLICY_ASAN_OPTIONS) $(HOST_OUT_EXECUTABLES)/checkpolicy -M -C -c \
|
$(hide) $(CHECKPOLICY_ASAN_OPTIONS) $(HOST_OUT_EXECUTABLES)/checkpolicy -M -C -c \
|
||||||
$(POLICYVERS) -o $@ $<
|
$(POLICYVERS) -o $@ $<
|
||||||
$(hide) cat $(PRIVATE_ADDITIONAL_CIL_FILES) >> $@
|
$(hide) cat $(PRIVATE_ADDITIONAL_CIL_FILES) >> $@
|
||||||
$(hide) $(HOST_OUT_EXECUTABLES)/secilc -M true -G -c $(POLICYVERS) $@ -o $@ -f /dev/null
|
$(hide) $(HOST_OUT_EXECUTABLES)/secilc -m -M true -G -c $(POLICYVERS) $@ -o $@ -f /dev/null
|
||||||
|
|
||||||
26.0_plat_policy.conf :=
|
26.0_plat_policy.conf :=
|
||||||
|
|
||||||
|
@ -1255,7 +1255,7 @@ $(26.0_compat): PRIVATE_CIL_FILES := \
|
||||||
$(built_plat_cil) $(26.0_mapping.cil) $(26.0_nonplat)
|
$(built_plat_cil) $(26.0_mapping.cil) $(26.0_nonplat)
|
||||||
$(26.0_compat): $(HOST_OUT_EXECUTABLES)/secilc \
|
$(26.0_compat): $(HOST_OUT_EXECUTABLES)/secilc \
|
||||||
$(built_plat_cil) $(26.0_mapping.cil) $(26.0_nonplat)
|
$(built_plat_cil) $(26.0_mapping.cil) $(26.0_nonplat)
|
||||||
$(hide) $(HOST_OUT_EXECUTABLES)/secilc -M true -G -N -c $(POLICYVERS) \
|
$(hide) $(HOST_OUT_EXECUTABLES)/secilc -m -M true -G -N -c $(POLICYVERS) \
|
||||||
$(PRIVATE_CIL_FILES) -o $@ -f /dev/null
|
$(PRIVATE_CIL_FILES) -o $@ -f /dev/null
|
||||||
|
|
||||||
# 26.0_mapping.combined.cil - a combination of the mapping file used when
|
# 26.0_mapping.combined.cil - a combination of the mapping file used when
|
||||||
|
@ -1294,7 +1294,7 @@ $(call build_policy, $(sepolicy_build_cil_workaround_files), $(BASE_PLAT_PRIVATE
|
||||||
$(hide) $(CHECKPOLICY_ASAN_OPTIONS) $(HOST_OUT_EXECUTABLES)/checkpolicy -M -C -c \
|
$(hide) $(CHECKPOLICY_ASAN_OPTIONS) $(HOST_OUT_EXECUTABLES)/checkpolicy -M -C -c \
|
||||||
$(POLICYVERS) -o $@ $<
|
$(POLICYVERS) -o $@ $<
|
||||||
$(hide) cat $(PRIVATE_ADDITIONAL_CIL_FILES) >> $@
|
$(hide) cat $(PRIVATE_ADDITIONAL_CIL_FILES) >> $@
|
||||||
$(hide) $(HOST_OUT_EXECUTABLES)/secilc -M true -G -c $(POLICYVERS) $@ -o $@ -f /dev/null
|
$(hide) $(HOST_OUT_EXECUTABLES)/secilc -m -M true -G -c $(POLICYVERS) $@ -o $@ -f /dev/null
|
||||||
|
|
||||||
treble_sepolicy_tests := $(intermediates)/treble_sepolicy_tests
|
treble_sepolicy_tests := $(intermediates)/treble_sepolicy_tests
|
||||||
$(treble_sepolicy_tests): PRIVATE_PLAT_FC := $(built_plat_fc)
|
$(treble_sepolicy_tests): PRIVATE_PLAT_FC := $(built_plat_fc)
|
||||||
|
|
Loading…
Reference in a new issue