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

Commit d57852cb authored by Risan's avatar Risan
Browse files

ARC++ swap for QuotaUtils

Bug: 110380029
Test: compile with ARC++ prototype
Change-Id: I67efa68c356f30955e499421c691acac8de20159
Merged-In: I67efa68c356f30955e499421c691acac8de20159
parent 90090213
Loading
Loading
Loading
Loading
+50 −0
Original line number Diff line number Diff line
@@ -34,6 +34,21 @@ cc_defaults {
        "libutils",
    ],

    product_variables: {
        arc: {
            exclude_srcs: [
                "QuotaUtils.cpp",
            ],
            static_libs: [
                "libarcdiskquota",
                "arc_services_aidl",
            ],
            cflags: [
                "-DUSE_ARC",
            ],
        },
    },

    clang: true,

    tidy: true,
@@ -60,6 +75,26 @@ cc_library_static {
    aidl: {
        export_aidl_headers: true,
    },

    product_variables: {
        arc: {
            exclude_srcs: [
                "QuotaUtils.cpp",
            ],
            static_libs: [
                "libarcdiskquota",
                "arc_services_aidl",
            ],
            cflags: [
                "-DUSE_ARC",
            ],
        },
    },
}

cc_library_headers {
    name: "libinstalld_headers",
    export_include_dirs: ["."],
}

//
@@ -74,6 +109,21 @@ cc_binary {
    static_libs: ["libdiskusage"],

    init_rc: ["installd.rc"],

    product_variables: {
        arc: {
            exclude_srcs: [
                "QuotaUtils.cpp",
            ],
            static_libs: [
                "libarcdiskquota",
                "arc_services_aidl",
            ],
            cflags: [
                "-DUSE_ARC",
            ],
        },
    },
}

// OTA chroot tool