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

Commit 2848d0a8 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: Ife4144d6f79f9b5d6d3b97da7e4a57b5736ca3b0
parent f1a5da71
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -21,4 +21,6 @@ java_library {
        "androidx.annotation_annotation",
    ],
    sdk_version: "system_current",
    // this is part of updatable modules(NetworkStack) which targets 29(Q)
    min_sdk_version: "29",
}
 No newline at end of file
+2 −0
Original line number Diff line number Diff line
@@ -24,4 +24,6 @@ java_library {
        "androidx.annotation_annotation",
    ],
    sdk_version: "system_current",
    // this is part of updatable modules(NetworkStack) which targets 29(Q)
    min_sdk_version: "29",
}
+6 −0
Original line number Diff line number Diff line
@@ -28,6 +28,8 @@ aidl_interface {
            apex_available: [
                "//apex_available:platform",
            ],
            // this is part of updatable modules(NetworkStack) which targets 29(Q)
            min_sdk_version: "29",
        },
        ndk: {
            enabled: false,
@@ -89,6 +91,8 @@ aidl_interface {
                "//apex_available:platform",
                "com.android.bluetooth.updatable",
            ],
            // this is part of updatable modules(NetworkStack) which targets 29(Q)
            min_sdk_version: "29",
        },
        ndk: {
            enabled: false,
@@ -117,6 +121,8 @@ aidl_interface {
java_library {
    name: "networkstack-client",
    sdk_version: "system_current",
    // this is part of updatable modules(NetworkStack) which targets 29(Q)
    min_sdk_version: "29",
    srcs: [
        ":framework-annotations",
        "src/android/net/IpMemoryStoreClient.java",