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

Commit 54042e0a authored by Jooyung Han's avatar Jooyung Han
Browse files

gui/math/gralloc: Set min_sdk_version

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: Ib7685f5f4f924ac145eb4f10ad83a6c0548b2206
parent 942c5370
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -27,6 +27,11 @@ cc_library {
        enabled: true,
        support_system_process: true,
    },
    apex_available: [
        "//apex_available:platform",
        "com.android.media.swcodec",
    ],
    min_sdk_version: "29",

    srcs: [
        "Gralloc4.cpp"
+5 −0
Original line number Diff line number Diff line
@@ -130,6 +130,11 @@ cc_library_shared {
cc_library_static {
    name: "libgui_bufferqueue_static",
    vendor_available: true,
    apex_available: [
        "//apex_available:platform",
        "com.android.media.swcodec",
    ],
    min_sdk_version: "29",

    cflags: [
        "-DNO_BUFFERHUB",
+8 −0
Original line number Diff line number Diff line
@@ -16,6 +16,14 @@ cc_library_static {
    name: "libmath",
    host_supported: true,
    vendor_available: true,
    apex_available: [
        "//apex_available:platform",
        "com.android.media",
        "com.android.media.swcodec",
        "com.android.neuralnetworks",
    ],
    min_sdk_version: "29",

    export_include_dirs: ["include"],
}