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

Commit efbff675 authored by Dan Willemsen's avatar Dan Willemsen
Browse files

Convert libmedialogservice to Android.bp

See build/soong/README.md for more information about Soong.

Removes AUDIOSERVER_MULTILIB which doesn't effectively do much for this
code -- we'll only build and install the versions necessary to support
the libraries/binaries depending on this library.

Test: mmma frameworks/av/services/medialog
Change-Id: Id47b1de95d3c62f0d2dbef69b26fefd6128e7f7e
parent 32d82714
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2,5 +2,6 @@ subdirs = [
    "camera",
    "drm/*",
    "media/*",
    "services/*",
    "soundtrigger",
]
+22 −0
Original line number Diff line number Diff line
cc_library_shared {
    name: "libmedialogservice",

    srcs: [
        "IMediaLogService.cpp",
        "MediaLogService.cpp",
    ],

    shared_libs: [
        "libaudioutils",
        "libbinder",
        "liblog",
        "libnbaio",
        "libnblog",
        "libutils",
    ],

    cflags: [
        "-Werror",
        "-Wall",
    ],
}

services/medialog/Android.mk

deleted100644 → 0
+0 −17
Original line number Diff line number Diff line
LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)

LOCAL_SRC_FILES := MediaLogService.cpp IMediaLogService.cpp

LOCAL_SHARED_LIBRARIES := libbinder libutils liblog libnbaio libnblog libaudioutils

LOCAL_MULTILIB := $(AUDIOSERVER_MULTILIB)

LOCAL_MODULE:= libmedialogservice

LOCAL_C_INCLUDES := $(call include-path-for, audio-utils)

LOCAL_CFLAGS := -Werror -Wall

include $(BUILD_SHARED_LIBRARY)