Remove dependency on marlin sepolicy

Now that the selinux policy has been split between the system and
vendor partitions the aosp_arm64_ab build variant no longer
depends on the marlin selinux policy to work on marlin and sailfish.

Test: build and flash aosp_arm64_ab system.img on marlin and sailfish
Change-Id: I7681207284d783ffca1acccf44dbb159ea3b521c
This commit is contained in:
Diego Wilson 2017-03-22 16:53:26 -04:00
parent 7a43b1edc3
commit f4efd73e96
2 changed files with 3 additions and 2 deletions

View File

@ -47,8 +47,6 @@ TARGET_COPY_OUT_VENDOR := vendor
# Generic AOSP image does NOT support HWC1
TARGET_USES_HWC2 := true
BOARD_SEPOLICY_DIRS += build/target/board/generic/sepolicy
# TODO(jiyong): Remove these two. These are required in order to remove
# board-specific sysprops from system.img. This should be replaced with
# a more meaningful build flags such as BOARD_SYSPROP_SPLIT.

View File

@ -45,6 +45,9 @@ PRODUCT_COPY_FILES += \
PRODUCT_PACKAGE_OVERLAYS := \
device/google/marlin/overlay
#split selinux policy
PRODUCT_FULL_TREBLE_OVERRIDE := true
# Some of HAL interface libraries are automatically added by the dependencies from
# the framework. However, we list them all here to make it explicit and prevent
# possible mistake.