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

Commit acd0208f authored by Jan Sebechlebsky's avatar Jan Sebechlebsky
Browse files

Remove -DLOG_NDEBUG=0 from Android.bp

... not to include verbose logging by default.
Also add
-DANDROID_UTILS_REF_BASE_DISABLE_IMPLICIT_CONSTRUCTION
to disable dangerous implicit sp<> construction from
raw pointer.

Bug: 301023410
Test: mm virtual_camera
Change-Id: I4fe8f2d610c31abead3a9c2a88f848838cf75369
parent 3b6ad279
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -34,11 +34,11 @@ cc_defaults {
        "virtual_camera_service_aidl-ndk",
    ],
    cflags: [
        "-DANDROID_UTILS_REF_BASE_DISABLE_IMPLICIT_CONSTRUCTION",
        "-Wall",
        "-Werror",
        "-Wformat",
        "-Wthread-safety",
        "-DLOG_NDEBUG=0"
    ],
}