Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6419c354 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Keep RECOVERY_API_VERSION and RECOVERY_FSTAB_VERSION in sync." into...

Merge "Keep RECOVERY_API_VERSION and RECOVERY_FSTAB_VERSION in sync." into main am: 169b98c4 am: 42575806

Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/3316233



Change-Id: Ib2778a4441e40a5674bea554ed4f3f20b7f899c7
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents c2afca04 42575806
Loading
Loading
Loading
Loading
+22 −10
Original line number Diff line number Diff line
@@ -49,18 +49,30 @@ license {
    ],
}

cc_defaults {
soong_config_module_type {
    name: "recovery_cc_defaults",
    module_type: "cc_defaults",
    config_namespace: "recovery",
    value_variables: ["recovery_api_version"],
    properties: [
        "cflags",
    ],
}

recovery_cc_defaults {
    name: "recovery_defaults",

    soong_config_variables: {
        recovery_api_version: {
            cflags: [
                "-D_FILE_OFFSET_BITS=64",

                // Must be the same as RECOVERY_API_VERSION.
        "-DRECOVERY_API_VERSION=3",

                "-DRECOVERY_API_VERSION=%s",
                "-Wall",
                "-Werror",
            ],
        },
    },
}

cc_library_static {
+0 −4
Original line number Diff line number Diff line
@@ -14,10 +14,6 @@

LOCAL_PATH := $(call my-dir)

# Needed by build/make/core/Makefile. Must be consistent with the value in Android.bp.
RECOVERY_API_VERSION := 3
RECOVERY_FSTAB_VERSION := 2

# TARGET_RECOVERY_UI_LIB should be one of librecovery_ui_{default,wear,vr,ethernet} or a
# device-specific module that defines make_device() and the exact RecoveryUI class for the
# target. It defaults to librecovery_ui_default, which uses ScreenRecoveryUI.