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

Commit c2ae1147 authored by Yi Kong's avatar Yi Kong Committed by Automerger Merge Worker
Browse files

Merge "Move pgo rules to afdo" am: 39a1fcbc

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1931841

Change-Id: Ib5c60ba42541f1185738c0536bdeee494bb05bbb
parents ed2fcdd9 39a1fcbc
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -225,10 +225,7 @@ cc_library {
        "portability*",
    ],

    pgo: {
        sampling: true,
        profile_file: "libbinder/libbinder.profdata",
    },
    afdo: true,
}

cc_defaults {
+3 −7
Original line number Diff line number Diff line
@@ -78,11 +78,10 @@ cc_library_static {
    ],

    aidl: {
        export_aidl_headers: true
    }
        export_aidl_headers: true,
    },
}


cc_library_shared {
    name: "libgui",
    vendor_available: true,
@@ -192,10 +191,7 @@ cc_library_shared {
        "libpdx_headers",
    ],

    pgo: {
        sampling: true,
        profile_file: "libgui/libgui.profdata",
    },
    afdo: true,

    lto: {
        thin: true,
+1 −4
Original line number Diff line number Diff line
@@ -226,10 +226,7 @@ cc_library_shared {
    ],
    min_sdk_version: "29",

    pgo: {
        sampling: true,
        profile_file: "libui/libui.profdata",
    },
    afdo: true,
}

cc_library_headers {
+1 −4
Original line number Diff line number Diff line
@@ -79,10 +79,7 @@ cc_library_shared {
        "libpermission",
    ],

    pgo: {
        sampling: true,
        profile_file: "sensorservice/libsensorservice.profdata",
    },
    afdo: true,
}

cc_binary {