Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 20643647 authored by Jeff Vander Stoep's avatar Jeff Vander Stoep
Browse files

embedded.mk: Make phony selinux_policy

Moves selinux policy build decisions to system/sepolicy/Android.mk.
This is done because the PRODUCT_FULL_TREBLE variable isn't available
in embedded.mk and TARGET_SANITIZE isn't available to dependencies of
init.

Test: Build/boot Bullhead PRODUCT_FULL_TREBLE=false
Test: Build/boot Marlin PRODUCT_FULL_TREBLE=true
Test: Build Marlin TARGET_SANITIZE=address. Verify asan rules are
      included in policy output.

Bug: 36138508
Change-Id: I792786cd867bae3e1baeb824167a848948a719df
parent ed44a549
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -92,7 +92,8 @@ PRODUCT_PACKAGES += \
    plat_mac_permissions.xml \
    plat_property_contexts \
    plat_seapp_contexts \
    plat_service_contexts
    plat_service_contexts \
    selinux_policy

# AID Generation for
# <pwd.h> and <grp.h>