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

Commit b5ccf1b5 authored by Ray Essick's avatar Ray Essick
Browse files

Separate mainline-used ESDS from rest of libstagefright

Move the ESDS library to its own directory, within mainline scope.
Changes to other files that referenced it through stagefright paths.

Bug: 245354160
Test: build and boot
Change-Id: Ie50784b51a5e1cf7990d376f9a509f2cd3a82df9
Merged-In: Ie50784b51a5e1cf7990d376f9a509f2cd3a82df9
parent 3f7ac78f
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -17,6 +17,14 @@ license {
    ],
}

cc_library_headers {
    name: "libstagefright_nuplayer_headers",

    export_include_dirs: [
        "include",
    ],
}

cc_library_static {

    srcs: [
@@ -81,6 +89,7 @@ cc_library_static {

    static_libs: [
        "libplayerservice_datasource",
        "libstagefright_esds",
        "libstagefright_timedtext",
    ],

+1 −1
Original line number Diff line number Diff line
@@ -60,7 +60,7 @@
#include <gui/Surface.h>


#include "ESDS.h"
#include <media/esds/ESDS.h>
#include <media/stagefright/Utils.h>

namespace android {
+4 −32
Original line number Diff line number Diff line
@@ -33,38 +33,6 @@ cc_library_headers {
    },
}

cc_library_static {
    name: "libstagefright_esds",
    apex_available: [
        "//apex_available:platform",
        "com.android.media",
    ],
    min_sdk_version: "29",

    srcs: ["ESDS.cpp"],

    cflags: [
        "-Werror",
        "-Wall",
    ],
    sanitize: {
        misc_undefined: [
            "signed-integer-overflow",
        ],
        cfi: true,
    },
    shared_libs: [
        "libstagefright_foundation",
        "libutils"
    ],
    host_supported: true,
    target: {
        darwin: {
            enabled: false,
        },
    },
}

cc_library_static {
    name: "libstagefright_metadatautils",
    apex_available: [
@@ -166,6 +134,10 @@ cc_library_static {
        "liblog",
    ],

    static_libs: [
        "libstagefright_esds",
    ],

    export_include_dirs: [
        "include",
    ],
+1 −1
Original line number Diff line number Diff line
@@ -30,7 +30,7 @@
#include <media/stagefright/MetaData.h>
#include <arpa/inet.h>

#include "include/ESDS.h"
#include <media/esds/ESDS.h>

namespace android {

+1 −1
Original line number Diff line number Diff line
@@ -51,7 +51,7 @@
#include <media/mediarecorder.h>
#include <cutils/properties.h>

#include "include/ESDS.h"
#include <media/esds/ESDS.h>
#include "include/HevcUtils.h"

#ifndef __predict_false
Loading