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

Commit db48ce2b authored by Shaju Mathew's avatar Shaju Mathew
Browse files

Configuration for preprocessor symbol ALLOW_DISABLE_VERITY (followup for:


f61f4149).

disable-verity fails with incorrect error message in userdebug.

Bug: b/232742280

Test: Manual.

Signed-off-by: default avatarShaju Mathew <shaju@google.com>
Change-Id: Icc00433710452e5dca8f5e8e997df2c72e23e4b4
parent adae7669
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -22,6 +22,17 @@ cc_binary {
    ],

    cflags: ["-Werror"],
    cppflags: [
        "-DALLOW_DISABLE_VERITY=0",
    ],
    product_variables: {
        debuggable: {
            cppflags: [
                "-UALLOW_DISABLE_VERITY",
                "-DALLOW_DISABLE_VERITY=1",
            ],
        },
    },
    symlinks: [
        "enable-verity",
        "disable-verity",