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

Commit db38a2d6 authored by Jooyung Han's avatar Jooyung Han
Browse files

Add min_sdk_version:R to updatable apexes

APEXes introduced in R need to set min_sdk_version to ensure that they
are built against correct version(30 or R) of stubs (libc/liblog/...).

Bug: 152655956
Test: /vendor/google/build/build_mainline_modules.sh
Change-Id: I4a893c34b09334eea124266287301e479b9e8a59
parent 4218ce69
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -21,6 +21,7 @@ apex {
apex_defaults {
    name: "com.android.extservices-defaults",
    updatable: true,
    min_sdk_version: "R",
    key: "com.android.extservices.key",
    certificate: ":com.android.extservices.certificate",
    apps: ["ExtServices"],
+1 −0
Original line number Diff line number Diff line
@@ -21,6 +21,7 @@ apex {
apex_defaults {
    name: "com.android.permission-defaults",
    updatable: true,
    min_sdk_version: "R",
    key: "com.android.permission.key",
    certificate: ":com.android.permission.certificate",
    java_libs: [
+1 −0
Original line number Diff line number Diff line
@@ -27,6 +27,7 @@ apex {
apex_defaults {
    name: "com.android.sdkext-defaults",
    updatable: true,
    min_sdk_version: "R",
    java_libs: [ "framework-sdkextensions" ],
    prebuilts: [
        "derive_sdk.rc",
+1 −0
Original line number Diff line number Diff line
@@ -33,6 +33,7 @@ apex_defaults {
    prebuilts: ["com.android.os.statsd.init.rc"],
    name: "com.android.os.statsd-defaults",
    updatable: true,
    min_sdk_version: "R",
    key: "com.android.os.statsd.key",
    certificate: ":com.android.os.statsd.certificate",
}
+1 −0
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@
apex {
    name: "com.android.tethering",
    updatable: true,
    min_sdk_version: "R",
    java_libs: ["framework-tethering"],
    apps: ["Tethering"],
    manifest: "manifest.json",