Skip to content
Snippets Groups Projects
Commit f1433e41 authored by Dan Cashman's avatar Dan Cashman Committed by android-build-merger
Browse files

Move compatibility files out of prebuilts dir.

am: 78b3d573

Change-Id: I097dadd96f4b1c73e0092ac57e4e4d126461cc8a
parents 1588132a 78b3d573
Branches
Tags
No related merge requests found
......@@ -1192,8 +1192,8 @@ $(built_26.0_plat_sepolicy): $(26.0_plat_policy.conf) $(HOST_OUT_EXECUTABLES)/ch
# targeting the 26.0 SELinux release. This ensures that our policy will build
# when used on a device that has non-platform policy targetting the 26.0 release.
26.0_compat := $(intermediates)/26.0_compat
26.0_mapping.cil := $(LOCAL_PATH)/prebuilts/api/26.0/26.0.cil
26.0_mapping.ignore.cil := $(LOCAL_PATH)/prebuilts/api/26.0/26.0.ignore.cil
26.0_mapping.cil := $(LOCAL_PATH)/private/compat/26.0/26.0.cil
26.0_mapping.ignore.cil := $(LOCAL_PATH)/private/compat/26.0/26.0.ignore.cil
26.0_nonplat := $(LOCAL_PATH)/prebuilts/api/26.0/nonplat_sepolicy.cil
$(26.0_compat): PRIVATE_CIL_FILES := \
$(built_plat_cil) $(26.0_mapping.cil) $(26.0_nonplat)
......
......
File moved
......@@ -223,7 +223,8 @@ def TestNoUnmappedNewTypes():
if len(violators) > 0:
ret += "SELinux: The following types were found added to the policy "
ret += "without an entry into the compatibility mapping file(s) found "
ret += "in prebuilts/api/" + compatMapping.apiLevel + "/\n"
ret += "in private/compat/" + compatMapping.apiLevel + "/"
ret += compatMapping.apiLevel + "[.ignore].cil/n"
ret += " ".join(str(x) for x in sorted(violators)) + "\n"
return ret
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment