Revert "Move sepolicy and recovery from on-device tree and add dependency."
This reverts commit cf5c6ecb93931ca5853b9954979d785d259453ce.
Change-Id: Ie86a6ac20ab5a1611efc0e167c0430eb9df9482e
diff --git a/Android.mk b/Android.mk
index ff7420a..bd29271 100644
--- a/Android.mk
+++ b/Android.mk
@@ -338,7 +338,7 @@
LOCAL_MODULE := sepolicy
LOCAL_MODULE_CLASS := ETC
LOCAL_MODULE_TAGS := optional
-LOCAL_MODULE_PATH := $(TARGET_OUT_INTERMEDIATES)
+LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
include $(BUILD_SYSTEM)/base_rules.mk
@@ -525,7 +525,7 @@
LOCAL_MODULE := sepolicy.recovery
LOCAL_MODULE_CLASS := ETC
LOCAL_MODULE_TAGS := optional
-LOCAL_MODULE_PATH := $(TARGET_OUT_INTERMEDIATES)
+LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
include $(BUILD_SYSTEM)/base_rules.mk
@@ -548,7 +548,6 @@
fi
$(hide) mv $@.tmp $@
-built_sepolicy.recovery := $(LOCAL_BUILT_MODULE)
all_cil_files.recovery :=
##################################
@@ -917,8 +916,7 @@
LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
include $(BUILD_SYSTEM)/base_rules.mk
-$(LOCAL_BUILT_MODULE): $(built_sepolicy) $(built_sepolicy.recovery) $(built_pc) \
-$(built_fc) $(built_sc) $(built_svc)
+$(LOCAL_BUILT_MODULE): $(built_sepolicy) $(built_pc) $(built_fc) $(built_sc) $(built_svc)
@mkdir -p $(dir $@)
$(hide) echo -n $(BUILD_FINGERPRINT_FROM_FILE) > $@
@@ -934,7 +932,6 @@
built_pc :=
built_sc :=
built_sepolicy :=
-built_sepolicy.recovery :=
built_svc :=
mapping_policy_nvr :=
mapping_policy_nvr.recovery :=