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

Commit e4c9acb7 authored by Andreas Gampe's avatar Andreas Gampe
Browse files

PropertyService: Exclude sanitization for darwin

This doesn't seem to work. All other projects restrict sanitization,
too.

Mac build not actually tested.

Test: m
Test: linux host build still contains ubsan symbols
Change-Id: I60532a46177632320ba3b15b4a7c2d5e31ef2bfc
parent db976aa5
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -4,9 +4,13 @@ cc_library_static {
    srcs: ["property_info_parser.cpp"],

    cpp_std: "experimental",
    target: {
        linux: {
            sanitize: {
                misc_undefined: ["signed-integer-overflow"],
            },
        },
    },
    cppflags: [
        "-Wall",
        "-Wextra",
+6 −2
Original line number Diff line number Diff line
@@ -2,9 +2,13 @@ cc_defaults {
    name: "propertyinfoserializer_defaults",
    host_supported: true,
    cpp_std: "experimental",
    target: {
        linux: {
            sanitize: {
                misc_undefined: ["signed-integer-overflow"],
            },
        },
    },
    cppflags: [
        "-Wall",
        "-Wextra",
+7 −3
Original line number Diff line number Diff line
@@ -2,9 +2,13 @@ cc_binary {
    name: "property_info_checker",
    host_supported: true,
    cpp_std: "experimental",
    target: {
        linux: {
            sanitize: {
                misc_undefined: ["signed-integer-overflow"],
            },
        },
    },
    static_libs: [
        "libpropertyinfoserializer",
        "libpropertyinfoparser",