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

Commit bee35cb2 authored by Jooyung Han's avatar Jooyung Han
Browse files

Set min_sdk_version (for non-mainline files)

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.

This is second part of two CLs: covers non-mainline files

Exempt-From-Owner-Approval: cherry-pick from internal branch

Bug: 152655956
Test: m
Merged-In: I55336e644990d3f175e0c011856b52ec600e452a
Change-Id: I55336e644990d3f175e0c011856b52ec600e452a
(cherry picked from commit e3cf41a2)
parent d1626984
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -30,6 +30,7 @@ cc_library {
    name: "libstagefright_bufferpool@2.0.1",
    defaults: ["libstagefright_bufferpool@2.0-default"],
    vendor_available: true,
    min_sdk_version: "29",
    cflags: [
        "-DBUFFERPOOL_CLONE_HANDLES",
    ],
+2 −0
Original line number Diff line number Diff line
cc_library_headers {
    name: "libcodec2_headers",
    vendor_available: true,
    min_sdk_version: "29",
    export_include_dirs: ["include"],
}

cc_library_shared {
    name: "libcodec2",
    vendor_available: true,
    min_sdk_version: "29",
    vndk: {
        enabled: true,
    },
+1 −0
Original line number Diff line number Diff line
@@ -49,6 +49,7 @@ cc_library {
cc_library {
    name: "libcodec2_hidl@1.0",
    vendor_available: true,
    min_sdk_version: "29",

    defaults: ["hidl_defaults"],

+1 −0
Original line number Diff line number Diff line
cc_library_shared {
    name: "libsfplugin_ccodec_utils",
    vendor_available: true,
    min_sdk_version: "29",

    srcs: [
        "Codec2BufferUtils.cpp",
+5 −0
Original line number Diff line number Diff line
@@ -7,6 +7,8 @@ cc_library_headers {

    // TODO: Remove this when this module is moved back to frameworks/av.
    vendor_available: true,

    min_sdk_version: "29",
}

// !!!DO NOT DEPEND ON THIS SHARED LIBRARY DIRECTLY!!!
@@ -14,6 +16,7 @@ cc_library_headers {
cc_library_shared {
    name: "libcodec2_vndk",
    vendor_available: true,
    min_sdk_version: "29",

    srcs: [
        "C2AllocatorIon.cpp",
@@ -87,6 +90,8 @@ cc_defaults {
        "libcodec2_vndk",
        "libutils",
    ],

    min_sdk_version: "29",
}

// public dependency for implementing Codec 2 framework utilities
Loading