diff --git a/rootdir/Android.bp b/rootdir/Android.bp index 9a64310f9..06227c318 100644 --- a/rootdir/Android.bp +++ b/rootdir/Android.bp @@ -107,3 +107,9 @@ prebuilt_etc { src: "etc/hosts", filename: "hosts", } + +prebuilt_etc { + name: "init-debug.rc", + src: "init-debug.rc", + sub_dir: "init", +} diff --git a/rootdir/Android.mk b/rootdir/Android.mk index 593bb1e34..fb91b5888 100644 --- a/rootdir/Android.mk +++ b/rootdir/Android.mk @@ -2,19 +2,6 @@ LOCAL_PATH:= $(call my-dir) $(eval $(call declare-1p-copy-files,system/core/rootdir,)) -####################################### -# init-debug.rc -include $(CLEAR_VARS) - -LOCAL_MODULE := init-debug.rc -LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 -LOCAL_LICENSE_CONDITIONS := notice -LOCAL_SRC_FILES := $(LOCAL_MODULE) -LOCAL_MODULE_CLASS := ETC -LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/init - -include $(BUILD_PREBUILT) - ####################################### # asan.options ifneq ($(filter address,$(SANITIZE_TARGET)),)