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

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

Merge "Move pgo rules to afdo" am: 39a1fcbc am: c2ae1147 am: 9aad34fe

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

Change-Id: I46f1d51799c6a5399d93058ece8793c6dfb09d4b
parents cfee58b5 9aad34fe
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 −6
Original line number Diff line number Diff line
@@ -136,8 +136,8 @@ cc_library_static {
    ],

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

cc_library_shared {
@@ -248,10 +248,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 {