From 95cfd6904a200efae790038cd7201a07be042b8e Mon Sep 17 00:00:00 2001
From: Tri Vo <trong@google.com>
Date: Tue, 8 May 2018 18:02:14 -0700
Subject: [PATCH] Unconditionally test mapping files.

Part of an effort to remove Treble-specifics in the way be build
sepolicy.

Fixes: 64541653
Test: m selinux_policy for aosp_arm64
Change-Id: I9e42c720018674e7d3a6c47e01995401c4e748a7
---
 Android.mk | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/Android.mk b/Android.mk
index 4368e4850..6b422a9df 100644
--- a/Android.mk
+++ b/Android.mk
@@ -1573,8 +1573,6 @@ $(sepolicy_tests): $(HOST_OUT_EXECUTABLES)/sepolicy_tests $(all_fc_files) $(buil
 	$(hide) touch $@
 
 ##################################
-ifeq ($(PRODUCT_SEPOLICY_SPLIT),true)
-
 intermediates := $(call intermediates-dir-for,ETC,built_plat_sepolicy,,,,)
 
 # plat_sepolicy - the current platform policy only, built into a policy binary.
@@ -1654,8 +1652,6 @@ base_plat_policy.conf :=
 base_plat_pub_policy.conf :=
 plat_sepolicy :=
 
-endif # ($(PRODUCT_SEPOLICY_SPLIT),true)
-
 #################################
 include $(CLEAR_VARS)
 LOCAL_MODULE := sepolicy_freeze_test
-- 
GitLab