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

Commit 105a9bc7 authored by Jooyung Han's avatar Jooyung Han
Browse files

Set min_sdk_version to be part of mainline modules

Modules contributing mainline modules (APK/APEX) should set
min_sdk_version as well as apex_available.

For now setting min_sdk_version doesn't change build outputs.
But build-time checks will be added soon.

Bug: 152655956
Test: m
Change-Id: I2fb918ae28dcc69869e7f79054f42e0d3b558676
parent 44e38183
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -34,6 +34,7 @@ aidl_interface {
            apex_available: [
                "com.android.resolv",
            ],
            min_sdk_version: "29",
        },
    },
    versions: [
@@ -172,6 +173,7 @@ cc_library {
        cfi: true,
    },
    apex_available: ["com.android.resolv"],
    min_sdk_version: "29",
}

cc_library_static {
@@ -185,6 +187,7 @@ cc_library_static {
        "stats.proto",
    ],
    apex_available: ["com.android.resolv"],
    min_sdk_version: "29",
}

genrule {
@@ -217,6 +220,7 @@ cc_library_static {
        "libstatspush_compat",
    ],
    apex_available: ["com.android.resolv"],
    min_sdk_version: "29",
}

filegroup {