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

Commit 7cd72c55 authored by Yi Kong's avatar Yi Kong
Browse files

Move pgo rules to afdo

Test: presubmit
Change-Id: If50045f942c83029ecca0a9531e328755b3a22eb
parent a98ef807
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 {