Revert "Add BUILD_BROKEN_VENDOR_SEAPP_USES_COREDOMAIN"
Revert submission 2715179-BUILD_BROKEN_VENDOR_SEAPP_USES_COREDOMAIN Reason for revert: not needed Reverted changes: /q/submissionid:2715179-BUILD_BROKEN_VENDOR_SEAPP_USES_COREDOMAIN Change-Id: I4595a648691e11b0f3860b0d1414fbc9b9c94791
This commit is contained in:
parent
d8de8757ae
commit
d7b381caca
2 changed files with 12 additions and 23 deletions
33
Android.mk
33
Android.mk
|
@ -221,6 +221,14 @@ ifeq ($(BUILD_BROKEN_TREBLE_SYSPROP_NEVERALLOW),true)
|
|||
treble_sysprop_neverallow := false
|
||||
endif
|
||||
|
||||
ifeq ($(PRODUCT_SHIPPING_API_LEVEL),)
|
||||
#$(warning no product shipping level defined)
|
||||
else ifneq ($(call math_lt,29,$(PRODUCT_SHIPPING_API_LEVEL)),)
|
||||
ifneq ($(BUILD_BROKEN_TREBLE_SYSPROP_NEVERALLOW),)
|
||||
$(error BUILD_BROKEN_TREBLE_SYSPROP_NEVERALLOW cannot be set on a device shipping with R or later, and this is tested by CTS.)
|
||||
endif
|
||||
endif
|
||||
|
||||
enforce_sysprop_owner := true
|
||||
ifeq ($(BUILD_BROKEN_ENFORCE_SYSPROP_OWNER),true)
|
||||
enforce_sysprop_owner := false
|
||||
|
@ -231,33 +239,14 @@ ifeq ($(PRODUCT_SET_DEBUGFS_RESTRICTIONS),true)
|
|||
enforce_debugfs_restriction := true
|
||||
endif
|
||||
|
||||
ifneq ($(PRODUCT_SHIPPING_API_LEVEL),)
|
||||
product_shipping_api_level := $(PRODUCT_SHIPPING_API_LEVEL)
|
||||
else
|
||||
ifeq ($(PRODUCT_SHIPPING_API_LEVEL),)
|
||||
#$(warning no product shipping level defined)
|
||||
product_shipping_api_level := 0
|
||||
endif
|
||||
|
||||
ifneq ($(BUILD_BROKEN_TREBLE_SYSPROP_NEVERALLOW),)
|
||||
ifneq ($(call math_lt,29,$(product_shipping_api_level)),)
|
||||
$(error BUILD_BROKEN_TREBLE_SYSPROP_NEVERALLOW cannot be set on a device shipping with R or later, and this is tested by CTS.)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifneq ($(BUILD_BROKEN_ENFORCE_SYSPROP_OWNER),)
|
||||
ifneq ($(call math_lt,30,$(product_shipping_api_level)),)
|
||||
else ifneq ($(call math_lt,30,$(PRODUCT_SHIPPING_API_LEVEL)),)
|
||||
ifneq ($(BUILD_BROKEN_ENFORCE_SYSPROP_OWNER),)
|
||||
$(error BUILD_BROKEN_ENFORCE_SYSPROP_OWNER cannot be set on a device shipping with S or later, and this is tested by CTS.)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifneq ($(BUILD_BROKEN_VENDOR_SEAPP_USES_COREDOMAIN),)
|
||||
ifneq ($(call math_lt,34,$(product_shipping_api_level)),)
|
||||
$(error BUILD_BROKEN_VENDOR_SEAPP_USES_COREDOMAIN cannot be set on a device shipping with V or later, and this is tested by CTS.)
|
||||
endif
|
||||
endif
|
||||
|
||||
product_shipping_api_level :=
|
||||
|
||||
# Library extension for host-side tests
|
||||
ifeq ($(HOST_OS),darwin)
|
||||
SHAREDLIB_EXT=dylib
|
||||
|
|
|
@ -440,7 +440,7 @@ func (m *selinuxContextsModule) buildSeappContexts(ctx android.ModuleContext, in
|
|||
Inputs(inputs).
|
||||
Input(neverallowFile)
|
||||
|
||||
if (ctx.SocSpecific() || ctx.DeviceSpecific()) && !ctx.DeviceConfig().BuildBrokenVendorSeappUsesCoredomain() {
|
||||
if ctx.SocSpecific() || ctx.DeviceSpecific() {
|
||||
checkCmd.Flag("-c") // check coredomain
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue