sdm845-common: recovery: Convert Android.mk into .bp

Change-Id: Iac161b544e98a7b99183f8bd9b95a8bc1be8c6c0
This commit is contained in:
Bruno Martins
2025-01-11 17:45:23 +00:00
parent 24cbbe2104
commit 02c35b2ca1
2 changed files with 14 additions and 11 deletions

14
recovery/Android.bp Normal file
View File

@@ -0,0 +1,14 @@
//
// Copyright (C) 2025 The LineageOS Project
// SPDX-License-Identifier: Apache-2.0
//
cc_library_static {
name: "librecovery_updater_xiaomi",
include_dirs: [
"bootable/deprecated-ota/edify/include",
"bootable/recovery",
"bootable/recovery/otautil/include",
],
srcs: ["recovery_updater.cpp"],
}

View File

@@ -1,11 +0,0 @@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_C_INCLUDES := \
bootable/deprecated-ota/edify/include \
bootable/recovery \
bootable/recovery/otautil/include
LOCAL_SRC_FILES := recovery_updater.cpp
LOCAL_MODULE := librecovery_updater_xiaomi
include $(BUILD_STATIC_LIBRARY)