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

Commit 9c018526 authored by Vishwath Mohan's avatar Vishwath Mohan
Browse files

Enable CFI for libstagefright_foundation.

Adds CFI (and diagnostics for it) to libstagefright_foundation.

Bug: 36219323
Test: ENABLE_CFI=true m -j40 # builds and device boots
parent 58c2a1c7
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -50,5 +50,9 @@ cc_library_shared {
            "unsigned-integer-overflow",
            "unsigned-integer-overflow",
            "signed-integer-overflow",
            "signed-integer-overflow",
        ],
        ],
        cfi: true,
        diag: {
          cfi: true,
        },
    },
    },
}
}