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

Commit 2cf94043 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: I6818cdedfca4a3c8bd503b880db9240de7be757d
parent 060a7367
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -16,6 +16,12 @@ cc_library_headers {
    name: "libbufferhub_headers",
    export_include_dirs: ["include"],
    vendor_available: true,  // TODO(b/112338314): Does shouldn't be available to vendor.
    apex_available: [
        "//apex_available:platform",
        "com.android.media",
        "com.android.media.swcodec",
    ],
    min_sdk_version: "29",
}

sourceFiles = [
+6 −0
Original line number Diff line number Diff line
@@ -17,6 +17,12 @@ cc_library_headers {
    name: "libdvr_headers",
    export_include_dirs: ["include"],
    vendor_available: true,
    apex_available: [
        "//apex_available:platform",
        "com.android.media",
        "com.android.media.swcodec",
    ],
    min_sdk_version: "29",
}

cc_library_headers {