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

Commit fcd7e8b0 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.

Exempt-From-Owner-Approval: cp from aosp

Bug: 152655956
Test: m
Merged-In: I2fb918ae28dcc69869e7f79054f42e0d3b558676
Change-Id: I2fb918ae28dcc69869e7f79054f42e0d3b558676
(cherry picked from commit 105a9bc7)
parent 5b30e710
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -35,6 +35,7 @@ aidl_interface {
            apex_available: [
                "com.android.resolv",
            ],
            min_sdk_version: "29",
        },
    },
    versions: [
@@ -169,6 +170,7 @@ cc_library {
        cfi: true,
    },
    apex_available: ["com.android.resolv"],
    min_sdk_version: "29",
}

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

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

filegroup {