diff --git a/vendor/init/Android.bp b/vendor/init/Android.bp index c518629b..97a82034 100644 --- a/vendor/init/Android.bp +++ b/vendor/init/Android.bp @@ -1,4 +1,4 @@ -// Copyright (C) 2021 Paranoid Android +// Copyright (C) 2021-2022 Paranoid Android // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -36,6 +36,13 @@ prebuilt_etc { vendor: true, } +prebuilt_etc { + name: "init.recovery.qcom.rc", + src: "init.recovery.qcom.rc", + sub_dir: "init", + recovery: true, +} + prebuilt_etc { name: "ueventd.qcom.rc", src: "ueventd.qcom.rc", diff --git a/vendor/init/Android.mk b/vendor/init/Android.mk deleted file mode 100644 index 80ec0a57..00000000 --- a/vendor/init/Android.mk +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright (C) 2020 Paranoid Android -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -ifneq (,$(filter init, $(TARGET_COMMON_QTI_COMPONENTS))) - -LOCAL_PATH := $(call my-dir) - -include $(CLEAR_VARS) -LOCAL_MODULE := init.recovery.qcom.rc -LOCAL_MODULE_CLASS := ETC -LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT) -LOCAL_SRC_FILES := $(LOCAL_MODULE) -include $(BUILD_PREBUILT) - -endif